encoderf.c File Reference

#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_encode (g722_1_encode_state_t *s, uint8_t g722_1_data[], const int16_t amp[], int len)

Detailed Description


Function Documentation

int g722_1_encode ( g722_1_encode_state_t s,
uint8_t  g722_1_data[],
const int16_t  amp[],
int  len 
)

Encode a buffer of linear PCM data to G.722.1

Parameters:
s The G.722.1 encode context.
g722_1_data The G.722.1 data produced.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of bytes of G.722.1 data produced.

Generated on 29 Mar 2018 for libg722_1 by  doxygen 1.6.1