|
libg722_1
0.0.1
|
#include <inttypes.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "g722_1/g722_1.h"#include "defs.h"#include "huff_tab.h"#include "tables.h"#include "bitstream.h"#include "utilities.h"Functions | |
| int | g722_1_decode (g722_1_decode_state_t *s, int16_t amp[], const uint8_t g722_1_data[], int len) |
| int | g722_1_fillin (g722_1_decode_state_t *s, int16_t amp[], const uint8_t g722_1_data[], int len) |
| int g722_1_decode | ( | g722_1_decode_state_t * | s, |
| int16_t | amp[], | ||
| const uint8_t | g722_1_data[], | ||
| int | len | ||
| ) |
Decode a buffer of G.722.1 data to linear PCM.
| s | The G.722.1 decode context. |
| amp | The audio sample buffer. |
| g722_1_data | |
| len |
References g722_1_bitstream_init().
| int g722_1_fillin | ( | g722_1_decode_state_t * | s, |
| int16_t | amp[], | ||
| const uint8_t | g722_1_data[], | ||
| int | len | ||
| ) |
Produce linear PCM data to fill in where received G.722.1 data is missing.
| s | The G.722.1 decode context. |
| amp | The audio sample buffer. |
| g722_1_data | |
| len |
References g722_1_bitstream_init().