FFmpeg
Data Fields
DCAEncContext Struct Reference

Data Fields

AVClassclass
 
PutBitContext pb
 
DCAADPCMEncContext adpcm_ctx
 
FFTContext mdct
 
CompressionOptions options
 
int frame_size
 
int frame_bits
 
int fullband_channels
 
int channels
 
int lfe_channel
 
int samplerate_index
 
int bitrate_index
 
int channel_config
 
const int32_tband_interpolation
 
const int32_tband_spectrum
 
int lfe_scale_factor
 
softfloat lfe_quant
 
int32_t lfe_peak_cb
 
const int8_t * channel_order_tab
 channel reordering table, lfe and non lfe More...
 
int32_t prediction_mode [MAX_CHANNELS][DCAENC_SUBBANDS]
 
int32_t adpcm_history [MAX_CHANNELS][DCAENC_SUBBANDS][DCA_ADPCM_COEFFS *2]
 
int32_t history [MAX_CHANNELS][512]
 
int32_tsubband [MAX_CHANNELS][DCAENC_SUBBANDS]
 
int32_t quantized [MAX_CHANNELS][DCAENC_SUBBANDS][SUBBAND_SAMPLES]
 
int32_t peak_cb [MAX_CHANNELS][DCAENC_SUBBANDS]
 
int32_t diff_peak_cb [MAX_CHANNELS][DCAENC_SUBBANDS]
 expected peak of residual signal More...
 
int32_t downsampled_lfe [DCA_LFE_SAMPLES]
 
int32_t masking_curve_cb [SUBSUBFRAMES][256]
 
int32_t bit_allocation_sel [MAX_CHANNELS]
 
int abits [MAX_CHANNELS][DCAENC_SUBBANDS]
 
int scale_factor [MAX_CHANNELS][DCAENC_SUBBANDS]
 
softfloat quant [MAX_CHANNELS][DCAENC_SUBBANDS]
 
int32_t quant_index_sel [MAX_CHANNELS][DCA_CODE_BOOKS]
 
int32_t eff_masking_curve_cb [256]
 
int32_t band_masking_cb [32]
 
int32_t worst_quantization_noise
 
int32_t worst_noise_ever
 
int consumed_bits
 
int consumed_adpcm_bits
 Number of bits to transmit ADPCM related info. More...
 
int32_t cos_table [2048]
 
int32_t band_interpolation_tab [2][512]
 
int32_t band_spectrum_tab [2][8]
 
int32_t auf [9][AUBANDS][256]
 
int32_t cb_to_add [256]
 
int32_t cb_to_level [2048]
 
int32_t lfe_fir_64i [512]
 

Detailed Description

Definition at line 61 of file dcaenc.c.

Field Documentation

AVClass* DCAEncContext::class

Definition at line 62 of file dcaenc.c.

PutBitContext DCAEncContext::pb
DCAADPCMEncContext DCAEncContext::adpcm_ctx

Definition at line 64 of file dcaenc.c.

Referenced by adpcm_analysis(), encode_close(), and encode_init().

FFTContext DCAEncContext::mdct

Definition at line 65 of file dcaenc.c.

Referenced by calc_power(), encode_close(), and encode_init().

CompressionOptions DCAEncContext::options

Definition at line 66 of file dcaenc.c.

Referenced by encode_frame().

int DCAEncContext::frame_size

Definition at line 67 of file dcaenc.c.

Referenced by encode_frame(), encode_init(), and put_frame_header().

int DCAEncContext::frame_bits

Definition at line 68 of file dcaenc.c.

Referenced by assign_bits(), and encode_init().

int DCAEncContext::fullband_channels
int DCAEncContext::channels
int DCAEncContext::lfe_channel
int DCAEncContext::samplerate_index

Definition at line 72 of file dcaenc.c.

Referenced by adjust_jnd(), encode_init(), and put_frame_header().

int DCAEncContext::bitrate_index

Definition at line 73 of file dcaenc.c.

Referenced by encode_init(), get_step_size(), and put_frame_header().

int DCAEncContext::channel_config

Definition at line 74 of file dcaenc.c.

Referenced by encode_init(), lfe_downsample(), and put_frame_header().

const int32_t* DCAEncContext::band_interpolation

Definition at line 75 of file dcaenc.c.

Referenced by encode_init(), and subband_transform().

const int32_t* DCAEncContext::band_spectrum

Definition at line 76 of file dcaenc.c.

Referenced by encode_init(), walk_band_high(), and walk_band_low().

int DCAEncContext::lfe_scale_factor

Definition at line 77 of file dcaenc.c.

Referenced by calc_lfe_scales(), and put_subframe().

softfloat DCAEncContext::lfe_quant

Definition at line 78 of file dcaenc.c.

Referenced by calc_lfe_scales(), and put_subframe().

int32_t DCAEncContext::lfe_peak_cb

Definition at line 79 of file dcaenc.c.

Referenced by calc_lfe_scales(), and find_peaks().

const int8_t* DCAEncContext::channel_order_tab

channel reordering table, lfe and non lfe

Definition at line 80 of file dcaenc.c.

Referenced by calc_masking(), encode_init(), shift_history(), and subband_transform().

int32_t DCAEncContext::prediction_mode[MAX_CHANNELS][DCAENC_SUBBANDS]
int32_t DCAEncContext::adpcm_history[MAX_CHANNELS][DCAENC_SUBBANDS][DCA_ADPCM_COEFFS *2]

Definition at line 83 of file dcaenc.c.

Referenced by encode_init(), fill_in_adpcm_bufer(), and quantize_adpcm_subband().

int32_t DCAEncContext::history[MAX_CHANNELS][512]

Definition at line 84 of file dcaenc.c.

Referenced by calc_masking(), lfe_downsample(), shift_history(), and subband_transform().

int32_t* DCAEncContext::subband[MAX_CHANNELS][DCAENC_SUBBANDS]
int32_t DCAEncContext::quantized[MAX_CHANNELS][DCAENC_SUBBANDS][SUBBAND_SAMPLES]
int32_t DCAEncContext::peak_cb[MAX_CHANNELS][DCAENC_SUBBANDS]

Definition at line 87 of file dcaenc.c.

Referenced by find_peaks(), and init_quantization_noise().

int32_t DCAEncContext::diff_peak_cb[MAX_CHANNELS][DCAENC_SUBBANDS]

expected peak of residual signal

Definition at line 88 of file dcaenc.c.

Referenced by adpcm_analysis(), and quantize_adpcm_subband().

int32_t DCAEncContext::downsampled_lfe[DCA_LFE_SAMPLES]

Definition at line 89 of file dcaenc.c.

Referenced by find_peaks(), lfe_downsample(), and put_subframe().

int32_t DCAEncContext::masking_curve_cb[SUBSUBFRAMES][256]

Definition at line 90 of file dcaenc.c.

Referenced by calc_masking().

int32_t DCAEncContext::bit_allocation_sel[MAX_CHANNELS]
int DCAEncContext::abits[MAX_CHANNELS][DCAENC_SUBBANDS]
int DCAEncContext::scale_factor[MAX_CHANNELS][DCAENC_SUBBANDS]
softfloat DCAEncContext::quant[MAX_CHANNELS][DCAENC_SUBBANDS]

Definition at line 94 of file dcaenc.c.

Referenced by init_quantization_noise(), quantize_adpcm_subband(), and quantize_pcm().

int32_t DCAEncContext::quant_index_sel[MAX_CHANNELS][DCA_CODE_BOOKS]
int32_t DCAEncContext::eff_masking_curve_cb[256]

Definition at line 96 of file dcaenc.c.

Referenced by calc_masking(), and update_band_masking().

int32_t DCAEncContext::band_masking_cb[32]

Definition at line 97 of file dcaenc.c.

Referenced by calc_masking(), init_quantization_noise(), and update_band_masking().

int32_t DCAEncContext::worst_quantization_noise

Definition at line 98 of file dcaenc.c.

Referenced by assign_bits(), and encode_init().

int32_t DCAEncContext::worst_noise_ever

Definition at line 99 of file dcaenc.c.

Referenced by assign_bits(), and encode_init().

int DCAEncContext::consumed_bits

Definition at line 100 of file dcaenc.c.

Referenced by assign_bits(), and init_quantization_noise().

int DCAEncContext::consumed_adpcm_bits

Number of bits to transmit ADPCM related info.

Definition at line 101 of file dcaenc.c.

Referenced by adpcm_analysis(), encode_init(), and init_quantization_noise().

int32_t DCAEncContext::cos_table[2048]

Definition at line 103 of file dcaenc.c.

Referenced by encode_init().

int32_t DCAEncContext::band_interpolation_tab[2][512]

Definition at line 104 of file dcaenc.c.

Referenced by encode_init().

int32_t DCAEncContext::band_spectrum_tab[2][8]

Definition at line 105 of file dcaenc.c.

Referenced by encode_init().

int32_t DCAEncContext::auf[9][AUBANDS][256]

Definition at line 106 of file dcaenc.c.

Referenced by adjust_jnd(), and encode_init().

int32_t DCAEncContext::cb_to_add[256]

Definition at line 107 of file dcaenc.c.

Referenced by add_cb(), and encode_init().

int32_t DCAEncContext::cb_to_level[2048]

Definition at line 108 of file dcaenc.c.

Referenced by calc_one_scale(), encode_init(), get_cb(), and quantize_adpcm_subband().

int32_t DCAEncContext::lfe_fir_64i[512]

Definition at line 109 of file dcaenc.c.

Referenced by encode_init(), and lfe_downsample().


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