audio: add af_lavrresample, remove old resampling filters
[mplayer.git] / loader / dshow / DS_VideoDecoder.h
blobf1a0898868bc3a5d9ffe36468bf8ad87150c020e
1 #ifndef MPLAYER_DS_VIDEODECODER_H
2 #define MPLAYER_DS_VIDEODECODER_H
4 #include "loader/com.h"
5 #include "loader/wine/vfw.h"
7 typedef struct DS_VideoDecoder DS_VideoDecoder;
9 int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *this);
11 DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto);
13 void DS_VideoDecoder_Destroy(DS_VideoDecoder *this);
15 void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this);
17 void DS_VideoDecoder_StopInternal(DS_VideoDecoder *this);
19 int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage);
22 * bits == 0 - leave unchanged
24 //int SetDestFmt(DS_VideoDecoder * this, int bits = 24, fourcc_t csp = 0);
25 int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp);
26 int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d);
27 int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value);
28 int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char* name, int value);
29 int DS_SetAttr_DivX(char* attribute, int value);
32 #endif /* MPLAYER_DS_VIDEODECODER_H */