video analysis2.0拆分,ffmpeg封装go接口库
chenshijun
2019-12-03 1fe9a1d773270a0af5476b8b62d96419bbcee9d7
Merge branch 'master' of ssh://192.168.5.5:29418/valib/goffmpeg

# Conflicts:
# csrc/wrapper.cpp
# csrc/wrapper.hpp
# goffmpeg.go
2个文件已修改
5 ■■■■■ 已修改文件
csrc/wrapper.cpp 补丁 | 查看 | 原始文档 | blame | 历史
csrc/wrapper.hpp 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/wrapper.cpp
csrc/wrapper.hpp
@@ -84,9 +84,8 @@
        int fps_;
    };
    uint8_t* Decode(const char *file, const int gb, int *w, int *h);
    void *CreateEncoder(const int w, const int h, const int fps, const int br, const int scale_flag, const int gi);
    void *CreateEncoder(const int w, const int h, const int fps, const int br,
                        const int pix_fmt, const int scale_flag, const int gi);
    void DestroyEncoder(void *h);
    int Encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key);
    int GetGb28181Pic(const char *filename, char *retData, int *retDataLen);