1 #ifndef MPLAYER_DMO_VIDEODECODER_H
2 #define MPLAYER_DMO_VIDEODECODER_H
4 #include "loader/com.h"
5 #include "loader/wine/vfw.h"
7 typedef struct DMO_VideoDecoder DMO_VideoDecoder
;
9 int DMO_VideoDecoder_GetCapabilities(DMO_VideoDecoder
*this);
11 DMO_VideoDecoder
* DMO_VideoDecoder_Open(char* dllname
, GUID
* guid
, BITMAPINFOHEADER
* format
, int flip
, int maxauto
);
13 void DMO_VideoDecoder_Destroy(DMO_VideoDecoder
*this);
15 void DMO_VideoDecoder_StartInternal(DMO_VideoDecoder
*this);
17 void DMO_VideoDecoder_StopInternal(DMO_VideoDecoder
*this);
19 int DMO_VideoDecoder_DecodeInternal(DMO_VideoDecoder
*this, const void* src
, int size
, int is_keyframe
, char* pImage
);
22 * bits == 0 - leave unchanged
24 //int SetDestFmt(DMO_VideoDecoder * this, int bits = 24, fourcc_t csp = 0);
25 int DMO_VideoDecoder_SetDestFmt(DMO_VideoDecoder
*this, int bits
, unsigned int csp
);
26 int DMO_VideoDecoder_SetDirection(DMO_VideoDecoder
*this, int d
);
29 #endif /* MPLAYER_DMO_VIDEODECODER_H */