annotate loader/dmo/DMO_AudioDecoder.h @ 12760:787a1ce375df

multi-threaded lavc patch by (Loren Merritt <lorenm at u dot washington dot edu>)
author michael
date Tue, 06 Jul 2004 02:10:22 +0000
parents 5d5d1b3ec737
children de09fcf0b4f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8325
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
1 #ifndef AVIFILE_DMO_AUDIODECODER_H
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
2 #define AVIFILE_DMO_AUDIODECODER_H
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
3
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
4 typedef struct _DMO_AudioDecoder DMO_AudioDecoder;
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
5
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
6 //DMO_AudioDecoder * DMO_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
7 DMO_AudioDecoder * DMO_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf,int out_channels);
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
8
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
9 void DMO_AudioDecoder_Destroy(DMO_AudioDecoder *this);
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
10
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
11 int DMO_AudioDecoder_Convert(DMO_AudioDecoder *this, const void* in_data, unsigned int in_size,
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
12 void* out_data, unsigned int out_size,
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
13 unsigned int* size_read, unsigned int* size_written);
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
14
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
15 int DMO_AudioDecoder_GetSrcSize(DMO_AudioDecoder *this, int dest_size);
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
16
5d5d1b3ec737 DMO Audio support (ugly, needs cleanup)
arpi
parents:
diff changeset
17 #endif // AVIFILE_DMO_AUDIODECODER_H