Debian Codegraph @

components/decoder/mad/dllinterface.h

raw symbols SCIP
1 /* BoCA - BonkEnc Component Architecture
2 * Copyright (C) 2007-2022 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #include <smooth.h>
14 #include <mad.h>
15
16 using namespace smooth;
17 using namespace smooth::System;
18
19 extern DynamicLoader *maddll;
20
21 Bool LoadMADDLL();
22 Void FreeMADDLL();
23
24 typedef void (*MAD_DECODER_INIT) (mad_decoder *, void *, mad_flow (*)(void *, mad_stream *), mad_flow(*)(void *, mad_header const *), mad_flow(*)(void *, mad_stream const *, mad_frame *), mad_flow(*)(void *, mad_header const *, mad_pcm *), mad_flow(*)(void *, mad_stream *, mad_frame *), mad_flow(*)(void *, void *, unsigned int *));
25 typedef int (*MAD_DECODER_RUN) (mad_decoder *, mad_decoder_mode);
26 typedef int (*MAD_DECODER_FINISH) (mad_decoder *);
27 typedef void (*MAD_STREAM_BUFFER) (mad_stream *, unsigned char const *, unsigned long);
28
29 extern MAD_DECODER_INIT ex_mad_decoder_init;
30 extern MAD_DECODER_RUN ex_mad_decoder_run;
31 extern MAD_DECODER_FINISH ex_mad_decoder_finish;
32 extern MAD_STREAM_BUFFER ex_mad_stream_buffer;
33