Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
G726decode.h
1 /* G726decode.h
2  * Definitions for G.726 codec
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __CODECS_G726DECODE_H__
12 #define __CODECS_G726DECODE_H__
13 
14 void *codec_g726_16_init(void);
15 void *codec_g726_24_init(void);
16 void *codec_g726_32_init(void);
17 void *codec_g726_40_init(void);
18 void *codec_aal2_g726_16_init(void);
19 void *codec_aal2_g726_24_init(void);
20 void *codec_aal2_g726_32_init(void);
21 void *codec_aal2_g726_40_init(void);
22 void codec_g726_release(void *ctx);
23 unsigned codec_g726_get_channels(void *ctx);
24 unsigned codec_g726_get_frequency(void *ctx);
25 size_t codec_g726_decode(void *ctx, const void *input, size_t inputSizeBytes, void *output,
26  size_t *outputSizeBytes);
27 
28 #endif /* G726decode.h */
29 
30 /*
31  * Editor modelines - http://www.wireshark.org/tools/modelines.html
32  *
33  * Local variables:
34  * c-basic-offset: 4
35  * tab-width: 8
36  * indent-tabs-mode: nil
37  * End:
38  *
39  * vi: set shiftwidth=4 tabstop=8 expandtab:
40  * :indentSize=4:tabSize=8:noTabs=true:
41  */