Asterisk - The Open Source Telephony Project  21.4.1
Macros | Functions
g722_decode.c File Reference
#include <stdio.h>
#include <inttypes.h>
#include <memory.h>
#include <stdlib.h>
#include "g722.h"

Go to the source code of this file.

Macros

#define FALSE   0
 
#define TRUE   (!FALSE)
 

Functions

static void block4 (g722_decode_state_t *s, int band, int d)
 
int g722_decode (g722_decode_state_t *s, int16_t amp[], const uint8_t g722_data[], int len)
 
g722_decode_state_tg722_decode_init (g722_decode_state_t *s, int rate, int options)
 
int g722_decode_release (g722_decode_state_t *s)
 
static __inline__ int16_t saturate (int32_t amp)