annotate loader/dshow/DS_VideoDecoder.h @ 35816:f2bb2d68fe52

Be less verbose on unkown FFmpeg pixel formats.
author cehoyos
date Tue, 05 Feb 2013 16:07:37 +0000
parents 837cd9762b4e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
1 #ifndef MPLAYER_DS_VIDEODECODER_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
2 #define MPLAYER_DS_VIDEODECODER_H
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
3
30171
837cd9762b4e Add required header #includes to satisfy 'make checkheaders'.
diego
parents: 26045
diff changeset
4 #include "loader/com.h"
837cd9762b4e Add required header #includes to satisfy 'make checkheaders'.
diego
parents: 26045
diff changeset
5 #include "loader/wine/vfw.h"
837cd9762b4e Add required header #includes to satisfy 'make checkheaders'.
diego
parents: 26045
diff changeset
6
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 6335
diff changeset
7 typedef struct DS_VideoDecoder DS_VideoDecoder;
3059
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
8
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
9 int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
10
3444
0c0042de1f95 API changes - now fully compatible with C++ version
arpi
parents: 3063
diff changeset
11 DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto);
3059
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
12
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
13 void DS_VideoDecoder_Destroy(DS_VideoDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
14
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
15 void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
16
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
17 void DS_VideoDecoder_StopInternal(DS_VideoDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
18
3063
004e3199fee0 mplayer integration
arpi
parents: 3059
diff changeset
19 int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage);
3059
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
20
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
21 /*
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
22 * bits == 0 - leave unchanged
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
23 */
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
24 //int SetDestFmt(DS_VideoDecoder * this, int bits = 24, fourcc_t csp = 0);
3946
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
25 int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp);
3059
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
26 int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d);
3946
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
27 int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value);
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
28 int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char* name, int value);
6335
e9bd97d5c5cc warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents: 3946
diff changeset
29 int DS_SetAttr_DivX(char* attribute, int value);
3059
24fa494bedb1 imported from xine
arpi
parents: 1545
diff changeset
30
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
31
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
32 #endif /* MPLAYER_DS_VIDEODECODER_H */