169
|
1 /********************************************************
|
|
2
|
|
3 DirectShow Video decoder implementation
|
|
4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
|
|
5 Converted C++ --> C :) by A'rpi/ESP-team
|
|
6
|
|
7 *********************************************************/
|
|
8
|
|
9 #ifdef __cplusplus
|
|
10 extern "C" {
|
|
11 #endif /* defined(__cplusplus) */
|
|
12
|
|
13 int DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER* format, int flip,char** d_ptr);
|
|
14
|
|
15 void DS_VideoDecoder_Start();
|
|
16
|
|
17 void DS_VideoDecoder_Stop();
|
|
18
|
|
19 void DS_VideoDecoder_Restart();
|
|
20
|
|
21 void DS_VideoDecoder_Close();
|
|
22
|
|
23 int DS_VideoDecoder_DecodeFrame(char* src, int size, int is_keyframe, int render);
|
|
24
|
|
25 int DS_VideoDecoder_SetDestFmt(int bits, int csp);
|
|
26
|
|
27 int DS_SetValue_DivX(char* name, int value);
|
173
|
28 int DS_SetAttr_DivX(char* attribute, int value);
|
169
|
29
|
|
30 #ifdef __cplusplus
|
|
31 } /* extern "C" */
|
|
32 #endif /* defined(__cplusplus) */
|