Logo white

Hu Chunming / vpt_ascend_arm

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • vpt_ascend_arm
  • src
  • decoder
  • interface
  • VideoTools.h
  • 修复资源释放不完全bug
    c010793d
    Zhao Shuaihua authored
    2024-04-23 11:26:13 +0800  
    Browse Code »
VideoTools.h 376 Bytes
Edit Raw Blame History Permalink
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__