Blame view

src/decoder/interface/VideoTools.h 376 Bytes
09c2d08c   Hu Chunming   arm交付版
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__