comparison loader/dmo/DMO_VideoDecoder.h @ 8294:8e00b6a9e40b

DMO interfaces (copied/converted(c++->c) from avifile)
author arpi
date Tue, 26 Nov 2002 22:54:11 +0000
parents
children 2c8cdb9123b8
comparison
equal deleted inserted replaced
8293:f436f419e5ab 8294:8e00b6a9e40b
1 #ifndef AVIFILE_DMO_VIDEODECODER_H
2 #define AVIFILE_DMO_VIDEODECODER_H
3
4 typedef struct _DMO_VideoDecoder DMO_VideoDecoder;
5
6 int DMO_VideoDecoder_GetCapabilities(DMO_VideoDecoder *this);
7
8 DMO_VideoDecoder * DMO_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto);
9
10 void DMO_VideoDecoder_Destroy(DMO_VideoDecoder *this);
11
12 void DMO_VideoDecoder_StartInternal(DMO_VideoDecoder *this);
13
14 void DMO_VideoDecoder_StopInternal(DMO_VideoDecoder *this);
15
16 int DMO_VideoDecoder_DecodeInternal(DMO_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage);
17
18 /*
19 * bits == 0 - leave unchanged
20 */
21 //int SetDestFmt(DMO_VideoDecoder * this, int bits = 24, fourcc_t csp = 0);
22 int DMO_VideoDecoder_SetDestFmt(DMO_VideoDecoder *this, int bits, unsigned int csp);
23 int DMO_VideoDecoder_SetDirection(DMO_VideoDecoder *this, int d);
24
25
26 #endif /* AVIFILE_DMO_VIDEODECODER_H */