APEContext Struct Reference

Decoder context. More...


Data Fields

AVCodecContextavctx
DSPContext dsp
int channels
int samples
 samples left to decode in current frame
int fileversion
 codec version, very important in decoding process
int compression_level
 compression levels
int fset
 which filter set to use (calculated from compression level)
int flags
 global decoder flags
uint32_t CRC
 frame CRC
int frameflags
 frame flags
int currentframeblocks
 samples (per channel) in current frame
int blocksdecoded
 count of decoded samples in current frame
APEPredictor predictor
 predictor used for final reconstruction
int32_t decoded0 [BLOCKS_PER_LOOP]
 decoded data for the first channel
int32_t decoded1 [BLOCKS_PER_LOOP]
 decoded data for the second channel
int16_t * filterbuf [APE_FILTER_LEVELS]
 filter memory
APERangecoder rc
 rangecoder used to decode actual values
APERice riceX
 rice code parameters for the second channel
APERice riceY
 rice code parameters for the first channel
APEFilter filters [APE_FILTER_LEVELS][2]
 filters used for reconstruction
uint8_t * data
 current frame data
uint8_t * data_end
 frame data end
const uint8_t * ptr
 current position in frame data
const uint8_t * last_ptr
 position where last 4608-sample block ended
int error
uint32_t junklength
uint32_t firstframe
uint32_t totalsamples
int currentframe
APEFrameframes
char magic [4]
int16_t fileversion
int16_t padding1
uint32_t descriptorlength
uint32_t headerlength
uint32_t seektablelength
uint32_t wavheaderlength
uint32_t audiodatalength
uint32_t audiodatalength_high
uint32_t wavtaillength
uint8_t md5 [16]
uint16_t compressiontype
uint16_t formatflags
uint32_t blocksperframe
uint32_t finalframeblocks
uint32_t totalframes
uint16_t bps
uint16_t channels
uint32_t samplerate
uint32_t * seektable


Detailed Description

Decoder context.

Definition at line 128 of file apedec.c.


Field Documentation

Definition at line 70 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 71 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 129 of file apedec.c.

Referenced by ape_decode_init(), ape_unpack_mono(), and ape_unpack_stereo().

count of decoded samples in current frame

Definition at line 142 of file apedec.c.

Referenced by entropy_decode(), and init_entropy_decoder().

Definition at line 78 of file ape.c.

Referenced by ape_dumpinfo(), ape_read_header(), and ape_read_packet().

uint16_t APEContext::bps

Definition at line 81 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 82 of file ape.c.

compression levels

Definition at line 135 of file apedec.c.

Referenced by ape_decode_init().

Definition at line 76 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::CRC

frame CRC

Definition at line 139 of file apedec.c.

Referenced by init_entropy_decoder().

Definition at line 59 of file ape.c.

Referenced by ape_read_header(), ape_read_packet(), and ape_read_seek().

samples (per channel) in current frame

Definition at line 141 of file apedec.c.

Referenced by ape_decode_frame(), and entropy_decode().

uint8_t* APEContext::data

current frame data

Definition at line 155 of file apedec.c.

Referenced by ape_decode_close(), and ape_decode_frame().

frame data end

Definition at line 156 of file apedec.c.

Referenced by ape_decode_frame(), and range_dec_normalize().

int32_t APEContext::decoded0[BLOCKS_PER_LOOP]

decoded data for the first channel

Definition at line 145 of file apedec.c.

Referenced by ape_decode_frame(), ape_unpack_mono(), ape_unpack_stereo(), entropy_decode(), predictor_decode_mono(), and predictor_decode_stereo().

int32_t APEContext::decoded1[BLOCKS_PER_LOOP]

decoded data for the second channel

Definition at line 146 of file apedec.c.

Referenced by ape_decode_frame(), ape_unpack_mono(), ape_unpack_stereo(), entropy_decode(), and predictor_decode_stereo().

Definition at line 66 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 130 of file apedec.c.

Referenced by ape_decode_frame(), ape_decode_init(), and do_apply_filter().

Definition at line 160 of file apedec.c.

Referenced by ape_decode_frame(), and range_get_symbol().

Definition at line 64 of file ape.c.

codec version, very important in decoding process

Definition at line 134 of file apedec.c.

Referenced by ape_decode_init(), ape_decode_value(), ape_dumpinfo(), ape_read_header(), apply_filter(), and init_entropy_decoder().

int16_t* APEContext::filterbuf[APE_FILTER_LEVELS]

filter memory

Definition at line 148 of file apedec.c.

Referenced by ape_decode_close(), ape_decode_init(), and init_frame_decoder().

APEFilter APEContext::filters[APE_FILTER_LEVELS][2]

filters used for reconstruction

Definition at line 153 of file apedec.c.

Referenced by ape_apply_filters(), and init_frame_decoder().

Definition at line 79 of file ape.c.

Referenced by ape_dumpinfo(), ape_read_header(), and ape_read_packet().

Definition at line 57 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

global decoder flags

Definition at line 137 of file apedec.c.

Referenced by ape_decode_init().

Definition at line 77 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

frame flags

Definition at line 140 of file apedec.c.

Referenced by ape_decode_frame(), ape_unpack_mono(), ape_unpack_stereo(), entropy_decode(), and init_entropy_decoder().

Definition at line 60 of file ape.c.

Referenced by ape_dumpinfo(), ape_read_close(), ape_read_header(), and ape_read_packet().

which filter set to use (calculated from compression level)

Definition at line 136 of file apedec.c.

Referenced by ape_apply_filters(), ape_decode_init(), and init_frame_decoder().

Definition at line 67 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 56 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

const uint8_t* APEContext::last_ptr

position where last 4608-sample block ended

Definition at line 158 of file apedec.c.

Referenced by ape_decode_frame().

Definition at line 63 of file ape.c.

Referenced by ape_dumpinfo().

uint8_t APEContext::md5[16]

Definition at line 73 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 65 of file ape.c.

Referenced by ape_read_header().

predictor used for final reconstruction

Definition at line 143 of file apedec.c.

Referenced by init_predictor_decoder(), predictor_decode_mono(), and predictor_decode_stereo().

const uint8_t* APEContext::ptr

current position in frame data

Definition at line 157 of file apedec.c.

Referenced by ape_decode_frame(), init_entropy_decoder(), range_dec_normalize(), and range_start_decoding().

rangecoder used to decode actual values

Definition at line 150 of file apedec.c.

Referenced by range_dec_normalize(), range_decode_culfreq(), range_decode_culshift(), range_decode_update(), and range_start_decoding().

rice code parameters for the second channel

Definition at line 151 of file apedec.c.

Referenced by entropy_decode(), and init_entropy_decoder().

rice code parameters for the first channel

Definition at line 152 of file apedec.c.

Referenced by entropy_decode(), and init_entropy_decoder().

Definition at line 83 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

samples left to decode in current frame

Definition at line 132 of file apedec.c.

Referenced by ape_decode_frame().

Definition at line 86 of file ape.c.

Referenced by ape_dumpinfo(), ape_read_close(), and ape_read_header().

Definition at line 68 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 80 of file ape.c.

Referenced by ape_dumpinfo(), ape_read_header(), and ape_read_packet().

Definition at line 58 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 69 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

Definition at line 72 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().


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

Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8