Mercurial > mplayer.hg
annotate loader/dmo/DMO_AudioDecoder.h @ 30543:ee0b9c3bbf29
Add support for decoding 4:2:2 and 4:4:4 Theora files.
Patch by Giorgio Vazzana [mywing81 gmail com]
author | reimar |
---|---|
date | Sun, 14 Feb 2010 15:39:52 +0000 |
parents | 837cd9762b4e |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_DMO_AUDIODECODER_H |
2 #define MPLAYER_DMO_AUDIODECODER_H | |
8325 | 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/mmreg.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:
25547
diff
changeset
|
7 typedef struct DMO_AudioDecoder DMO_AudioDecoder; |
8325 | 8 |
9 //DMO_AudioDecoder * DMO_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf); | |
10 DMO_AudioDecoder * DMO_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf,int out_channels); | |
11 | |
12 void DMO_AudioDecoder_Destroy(DMO_AudioDecoder *this); | |
13 | |
14 int DMO_AudioDecoder_Convert(DMO_AudioDecoder *this, const void* in_data, unsigned int in_size, | |
15 void* out_data, unsigned int out_size, | |
16 unsigned int* size_read, unsigned int* size_written); | |
17 | |
18 int DMO_AudioDecoder_GetSrcSize(DMO_AudioDecoder *this, int dest_size); | |
19 | |
26045 | 20 #endif /* MPLAYER_DMO_AUDIODECODER_H */ |