summaryrefslogtreecommitdiffstats
path: root/loader/dshow/DS_VideoDec.h
blob: d3c9415c54ce79a636598174868c596e66e54968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/********************************************************

	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);
int DS_SetAttr_DivX(char* attribute, int value);

#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */