webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Functions
celt_decoder.c File Reference
#include "cpu_support.h"
#include "os_support.h"
#include "mdct.h"
#include <math.h>
#include "celt.h"
#include "pitch.h"
#include "bands.h"
#include "modes.h"
#include "entcode.h"
#include "quant_bands.h"
#include "rate.h"
#include "stack_alloc.h"
#include "mathops.h"
#include "float_cast.h"
#include <stdarg.h>
#include "celt_lpc.h"
#include "vq.h"

Classes

struct  OpusCustomDecoder
 Decoder state. More...
 

Macros

#define CELT_DECODER_C
 
#define DECODE_BUFFER_SIZE   2048
 
#define DECODER_RESET_START   rng
 
#define PLC_PITCH_LAG_MAX   (720)
 
#define PLC_PITCH_LAG_MIN   (100)
 

Functions

int celt_decoder_get_size (int channels)
 
OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size (const CELTMode *mode, int channels)
 
int celt_decoder_init (CELTDecoder *st, opus_int32 sampling_rate, int channels)
 
OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_init (CELTDecoder *st, const CELTMode *mode, int channels)
 
int celt_decode_with_ec (CELTDecoder *OPUS_RESTRICT st, const unsigned char *data, int len, opus_val16 *OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum)
 
int opus_custom_decoder_ctl (CELTDecoder *OPUS_RESTRICT st, int request,...)
 

Macro Definition Documentation

◆ CELT_DECODER_C

#define CELT_DECODER_C

◆ DECODE_BUFFER_SIZE

#define DECODE_BUFFER_SIZE   2048

◆ DECODER_RESET_START

#define DECODER_RESET_START   rng

◆ PLC_PITCH_LAG_MAX

#define PLC_PITCH_LAG_MAX   (720)

◆ PLC_PITCH_LAG_MIN

#define PLC_PITCH_LAG_MIN   (100)

Function Documentation

◆ celt_decode_with_ec()

int celt_decode_with_ec ( CELTDecoder *OPUS_RESTRICT  st,
const unsigned char *  data,
int  len,
opus_val16 *OPUS_RESTRICT  pcm,
int  frame_size,
ec_dec dec,
int  accum 
)

< Interleaved normalised MDCTs

◆ celt_decoder_get_size()

int celt_decoder_get_size ( int  channels)

◆ celt_decoder_init()

int celt_decoder_init ( CELTDecoder st,
opus_int32  sampling_rate,
int  channels 
)

◆ opus_custom_decoder_ctl()

int opus_custom_decoder_ctl ( CELTDecoder *OPUS_RESTRICT  st,
int  request,
  ... 
)

◆ opus_custom_decoder_get_size()

OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size ( const CELTMode mode,
int  channels 
)

◆ opus_custom_decoder_init()

OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_init ( CELTDecoder st,
const CELTMode mode,
int  channels 
)