webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
iLBC_testprogram.c File Reference
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "webrtc/modules/audio_coding/codecs/ilbc/defines.h"
#include "webrtc/modules/audio_coding/codecs/ilbc/nit_encode.h"
#include "webrtc/modules/audio_coding/codecs/ilbc/encode.h"
#include "webrtc/modules/audio_coding/codecs/ilbc/init_decode.h"
#include "webrtc/modules/audio_coding/codecs/ilbc/decode.h"
#include "webrtc/modules/audio_coding/codecs/ilbc/constants.h"
#include "webrtc/modules/audio_coding/codecs/ilbc/ilbc.h"
#include <time.h>

Macros

#define ILBCNOOFWORDS_MAX   (NO_OF_BYTES_30MS)/2
 
#define MAXFRAMES   10000
 
#define MAXFILELEN   (BLOCKL_MAX*MAXFRAMES)
 

Functions

short encode (IlbcEncoder *iLBCenc_inst, int16_t *encoded_data, int16_t *data)
 
short decode (IlbcDecoder *iLBCdec_inst, short *decoded_data, short *encoded_data, short mode)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ ILBCNOOFWORDS_MAX

#define ILBCNOOFWORDS_MAX   (NO_OF_BYTES_30MS)/2

◆ MAXFILELEN

#define MAXFILELEN   (BLOCKL_MAX*MAXFRAMES)

◆ MAXFRAMES

#define MAXFRAMES   10000

Function Documentation

◆ decode()

short decode ( IlbcDecoder iLBCdec_inst,
short *  decoded_data,
short *  encoded_data,
short  mode 
)

◆ encode()

short encode ( IlbcEncoder iLBCenc_inst,
int16_t encoded_data,
int16_t data 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)