summaryrefslogtreecommitdiffstats
path: root/loader/dshow/DS_VideoDec.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/dshow/DS_VideoDec.h')
-rw-r--r--loader/dshow/DS_VideoDec.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/loader/dshow/DS_VideoDec.h b/loader/dshow/DS_VideoDec.h
index d3c9415c54..8a94c01cd3 100644
--- a/loader/dshow/DS_VideoDec.h
+++ b/loader/dshow/DS_VideoDec.h
@@ -10,21 +10,19 @@
extern "C" {
#endif /* defined(__cplusplus) */
-int DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER* format, int flip,char** d_ptr);
+void* DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER* format, int flip, int maxauto);
-void DS_VideoDecoder_Start();
+void DS_VideoDecoder_StartInternal(void* _handle);
-void DS_VideoDecoder_Stop();
+void DS_VideoDecoder_Stop(void* _handle);
-void DS_VideoDecoder_Restart();
+void DS_VideoDecoder_Destroy(void* _handle);
-void DS_VideoDecoder_Close();
+int DS_VideoDecoder_DecodeInternal(void* _handle, char* src, int size, int is_keyframe, char* dest);
-int DS_VideoDecoder_DecodeFrame(char* src, int size, int is_keyframe, int render);
+int DS_VideoDecoder_SetDestFmt(void* _handle, int bits, int csp);
-int DS_VideoDecoder_SetDestFmt(int bits, int csp);
-
-int DS_SetValue_DivX(char* name, int value);
+int DS_VideoDecoder_SetValue(void* _handle, char* name, int value);
int DS_SetAttr_DivX(char* attribute, int value);
#ifdef __cplusplus