DCAContext Struct Reference


Public Member Functions

 DECLARE_ALIGNED_16 (float, samples[1536])
 DECLARE_ALIGNED_16 (int16_t, tsamples[1536])

Data Fields

AVCodecContextavctx
int frame_type
 type of the current frame
int samples_deficit
 deficit sample count
int crc_present
 crc is present in the bitstream
int sample_blocks
 number of PCM sample blocks
int frame_size
 primary frame byte size
int amode
 audio channels arrangement
int sample_rate
 audio sampling rate
int bit_rate
 transmission bit rate
int downmix
 embedded downmix enabled
int dynrange
 embedded dynamic range flag
int timestamp
 embedded time stamp flag
int aux_data
 auxiliary data flag
int hdcd
 source material is mastered in HDCD
int ext_descr
 extension audio descriptor flag
int ext_coding
 extended coding flag
int aspf
 audio sync word insertion flag
int lfe
 low frequency effects flag
int predictor_history
 predictor history flag
int header_crc
 header crc check bytes
int multirate_inter
 multirate interpolator switch
int version
 encoder software revision
int copy_history
 copy history
int source_pcm_res
 source pcm resolution
int front_sum
 front sum/difference flag
int surround_sum
 surround sum/difference flag
int dialog_norm
 dialog normalisation parameter
int subframes
 number of subframes
int prim_channels
 number of primary audio channels
int subband_activity [DCA_PRIM_CHANNELS_MAX]
 subband activity count
int vq_start_subband [DCA_PRIM_CHANNELS_MAX]
 high frequency vq start subband
int joint_intensity [DCA_PRIM_CHANNELS_MAX]
 joint intensity coding index
int transient_huffman [DCA_PRIM_CHANNELS_MAX]
 transient mode code book
int scalefactor_huffman [DCA_PRIM_CHANNELS_MAX]
 scale factor code book
int bitalloc_huffman [DCA_PRIM_CHANNELS_MAX]
 bit allocation quantizer select
int quant_index_huffman [DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]
 quantization index codebook select
float scalefactor_adj [DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]
 scale factor adjustment
int subsubframes
 number of subsubframes
int partial_samples
 partial subsubframe samples count
int prediction_mode [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 prediction mode (ADPCM used or not)
int prediction_vq [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 prediction VQ coefs
int bitalloc [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 bit allocation index
int transition_mode [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 transition mode (transients)
int scale_factor [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][2]
 scale factors (2 if transient)
int joint_huff [DCA_PRIM_CHANNELS_MAX]
 joint subband scale factors codebook
int joint_scale_factor [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 joint subband scale factors
int downmix_coef [DCA_PRIM_CHANNELS_MAX][2]
 stereo downmix coefficients
int dynrange_coef
 dynamic range coefficient
int high_freq_vq [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 VQ encoded high frequency subbands.
float lfe_data [2 *DCA_SUBSUBFAMES_MAX *DCA_LFE_MAX *2]
 Low frequency effect data.
int lfe_scale_factor
float subband_samples_hist [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]
float subband_fir_hist [DCA_PRIM_CHANNELS_MAX][512]
float subband_fir_noidea [DCA_PRIM_CHANNELS_MAX][64]
int output
 type of output
int bias
 output bias
uint8_t dca_buffer [DCA_MAX_FRAME_SIZE]
int dca_buffer_size
 how much data is in the dca_buffer
GetBitContext gb
int current_subframe
int current_subsubframe
int debug_flag
 used for suppressing repeated error messages output
DSPContext dsp

Detailed Description

Definition at line 95 of file dca.c.


Member Function Documentation

DCAContext::DECLARE_ALIGNED_16 ( float  ,
samples  [1536] 
)

DCAContext::DECLARE_ALIGNED_16 ( int16_t  ,
tsamples  [1536] 
)


Field Documentation

type of the current frame

Definition at line 98 of file dca.c.

Referenced by dca_parse_frame_header().

deficit sample count

Definition at line 99 of file dca.c.

Referenced by dca_parse_frame_header().

crc is present in the bitstream

Definition at line 100 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().

number of PCM sample blocks

Definition at line 101 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

primary frame byte size

Definition at line 102 of file dca.c.

Referenced by dca_parse_frame_header().

audio channels arrangement

Definition at line 103 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().

audio sampling rate

Definition at line 104 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

transmission bit rate

Definition at line 105 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), and dca_subsubframe().

embedded downmix enabled

Definition at line 107 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().

embedded dynamic range flag

Definition at line 108 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().

embedded time stamp flag

Definition at line 109 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

auxiliary data flag

Definition at line 110 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

source material is mastered in HDCD

Definition at line 111 of file dca.c.

Referenced by dca_parse_frame_header().

extension audio descriptor flag

Definition at line 112 of file dca.c.

Referenced by dca_parse_frame_header().

extended coding flag

Definition at line 113 of file dca.c.

Referenced by dca_parse_frame_header().

audio sync word insertion flag

Definition at line 114 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

low frequency effects flag

Definition at line 115 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().

predictor history flag

Definition at line 116 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

header crc check bytes

Definition at line 117 of file dca.c.

Referenced by dca_parse_frame_header().

multirate interpolator switch

Definition at line 118 of file dca.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

encoder software revision

Definition at line 119 of file dca.c.

Referenced by dca_parse_frame_header().

copy history

Definition at line 120 of file dca.c.

Referenced by dca_parse_frame_header().

source pcm resolution

Definition at line 121 of file dca.c.

Referenced by dca_parse_frame_header().

front sum/difference flag

Definition at line 122 of file dca.c.

Referenced by dca_parse_frame_header().

surround sum/difference flag

Definition at line 123 of file dca.c.

Referenced by dca_parse_frame_header().

dialog normalisation parameter

Definition at line 124 of file dca.c.

Referenced by dca_parse_frame_header().

number of subframes

Definition at line 127 of file dca.c.

Referenced by dca_decode_block(), and dca_parse_frame_header().

number of primary audio channels

Definition at line 128 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().

int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX]

subband activity count

Definition at line 129 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_header(), and qmf_32_subbands().

int DCAContext::vq_start_subband[DCA_PRIM_CHANNELS_MAX]

high frequency vq start subband

Definition at line 130 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().

int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX]

joint intensity coding index

Definition at line 131 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

int DCAContext::transient_huffman[DCA_PRIM_CHANNELS_MAX]

transient mode code book

Definition at line 132 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

int DCAContext::scalefactor_huffman[DCA_PRIM_CHANNELS_MAX]

scale factor code book

Definition at line 133 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

int DCAContext::bitalloc_huffman[DCA_PRIM_CHANNELS_MAX]

bit allocation quantizer select

Definition at line 134 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

int DCAContext::quant_index_huffman[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

quantization index codebook select

Definition at line 135 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

float DCAContext::scalefactor_adj[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

scale factor adjustment

Definition at line 136 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

number of subsubframes

Definition at line 139 of file dca.c.

Referenced by dca_decode_block(), dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().

partial subsubframe samples count

Definition at line 140 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::prediction_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction mode (ADPCM used or not)

Definition at line 141 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::prediction_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction VQ coefs

Definition at line 142 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::bitalloc[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

bit allocation index

Definition at line 143 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::transition_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

transition mode (transients)

Definition at line 144 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::scale_factor[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][2]

scale factors (2 if transient)

Definition at line 145 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::joint_huff[DCA_PRIM_CHANNELS_MAX]

joint subband scale factors codebook

Definition at line 146 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::joint_scale_factor[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

joint subband scale factors

Definition at line 147 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::downmix_coef[DCA_PRIM_CHANNELS_MAX][2]

stereo downmix coefficients

Definition at line 148 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

dynamic range coefficient

Definition at line 149 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::high_freq_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

VQ encoded high frequency subbands.

Definition at line 151 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

float DCAContext::lfe_data[2 *DCA_SUBSUBFAMES_MAX *DCA_LFE_MAX *2]

Low frequency effect data.

Definition at line 154 of file dca.c.

Referenced by dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().

Definition at line 155 of file dca.c.

Referenced by dca_subframe_header().

float DCAContext::subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]

Definition at line 158 of file dca.c.

Referenced by dca_subsubframe().

float DCAContext::subband_fir_hist[DCA_PRIM_CHANNELS_MAX][512]

Definition at line 159 of file dca.c.

Referenced by qmf_32_subbands().

float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][64]

Definition at line 160 of file dca.c.

Referenced by qmf_32_subbands().

type of output

Definition at line 162 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), and dca_subsubframe().

output bias

Definition at line 163 of file dca.c.

Referenced by dca_parse_frame_header().

uint8_t DCAContext::dca_buffer[DCA_MAX_FRAME_SIZE]

Definition at line 168 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

how much data is in the dca_buffer

Definition at line 169 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 173 of file dca.c.

Referenced by dca_decode_block(), and dca_parse_frame_header().

Definition at line 174 of file dca.c.

Referenced by dca_decode_block(), dca_parse_frame_header(), and dca_subsubframe().

used for suppressing repeated error messages output

Definition at line 176 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

Definition at line 177 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().


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

Generated on Fri Apr 23 15:12:06 2010 for ffmpeg by  doxygen 1.5.6