video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-09-28 a4cfd08f442fbf6febf06c98bbbed1723aaf5fd4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _cffmpeg_common_hpp_
#define _cffmpeg_common_hpp_
 
#include <stdint.h>
#include <memory>
 
namespace ffwrapper{
    class CodedData;
}
// 缓存的视频帧
typedef struct _cache_pkt{
    std::shared_ptr<ffwrapper::CodedData> data;
    int64_t id;
}CPacket;
 
#endif