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
  • arm交付版
    09c2d08c
    Hu Chunming authored
    2023-08-10 16:02:26 +0800  
    Browse Code »
VideoTools.h 376 Bytes
Edit Raw Blame History
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__