1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#ifndef __VIDEO_TOOLS_H__ #define __VIDEO_TOOLS_H__ #include <string> using namespace std; struct FFImgInfo{ string dec_name; int width; int height; unsigned char * pData; long timestamp; long index; }; namespace VideoTools { FFImgInfo* snapshot(const string& uri); void releaseFFImgInfo(FFImgInfo* info); } #endif // __VIDEO_TOOLS_H__