2
|
1 /* g726_rfc3551.c
|
|
2 *
|
|
3 * Copyright (C) DFS Deutsche Flugsicherung (2004, 2005).
|
|
4 * All Rights Reserved.
|
|
5 * Author: Andre Adrian
|
|
6 */
|
|
7
|
|
8
|
|
9 void g726_initEncode(G726_state *encoder_state);
|
|
10
|
|
11 short g726_encode( /* (o) Number of bytes encoded */
|
|
12 G726_state *state, /* (i/o) Encoder instance */
|
|
13 unsigned char *encoded_data, /* (o) The encoded bytes */
|
|
14 short *inp_buf /* (i) The signal block to encode */
|
|
15 );
|
|
16
|
|
17 void g726_initDecode(G726_state *decoder_state);
|
|
18
|
|
19 short g726_decode( /* (o) Number of decoded samples */
|
|
20 G726_state *state, /* (i/o) Decoder instance */
|
|
21 short *decoded_data, /* (o) Decoded signal block */
|
|
22 unsigned char *encoded_data, /* (i) Encoded bytes */
|
|
23 short mode /* (i) 0=PL, 1=Normal */
|
|
24 );
|
|
25
|