comparison intercom/g726/g726_rfc3551.h @ 2:13be24d74cd2

import intercom-0.4.1
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 09:57:52 +0200
parents
children
comparison
equal deleted inserted replaced
1:9cadc470e3da 2:13be24d74cd2
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

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.