1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-23 08:03:19 +00:00
mpv/loader/dshow/DS_VideoDec.h
arpi_esp d48476cd19 Added C-C++ interface in DS_VideoDec.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@170 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-20 01:59:42 +00:00

32 lines
810 B
C

/********************************************************
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) */