AC3DecodeContext Struct Reference

List of all members.


Detailed Description

Definition at line 131 of file ac3dec.c.


Public Member Functions

 DECLARE_ALIGNED_16 (float, transform_coeffs[AC3_MAX_CHANNELS][256])
 transform coefficients
 DECLARE_ALIGNED_16 (float, output[AC3_MAX_CHANNELS-1][256])
 output after imdct transform and windowing
 DECLARE_ALIGNED_16 (short, int_output[AC3_MAX_CHANNELS-1][256])
 final 16-bit integer output
 DECLARE_ALIGNED_16 (float, delay[AC3_MAX_CHANNELS-1][256])
 delay - added to the next block
 DECLARE_ALIGNED_16 (float, tmp_imdct[256])
 temporary storage for imdct transform
 DECLARE_ALIGNED_16 (float, tmp_output[512])
 temporary storage for output before windowing
 DECLARE_ALIGNED_16 (float, window[256])
 window coefficients

Public Attributes

int acmod
 audio coding mode
int dsurmod
 dolby surround mode
int blksw [AC3_MAX_CHANNELS]
 block switch flags
int dithflag [AC3_MAX_CHANNELS]
 dither flags
int dither_all
 true if all channels are dithered
int cplinu
 coupling in use
int chincpl [AC3_MAX_CHANNELS]
 channel in coupling
int phsflginu
 phase flags in use
int cplbndstrc [18]
 coupling band structure
int rematstr
 rematrixing strategy
int nrematbnd
 number of rematrixing bands
int rematflg [4]
 rematrixing flags
int expstr [AC3_MAX_CHANNELS]
 exponent strategies
int snroffst [AC3_MAX_CHANNELS]
 signal-to-noise ratio offsets
int fgain [AC3_MAX_CHANNELS]
 fast gain values (signal-to-mask ratio)
int deltbae [AC3_MAX_CHANNELS]
 delta bit allocation exists
int deltnseg [AC3_MAX_CHANNELS]
 number of delta segments
uint8_t deltoffst [AC3_MAX_CHANNELS][8]
 delta segment offsets
uint8_t deltlen [AC3_MAX_CHANNELS][8]
 delta segment lengths
uint8_t deltba [AC3_MAX_CHANNELS][8]
 delta values for each segment
int sampling_rate
 sample frequency, in Hz
int bit_rate
 stream bit rate, in bits-per-second
int frame_size
 current frame size, in bytes
int nchans
 number of total channels
int nfchans
 number of full-bandwidth channels
int lfeon
 lfe channel in use
int lfe_ch
 index of LFE channel
int output_mode
 output channel configuration
int out_channels
 number of output channels
float downmix_coeffs [AC3_MAX_CHANNELS][2]
 stereo downmix coefficients
float dialnorm [2]
 dialogue normalization
float dynrng [2]
 dynamic range
float cplco [AC3_MAX_CHANNELS][18]
 coupling coordinates
int ncplbnd
 number of coupling bands
int ncplsubnd
 number of coupling sub bands
int startmant [AC3_MAX_CHANNELS]
 start frequency bin
int endmant [AC3_MAX_CHANNELS]
 end frequency bin
AC3BitAllocParameters bit_alloc_params
 bit allocation parameters
int8_t dexps [AC3_MAX_CHANNELS][256]
 decoded exponents
uint8_t bap [AC3_MAX_CHANNELS][256]
 bit allocation pointers
int16_t psd [AC3_MAX_CHANNELS][256]
 scaled exponents
int16_t bndpsd [AC3_MAX_CHANNELS][50]
 interpolated exponents
int16_t mask [AC3_MAX_CHANNELS][50]
 masking curve values
MDCTContext imdct_512
 for 512 sample IMDCT
MDCTContext imdct_256
 for 256 sample IMDCT
DSPContext dsp
 for optimization
float add_bias
 offset for float_to_int16 conversion
float mul_bias
 scaling for float_to_int16 conversion
GetBitContext gb
 bitstream reader
AVRandomState dith_state
 for dither generation
AVCodecContextavctx
 parent context

Member Function Documentation

AC3DecodeContext::DECLARE_ALIGNED_16 ( float  ,
transform_coeffs  [AC3_MAX_CHANNELS][256] 
)

transform coefficients

AC3DecodeContext::DECLARE_ALIGNED_16 ( float  ,
output  [AC3_MAX_CHANNELS-1][256] 
)

output after imdct transform and windowing

AC3DecodeContext::DECLARE_ALIGNED_16 ( short  ,
int_output  [AC3_MAX_CHANNELS-1][256] 
)

final 16-bit integer output

AC3DecodeContext::DECLARE_ALIGNED_16 ( float  ,
delay  [AC3_MAX_CHANNELS-1][256] 
)

delay - added to the next block

AC3DecodeContext::DECLARE_ALIGNED_16 ( float  ,
tmp_imdct  [256] 
)

temporary storage for imdct transform

AC3DecodeContext::DECLARE_ALIGNED_16 ( float  ,
tmp_output  [512] 
)

temporary storage for output before windowing

AC3DecodeContext::DECLARE_ALIGNED_16 ( float  ,
window  [256] 
)

window coefficients


Member Data Documentation

audio coding mode

Definition at line 132 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and ac3_parse_header().

dolby surround mode

Definition at line 133 of file ac3dec.c.

Referenced by ac3_parse_header().

int AC3DecodeContext::blksw[AC3_MAX_CHANNELS]

block switch flags

Definition at line 134 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and do_imdct().

int AC3DecodeContext::dithflag[AC3_MAX_CHANNELS]

dither flags

Definition at line 135 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and remove_dithering().

true if all channels are dithered

Definition at line 136 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and get_transform_coeffs().

coupling in use

Definition at line 137 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int AC3DecodeContext::chincpl[AC3_MAX_CHANNELS]

channel in coupling

Definition at line 138 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), get_transform_coeffs(), remove_dithering(), and uncouple_channels().

phase flags in use

Definition at line 139 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

coupling band structure

Definition at line 140 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and uncouple_channels().

rematrixing strategy

Definition at line 141 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

number of rematrixing bands

Definition at line 142 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and do_rematrixing().

rematrixing flags

Definition at line 143 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and do_rematrixing().

int AC3DecodeContext::expstr[AC3_MAX_CHANNELS]

exponent strategies

Definition at line 144 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int AC3DecodeContext::snroffst[AC3_MAX_CHANNELS]

signal-to-noise ratio offsets

Definition at line 145 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int AC3DecodeContext::fgain[AC3_MAX_CHANNELS]

fast gain values (signal-to-mask ratio)

Definition at line 146 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int AC3DecodeContext::deltbae[AC3_MAX_CHANNELS]

delta bit allocation exists

Definition at line 147 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int AC3DecodeContext::deltnseg[AC3_MAX_CHANNELS]

number of delta segments

Definition at line 148 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

uint8_t AC3DecodeContext::deltoffst[AC3_MAX_CHANNELS][8]

delta segment offsets

Definition at line 149 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

uint8_t AC3DecodeContext::deltlen[AC3_MAX_CHANNELS][8]

delta segment lengths

Definition at line 150 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

uint8_t AC3DecodeContext::deltba[AC3_MAX_CHANNELS][8]

delta values for each segment

Definition at line 151 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

sample frequency, in Hz

Definition at line 153 of file ac3dec.c.

Referenced by ac3_decode_frame(), and ac3_parse_header().

stream bit rate, in bits-per-second

Definition at line 154 of file ac3dec.c.

Referenced by ac3_decode_frame(), and ac3_parse_header().

current frame size, in bytes

Definition at line 155 of file ac3dec.c.

Referenced by ac3_decode_frame(), and ac3_parse_header().

number of total channels

Definition at line 157 of file ac3dec.c.

Referenced by ac3_decode_frame(), ac3_parse_audio_block(), ac3_parse_header(), and get_transform_coeffs().

number of full-bandwidth channels

Definition at line 158 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), ac3_parse_header(), do_imdct(), remove_dithering(), and uncouple_channels().

lfe channel in use

Definition at line 159 of file ac3dec.c.

Referenced by ac3_parse_header().

index of LFE channel

Definition at line 160 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and ac3_parse_header().

output channel configuration

Definition at line 161 of file ac3dec.c.

Referenced by ac3_decode_frame(), ac3_parse_audio_block(), ac3_parse_header(), and do_imdct().

number of output channels

Definition at line 162 of file ac3dec.c.

Referenced by ac3_decode_frame(), ac3_parse_audio_block(), and ac3_parse_header().

float AC3DecodeContext::downmix_coeffs[AC3_MAX_CHANNELS][2]

stereo downmix coefficients

Definition at line 164 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and ac3_parse_header().

dialogue normalization

Definition at line 165 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and ac3_parse_header().

dynamic range

Definition at line 166 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

float AC3DecodeContext::cplco[AC3_MAX_CHANNELS][18]

coupling coordinates

Definition at line 167 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and uncouple_channels().

number of coupling bands

Definition at line 168 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and uncouple_channels().

number of coupling sub bands

Definition at line 169 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int AC3DecodeContext::startmant[AC3_MAX_CHANNELS]

start frequency bin

Definition at line 170 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), get_transform_coeffs_ch(), remove_dithering(), and uncouple_channels().

int AC3DecodeContext::endmant[AC3_MAX_CHANNELS]

end frequency bin

Definition at line 171 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), do_rematrixing(), get_transform_coeffs(), get_transform_coeffs_ch(), and remove_dithering().

bit allocation parameters

Definition at line 172 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and ac3_parse_header().

int8_t AC3DecodeContext::dexps[AC3_MAX_CHANNELS][256]

decoded exponents

Definition at line 174 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), and get_transform_coeffs_ch().

uint8_t AC3DecodeContext::bap[AC3_MAX_CHANNELS][256]

bit allocation pointers

Definition at line 175 of file ac3dec.c.

Referenced by ac3_parse_audio_block(), get_transform_coeffs_ch(), and remove_dithering().

int16_t AC3DecodeContext::psd[AC3_MAX_CHANNELS][256]

scaled exponents

Definition at line 176 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int16_t AC3DecodeContext::bndpsd[AC3_MAX_CHANNELS][50]

interpolated exponents

Definition at line 177 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

int16_t AC3DecodeContext::mask[AC3_MAX_CHANNELS][50]

masking curve values

Definition at line 178 of file ac3dec.c.

Referenced by ac3_parse_audio_block().

for 512 sample IMDCT

Definition at line 183 of file ac3dec.c.

Referenced by ac3_decode_end(), ac3_decode_init(), and do_imdct().

for 256 sample IMDCT

Definition at line 184 of file ac3dec.c.

Referenced by ac3_decode_end(), ac3_decode_init(), and do_imdct_256().

for optimization

Definition at line 185 of file ac3dec.c.

Referenced by ac3_decode_init(), ac3_parse_audio_block(), and do_imdct().

offset for float_to_int16 conversion

Definition at line 186 of file ac3dec.c.

Referenced by ac3_decode_init(), and ac3_parse_audio_block().

scaling for float_to_int16 conversion

Definition at line 187 of file ac3dec.c.

Referenced by ac3_decode_init(), and ac3_parse_audio_block().

bitstream reader

Definition at line 197 of file ac3dec.c.

Referenced by ac3_decode_frame(), ac3_parse_audio_block(), ac3_parse_header(), and get_transform_coeffs_ch().

for dither generation

Definition at line 198 of file ac3dec.c.

Referenced by ac3_decode_init(), and get_transform_coeffs_ch().

parent context

Definition at line 199 of file ac3dec.c.

Referenced by ac3_decode_init(), ac3_parse_audio_block(), and get_transform_coeffs().


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

Generated on Sat Sep 4 05:15:58 2010 for MythTV by  doxygen 1.5.5