/* g726_rfc3551.c
 *
 * Copyright (C) DFS Deutsche Flugsicherung (2004, 2005). 
 * All Rights Reserved.
 * Author: Andre Adrian
 */


void g726_initEncode(G726_state *encoder_state);

short g726_encode(              /* (o) Number of bytes encoded */
  G726_state *state,            /* (i/o) Encoder instance */
  unsigned char *encoded_data,  /* (o) The encoded bytes */
  short *inp_buf                /* (i) The signal block to encode */
  );
  
void g726_initDecode(G726_state *decoder_state);

short g726_decode(              /* (o) Number of decoded samples */
  G726_state *state,            /* (i/o) Decoder instance */
  short *decoded_data,          /* (o) Decoded signal block */
  unsigned char *encoded_data,  /* (i) Encoded bytes */
  short mode                    /* (i) 0=PL, 1=Normal */
  );

