diff options
Diffstat (limited to 'loader/dshow/DS_VideoDec.h')
-rw-r--r-- | loader/dshow/DS_VideoDec.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/loader/dshow/DS_VideoDec.h b/loader/dshow/DS_VideoDec.h new file mode 100644 index 0000000000..c46d34155a --- /dev/null +++ b/loader/dshow/DS_VideoDec.h @@ -0,0 +1,31 @@ +/******************************************************** + + DirectShow Video decoder implementation + Copyright 2000 Eugene Kuznetsov (divx@euro.ru) + Converted C++ --> C :) by A'rpi/ESP-team + +*********************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif /* defined(__cplusplus) */ + +int DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER* format, int flip,char** d_ptr); + +void DS_VideoDecoder_Start(); + +void DS_VideoDecoder_Stop(); + +void DS_VideoDecoder_Restart(); + +void DS_VideoDecoder_Close(); + +int DS_VideoDecoder_DecodeFrame(char* src, int size, int is_keyframe, int render); + +int DS_VideoDecoder_SetDestFmt(int bits, int csp); + +int DS_SetValue_DivX(char* name, int value); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* defined(__cplusplus) */ |