FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
DCAEncContext Struct Reference

Data Fields

PutBitContext pb
 
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 history [MAX_CHANNELS][512]
 
int32_t subband [MAX_CHANNELS][DCAENC_SUBBANDS][SUBBAND_SAMPLES]
 
int32_t quantized [MAX_CHANNELS][DCAENC_SUBBANDS][SUBBAND_SAMPLES]
 
int32_t peak_cb [MAX_CHANNELS][DCAENC_SUBBANDS]
 
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
 

Detailed Description

Definition at line 47 of file dcaenc.c.

Field Documentation

PutBitContext DCAEncContext::pb
int DCAEncContext::frame_size

Definition at line 49 of file dcaenc.c.

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

int DCAEncContext::frame_bits

Definition at line 50 of file dcaenc.c.

Referenced by assign_bits(), and encode_init().

int DCAEncContext::fullband_channels
int DCAEncContext::channels

Definition at line 52 of file dcaenc.c.

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

int DCAEncContext::lfe_channel
int DCAEncContext::samplerate_index

Definition at line 54 of file dcaenc.c.

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

int DCAEncContext::bitrate_index

Definition at line 55 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

int DCAEncContext::channel_config

Definition at line 56 of file dcaenc.c.

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

const int32_t* DCAEncContext::band_interpolation

Definition at line 57 of file dcaenc.c.

Referenced by encode_init(), and subband_transform().

const int32_t* DCAEncContext::band_spectrum

Definition at line 58 of file dcaenc.c.

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

int DCAEncContext::lfe_scale_factor

Definition at line 59 of file dcaenc.c.

Referenced by calc_lfe_scales(), and put_subframe().

softfloat DCAEncContext::lfe_quant

Definition at line 60 of file dcaenc.c.

Referenced by calc_lfe_scales(), and put_subframe().

int32_t DCAEncContext::lfe_peak_cb

Definition at line 61 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 62 of file dcaenc.c.

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

int32_t DCAEncContext::history[MAX_CHANNELS][512]

Definition at line 64 of file dcaenc.c.

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

Definition at line 65 of file dcaenc.c.

Referenced by find_peaks(), quantize_all(), and subband_transform().

int32_t DCAEncContext::quantized[MAX_CHANNELS][DCAENC_SUBBANDS][SUBBAND_SAMPLES]

Definition at line 66 of file dcaenc.c.

Referenced by init_quantization_noise(), put_subframe_samples(), and quantize_all().

int32_t DCAEncContext::peak_cb[MAX_CHANNELS][DCAENC_SUBBANDS]

Definition at line 67 of file dcaenc.c.

Referenced by find_peaks(), and init_quantization_noise().

int32_t DCAEncContext::downsampled_lfe[DCA_LFE_SAMPLES]

Definition at line 68 of file dcaenc.c.

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

int32_t DCAEncContext::masking_curve_cb[SUBSUBFRAMES][256]

Definition at line 69 of file dcaenc.c.

Referenced by calc_masking().

int32_t DCAEncContext::bit_allocation_sel[MAX_CHANNELS]
int DCAEncContext::abits[MAX_CHANNELS][DCAENC_SUBBANDS]

Definition at line 71 of file dcaenc.c.

Referenced by init_quantization_noise(), put_subframe(), and put_subframe_samples().

int DCAEncContext::scale_factor[MAX_CHANNELS][DCAENC_SUBBANDS]

Definition at line 72 of file dcaenc.c.

Referenced by init_quantization_noise(), and put_subframe().

softfloat DCAEncContext::quant[MAX_CHANNELS][DCAENC_SUBBANDS]

Definition at line 73 of file dcaenc.c.

Referenced by init_quantization_noise(), and quantize_all().

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

Definition at line 75 of file dcaenc.c.

Referenced by calc_masking(), and update_band_masking().

int32_t DCAEncContext::band_masking_cb[32]

Definition at line 76 of file dcaenc.c.

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

int32_t DCAEncContext::worst_quantization_noise

Definition at line 77 of file dcaenc.c.

Referenced by assign_bits(), and encode_init().

int32_t DCAEncContext::worst_noise_ever

Definition at line 78 of file dcaenc.c.

Referenced by assign_bits(), and encode_init().

int DCAEncContext::consumed_bits

Definition at line 79 of file dcaenc.c.

Referenced by assign_bits(), and init_quantization_noise().


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