Mercurial > mplayer.hg
annotate loader/dmo/DMO_VideoDecoder.h @ 26704:41f8ba327cf5
Add license headers to av_opts
author | reimar |
---|---|
date | Sun, 11 May 2008 12:47:52 +0000 |
parents | a8ea87c71d18 |
children | 837cd9762b4e |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_DMO_VIDEODECODER_H |
2 #define MPLAYER_DMO_VIDEODECODER_H | |
8294 | 3 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
8294
diff
changeset
|
4 typedef struct DMO_VideoDecoder DMO_VideoDecoder; |
8294 | 5 |
6 int DMO_VideoDecoder_GetCapabilities(DMO_VideoDecoder *this); | |
7 | |
8 DMO_VideoDecoder * DMO_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto); | |
9 | |
10 void DMO_VideoDecoder_Destroy(DMO_VideoDecoder *this); | |
11 | |
12 void DMO_VideoDecoder_StartInternal(DMO_VideoDecoder *this); | |
13 | |
14 void DMO_VideoDecoder_StopInternal(DMO_VideoDecoder *this); | |
15 | |
16 int DMO_VideoDecoder_DecodeInternal(DMO_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage); | |
17 | |
18 /* | |
19 * bits == 0 - leave unchanged | |
20 */ | |
21 //int SetDestFmt(DMO_VideoDecoder * this, int bits = 24, fourcc_t csp = 0); | |
22 int DMO_VideoDecoder_SetDestFmt(DMO_VideoDecoder *this, int bits, unsigned int csp); | |
23 int DMO_VideoDecoder_SetDirection(DMO_VideoDecoder *this, int d); | |
24 | |
25 | |
26045 | 26 #endif /* MPLAYER_DMO_VIDEODECODER_H */ |