FFmpeg
Data Fields
DCALbrDecoder Struct Reference

#include <dca_lbr.h>

Data Fields

AVCodecContextavctx
 
GetBitContext gb
 
int sample_rate
 Sample rate of LBR audio. More...
 
int ch_mask
 LBR speaker mask. More...
 
int flags
 Flags for LBR decoder initialization. More...
 
int bit_rate_orig
 Original bit rate. More...
 
int bit_rate_scaled
 Scaled bit rate. More...
 
int nchannels
 Number of fullband channels to decode. More...
 
int nchannels_total
 Total number of fullband channels. More...
 
int freq_range
 Frequency range of LBR audio. More...
 
int band_limit
 Band limit factor. More...
 
int limited_rate
 Band limited sample rate. More...
 
int limited_range
 Band limited frequency range. More...
 
int res_profile
 Resolution profile. More...
 
int nsubbands
 Number of encoded subbands. More...
 
int g3_avg_only_start_sb
 Subband index where grid 3 scale factors end. More...
 
int min_mono_subband
 Subband index where mono encoding starts. More...
 
int max_mono_subband
 Subband index where mono encoding ends. More...
 
int framenum
 Lower 5 bits of current frame number. More...
 
int lbr_rand
 Seed for subband randomization. More...
 
int warned
 Flags for warning suppression. More...
 
uint8_t quant_levels [DCA_LBR_CHANNELS/2][DCA_LBR_SUBBANDS]
 Quantization levels. More...
 
uint8_t sb_indices [DCA_LBR_SUBBANDS]
 Subband reordering indices. More...
 
uint8_t sec_ch_sbms [DCA_LBR_CHANNELS/2][DCA_LBR_SUBBANDS]
 Right channel inversion or mid/side decoding flags. More...
 
uint8_t sec_ch_lrms [DCA_LBR_CHANNELS/2][DCA_LBR_SUBBANDS]
 Flags indicating if left/right channel are swapped. More...
 
uint32_t ch_pres [DCA_LBR_CHANNELS]
 Subband allocation flags. More...
 
uint8_t grid_1_scf [DCA_LBR_CHANNELS][12][8]
 Grid 1 scale factors. More...
 
uint8_t grid_2_scf [DCA_LBR_CHANNELS][3][64]
 Grid 2 scale factors. More...
 
int8_t grid_3_avg [DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS - 4]
 Grid 3 average values. More...
 
int8_t grid_3_scf [DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS - 4][8]
 Grid 3 scale factors. More...
 
uint32_t grid_3_pres [DCA_LBR_CHANNELS]
 Grid 3 scale factors presence flags. More...
 
uint8_t high_res_scf [DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS][8]
 High-frequency resolution scale factors. More...
 
uint8_t part_stereo [DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS/4][5]
 Partial stereo coefficients. More...
 
uint8_t part_stereo_pres
 Partial stereo coefficients presence flags. More...
 
float lpc_coeff [2][DCA_LBR_CHANNELS][3][2][8]
 Predictor coefficients. More...
 
float sb_scf [DCA_LBR_SUBBANDS]
 Subband randomization scale factors. More...
 
float * time_samples [DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS]
 Time samples. More...
 
float * ts_buffer
 Time sample buffer base. More...
 
unsigned int ts_size
 Time sample buffer size. More...
 
float history [DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS *4]
 IMDCT history. More...
 
float window [DCA_LBR_SUBBANDS *4]
 Long window for IMDCT. More...
 
float lfe_data [64]
 Decimated LFE samples. More...
 
float lfe_history [5][2]
 LFE IIR filter history. More...
 
float lfe_scale
 Scale factor of LFE samples before IIR filter. More...
 
uint8_t tonal_scf [6]
 Tonal scale factors. More...
 
uint16_t tonal_bounds [5][32][2]
 Per-group per-subframe start/end positions of tones. More...
 
DCALbrTone tones [DCA_LBR_TONES]
 Circular buffer of tones. More...
 
int ntones
 Circular buffer head position. More...
 
FFTContext imdct
 
AVFloatDSPContextfdsp
 
DCADSPContextdcadsp
 

Detailed Description

Definition at line 58 of file dca_lbr.h.

Field Documentation

◆ avctx

AVCodecContext* DCALbrDecoder::avctx

Definition at line 59 of file dca_lbr.h.

◆ gb

GetBitContext DCALbrDecoder::gb

Definition at line 60 of file dca_lbr.h.

◆ sample_rate

int DCALbrDecoder::sample_rate

Sample rate of LBR audio.

Definition at line 62 of file dca_lbr.h.

◆ ch_mask

int DCALbrDecoder::ch_mask

LBR speaker mask.

Definition at line 63 of file dca_lbr.h.

◆ flags

int DCALbrDecoder::flags

Flags for LBR decoder initialization.

Definition at line 64 of file dca_lbr.h.

◆ bit_rate_orig

int DCALbrDecoder::bit_rate_orig

Original bit rate.

Definition at line 65 of file dca_lbr.h.

◆ bit_rate_scaled

int DCALbrDecoder::bit_rate_scaled

Scaled bit rate.

Definition at line 66 of file dca_lbr.h.

◆ nchannels

int DCALbrDecoder::nchannels

Number of fullband channels to decode.

Definition at line 68 of file dca_lbr.h.

◆ nchannels_total

int DCALbrDecoder::nchannels_total

Total number of fullband channels.

Definition at line 69 of file dca_lbr.h.

◆ freq_range

int DCALbrDecoder::freq_range

Frequency range of LBR audio.

Definition at line 70 of file dca_lbr.h.

◆ band_limit

int DCALbrDecoder::band_limit

Band limit factor.

Definition at line 71 of file dca_lbr.h.

◆ limited_rate

int DCALbrDecoder::limited_rate

Band limited sample rate.

Definition at line 72 of file dca_lbr.h.

◆ limited_range

int DCALbrDecoder::limited_range

Band limited frequency range.

Definition at line 73 of file dca_lbr.h.

◆ res_profile

int DCALbrDecoder::res_profile

Resolution profile.

Definition at line 74 of file dca_lbr.h.

◆ nsubbands

int DCALbrDecoder::nsubbands

Number of encoded subbands.

Definition at line 75 of file dca_lbr.h.

◆ g3_avg_only_start_sb

int DCALbrDecoder::g3_avg_only_start_sb

Subband index where grid 3 scale factors end.

Definition at line 76 of file dca_lbr.h.

◆ min_mono_subband

int DCALbrDecoder::min_mono_subband

Subband index where mono encoding starts.

Definition at line 77 of file dca_lbr.h.

◆ max_mono_subband

int DCALbrDecoder::max_mono_subband

Subband index where mono encoding ends.

Definition at line 78 of file dca_lbr.h.

◆ framenum

int DCALbrDecoder::framenum

Lower 5 bits of current frame number.

Definition at line 80 of file dca_lbr.h.

◆ lbr_rand

int DCALbrDecoder::lbr_rand

Seed for subband randomization.

Definition at line 81 of file dca_lbr.h.

◆ warned

int DCALbrDecoder::warned

Flags for warning suppression.

Definition at line 82 of file dca_lbr.h.

◆ quant_levels

uint8_t DCALbrDecoder::quant_levels[DCA_LBR_CHANNELS/2][DCA_LBR_SUBBANDS]

Quantization levels.

Definition at line 84 of file dca_lbr.h.

◆ sb_indices

uint8_t DCALbrDecoder::sb_indices[DCA_LBR_SUBBANDS]

Subband reordering indices.

Definition at line 85 of file dca_lbr.h.

◆ sec_ch_sbms

uint8_t DCALbrDecoder::sec_ch_sbms[DCA_LBR_CHANNELS/2][DCA_LBR_SUBBANDS]

Right channel inversion or mid/side decoding flags.

Definition at line 87 of file dca_lbr.h.

◆ sec_ch_lrms

uint8_t DCALbrDecoder::sec_ch_lrms[DCA_LBR_CHANNELS/2][DCA_LBR_SUBBANDS]

Flags indicating if left/right channel are swapped.

Definition at line 88 of file dca_lbr.h.

◆ ch_pres

uint32_t DCALbrDecoder::ch_pres[DCA_LBR_CHANNELS]

Subband allocation flags.

Definition at line 89 of file dca_lbr.h.

◆ grid_1_scf

uint8_t DCALbrDecoder::grid_1_scf[DCA_LBR_CHANNELS][12][8]

Grid 1 scale factors.

Definition at line 91 of file dca_lbr.h.

◆ grid_2_scf

uint8_t DCALbrDecoder::grid_2_scf[DCA_LBR_CHANNELS][3][64]

Grid 2 scale factors.

Definition at line 92 of file dca_lbr.h.

◆ grid_3_avg

int8_t DCALbrDecoder::grid_3_avg[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS - 4]

Grid 3 average values.

Definition at line 94 of file dca_lbr.h.

◆ grid_3_scf

int8_t DCALbrDecoder::grid_3_scf[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS - 4][8]

Grid 3 scale factors.

Definition at line 95 of file dca_lbr.h.

◆ grid_3_pres

uint32_t DCALbrDecoder::grid_3_pres[DCA_LBR_CHANNELS]

Grid 3 scale factors presence flags.

Definition at line 96 of file dca_lbr.h.

◆ high_res_scf

uint8_t DCALbrDecoder::high_res_scf[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS][8]

High-frequency resolution scale factors.

Definition at line 98 of file dca_lbr.h.

◆ part_stereo

uint8_t DCALbrDecoder::part_stereo[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS/4][5]

Partial stereo coefficients.

Definition at line 100 of file dca_lbr.h.

◆ part_stereo_pres

uint8_t DCALbrDecoder::part_stereo_pres

Partial stereo coefficients presence flags.

Definition at line 101 of file dca_lbr.h.

◆ lpc_coeff

float DCALbrDecoder::lpc_coeff[2][DCA_LBR_CHANNELS][3][2][8]

Predictor coefficients.

Definition at line 103 of file dca_lbr.h.

◆ sb_scf

float DCALbrDecoder::sb_scf[DCA_LBR_SUBBANDS]

Subband randomization scale factors.

Definition at line 105 of file dca_lbr.h.

◆ time_samples

float* DCALbrDecoder::time_samples[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS]

Time samples.

Definition at line 107 of file dca_lbr.h.

◆ ts_buffer

float* DCALbrDecoder::ts_buffer

Time sample buffer base.

Definition at line 109 of file dca_lbr.h.

◆ ts_size

unsigned int DCALbrDecoder::ts_size

Time sample buffer size.

Definition at line 110 of file dca_lbr.h.

◆ history

float DCALbrDecoder::history[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS *4]

IMDCT history.

Definition at line 112 of file dca_lbr.h.

◆ window

float DCALbrDecoder::window[DCA_LBR_SUBBANDS *4]

Long window for IMDCT.

Definition at line 113 of file dca_lbr.h.

◆ lfe_data

float DCALbrDecoder::lfe_data[64]

Decimated LFE samples.

Definition at line 115 of file dca_lbr.h.

◆ lfe_history

float DCALbrDecoder::lfe_history[5][2]

LFE IIR filter history.

Definition at line 116 of file dca_lbr.h.

◆ lfe_scale

float DCALbrDecoder::lfe_scale

Scale factor of LFE samples before IIR filter.

Definition at line 117 of file dca_lbr.h.

◆ tonal_scf

uint8_t DCALbrDecoder::tonal_scf[6]

Tonal scale factors.

Definition at line 119 of file dca_lbr.h.

◆ tonal_bounds

uint16_t DCALbrDecoder::tonal_bounds[5][32][2]

Per-group per-subframe start/end positions of tones.

Definition at line 120 of file dca_lbr.h.

◆ tones

DCALbrTone DCALbrDecoder::tones[DCA_LBR_TONES]

Circular buffer of tones.

Definition at line 121 of file dca_lbr.h.

◆ ntones

int DCALbrDecoder::ntones

Circular buffer head position.

Definition at line 122 of file dca_lbr.h.

◆ imdct

FFTContext DCALbrDecoder::imdct

Definition at line 124 of file dca_lbr.h.

◆ fdsp

AVFloatDSPContext* DCALbrDecoder::fdsp

Definition at line 125 of file dca_lbr.h.

◆ dcadsp

DCADSPContext* DCALbrDecoder::dcadsp

Definition at line 126 of file dca_lbr.h.


The documentation for this struct was generated from the following file: