Debian Codegraph @

components/encoder/bonk/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
15 #include <bonk/bonk.h>
16
17 using namespace smooth;
18 using namespace smooth::System;
19
20 extern DynamicLoader *bonkdll;
21
22 Bool LoadBonkDLL();
23 Void FreeBonkDLL();
24
25 typedef void * (BONKCONV *BONKENCODERCREATE) ();
26 typedef bool (BONKCONV *BONKENCODERINIT) (void *, unsigned int, unsigned int, int, bool, bool, int, int, int, double);
27 typedef int (BONKCONV *BONKENCODERENCODEPACKET) (void *, signed short *, int, unsigned char *, int);
28 typedef int (BONKCONV *BONKENCODERFINISH) (void *, unsigned char *, int);
29 typedef bool (BONKCONV *BONKENCODERCLOSE) (void *);
30 typedef int (BONKCONV *BONKENCODERGETSAMPLECOUNT) (void *);
31 typedef int (BONKCONV *BONKENCODERGETSAMPLECOUNTOFFSET) (void *);
32 typedef bool (BONKCONV *BONKENCODERSETID3DATA) (void *, unsigned char *, int);
33 typedef const char * (BONKCONV *BONKGETVERSIONSTRING) ();
34
35 extern BONKENCODERCREATE ex_bonk_encoder_create;
36 extern BONKENCODERINIT ex_bonk_encoder_init;
37 extern BONKENCODERENCODEPACKET ex_bonk_encoder_encode_packet;
38 extern BONKENCODERFINISH ex_bonk_encoder_finish;
39 extern BONKENCODERCLOSE ex_bonk_encoder_close;
40 extern BONKENCODERGETSAMPLECOUNT ex_bonk_encoder_get_sample_count;
41 extern BONKENCODERGETSAMPLECOUNTOFFSET ex_bonk_encoder_get_sample_count_offset;
42 extern BONKENCODERSETID3DATA ex_bonk_encoder_set_id3_data;
43 extern BONKGETVERSIONSTRING ex_bonk_get_version_string;