|
libilbc
0.0.1
|
#include <inttypes.h>#include <math.h>#include <stdlib.h>#include <string.h>#include "ilbc.h"#include "LPCencode.h"#include "FrameClassify.h"#include "StateSearchW.h"#include "StateConstructW.h"#include "helpfun.h"#include "constants.h"#include "packing.h"#include "iCBSearch.h"#include "iCBConstruct.h"#include "hpInput.h"#include "anaFilter.h"#include "syntFilter.h"Functions | |
| ilbc_encode_state_t * | ilbc_encode_init (ilbc_encode_state_t *s, int mode) |
| int | ilbc_encode_release (ilbc_encode_state_t *s) |
| int | ilbc_encode (ilbc_encode_state_t *s, uint8_t bytes[], const int16_t amp[], int len) |
| int ilbc_encode | ( | ilbc_encode_state_t * | s, |
| uint8_t | bytes[], | ||
| const int16_t | amp[], | ||
| int | len | ||
| ) |
Encode a buffer of linear PCM data to iLBC
| s | The iLBC encode context. |
| bytes | The iLBC data produced. |
| amp | The audio sample buffer. |
| len | The number of samples in the buffer. |
| ilbc_encode_state_t* ilbc_encode_init | ( | ilbc_encode_state_t * | s, |
| int | mode | ||
| ) |
Initialise an iLBC encode context.
| s | The iLBC encode context. |
| mode | The frame size. |