VideoTools.h
376 Bytes
#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__