video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-10-09 68a19a73681301c6712e10d55bc64324716dbd24
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