FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
opus_celt.c File Reference

Opus CELT decoder. More...

#include "opus_celt.h"
#include "opustab.h"
#include "opus_pvq.h"

Go to the source code of this file.

Functions

static void celt_decode_coarse_energy (CeltFrame *f, OpusRangeCoder *rc)
 
static void celt_decode_fine_energy (CeltFrame *f, OpusRangeCoder *rc)
 
static void celt_decode_final_energy (CeltFrame *f, OpusRangeCoder *rc)
 
static void celt_decode_tf_changes (CeltFrame *f, OpusRangeCoder *rc)
 
static void celt_decode_allocation (CeltFrame *f, OpusRangeCoder *rc)
 
static void celt_denormalize (CeltFrame *f, CeltBlock *block, float *data)
 
static void celt_postfilter_apply_transition (CeltBlock *block, float *data)
 
static void celt_postfilter_apply (CeltBlock *block, float *data, int len)
 
static void celt_postfilter (CeltFrame *f, CeltBlock *block)
 
static int parse_postfilter (CeltFrame *f, OpusRangeCoder *rc, int consumed)
 
static void process_anticollapse (CeltFrame *f, CeltBlock *block, float *X)
 
static void celt_decode_bands (CeltFrame *f, OpusRangeCoder *rc)
 
int ff_celt_decode_frame (CeltFrame *f, OpusRangeCoder *rc, float **output, int channels, int frame_size, int start_band, int end_band)
 
void ff_celt_flush (CeltFrame *f)
 
void ff_celt_free (CeltFrame **f)
 
int ff_celt_init (AVCodecContext *avctx, CeltFrame **f, int output_channels)
 

Detailed Description

Opus CELT decoder.

Definition in file opus_celt.c.

Function Documentation

static void celt_decode_coarse_energy ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 32 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_decode_fine_energy ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 82 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_decode_final_energy ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 101 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_decode_tf_changes ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 123 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_decode_allocation ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 150 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_denormalize ( CeltFrame f,
CeltBlock block,
float *  data 
)
static

Definition at line 482 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_postfilter_apply_transition ( CeltBlock block,
float *  data 
)
static

Definition at line 495 of file opus_celt.c.

Referenced by celt_postfilter().

static void celt_postfilter_apply ( CeltBlock block,
float *  data,
int  len 
)
static

Definition at line 540 of file opus_celt.c.

Referenced by celt_postfilter().

static void celt_postfilter ( CeltFrame f,
CeltBlock block 
)
static

Definition at line 571 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static int parse_postfilter ( CeltFrame f,
OpusRangeCoder rc,
int  consumed 
)
static

Definition at line 595 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void process_anticollapse ( CeltFrame f,
CeltBlock block,
float *  X 
)
static

Definition at line 635 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

static void celt_decode_bands ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 687 of file opus_celt.c.

Referenced by ff_celt_decode_frame().

int ff_celt_decode_frame ( CeltFrame f,
OpusRangeCoder rc,
float **  output,
int  channels,
int  frame_size,
int  start_band,
int  end_band 
)

Definition at line 783 of file opus_celt.c.

Referenced by opus_decode_frame(), and opus_decode_redundancy().

void ff_celt_flush ( CeltFrame f)

Definition at line 953 of file opus_celt.c.

Referenced by ff_celt_init(), opus_decode_flush(), and opus_decode_frame().

void ff_celt_free ( CeltFrame **  f)

Definition at line 980 of file opus_celt.c.

Referenced by ff_celt_init(), and opus_decode_close().

int ff_celt_init ( AVCodecContext avctx,
CeltFrame **  f,
int  output_channels 
)

Definition at line 995 of file opus_celt.c.

Referenced by opus_decode_init().