FFmpeg
Functions
opusdec_celt.c File Reference
#include <float.h>
#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_denormalize (CeltFrame *f, CeltBlock *block, float *data)
 
static void celt_postfilter_apply_transition (CeltBlock *block, float *data)
 
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)
 
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, int apply_phase_inv)
 

Detailed Description

Opus CELT decoder

Definition in file opusdec_celt.c.

Function Documentation

◆ celt_decode_coarse_energy()

static void celt_decode_coarse_energy ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 36 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ celt_decode_fine_energy()

static void celt_decode_fine_energy ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 80 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ celt_decode_final_energy()

static void celt_decode_final_energy ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 99 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ celt_decode_tf_changes()

static void celt_decode_tf_changes ( CeltFrame f,
OpusRangeCoder rc 
)
static

Definition at line 121 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ celt_denormalize()

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

Definition at line 148 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ celt_postfilter_apply_transition()

static void celt_postfilter_apply_transition ( CeltBlock block,
float data 
)
static

Definition at line 162 of file opusdec_celt.c.

Referenced by celt_postfilter().

◆ celt_postfilter()

static void celt_postfilter ( CeltFrame f,
CeltBlock block 
)
static

Definition at line 207 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ parse_postfilter()

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

Definition at line 235 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ process_anticollapse()

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

Definition at line 270 of file opusdec_celt.c.

Referenced by ff_celt_decode_frame().

◆ 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 322 of file opusdec_celt.c.

Referenced by opus_decode_frame(), and opus_decode_redundancy().

◆ ff_celt_flush()

void ff_celt_flush ( CeltFrame f)

Definition at line 494 of file opusdec_celt.c.

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

◆ ff_celt_free()

void ff_celt_free ( CeltFrame **  f)

Definition at line 525 of file opusdec_celt.c.

Referenced by ff_celt_init(), and opus_decode_close().

◆ ff_celt_init()

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

Definition at line 542 of file opusdec_celt.c.

Referenced by opus_decode_init().