FFmpeg
Data Fields
APEContext Struct Reference

Decoder context. More...

Data Fields

AVClassclass
 class for AVOptions More...
 
AVCodecContextavctx
 
BswapDSPContext bdsp
 
LLAudDSPContext adsp
 
int channels
 
int samples
 samples left to decode in current frame More...
 
int bps
 
int fileversion
 codec version, very important in decoding process More...
 
int compression_level
 compression levels More...
 
int fset
 which filter set to use (calculated from compression level) More...
 
int flags
 global decoder flags More...
 
uint32_t CRC
 signalled frame CRC More...
 
uint32_t CRC_state
 accumulated CRC More...
 
int frameflags
 frame flags More...
 
APEPredictor predictor
 predictor used for final reconstruction More...
 
APEPredictor64 predictor64
 64bit predictor used for final reconstruction More...
 
int32_tdecoded_buffer
 
int decoded_size
 
int32_tdecoded [MAX_CHANNELS]
 decoded data for each channel More...
 
int blocks_per_loop
 maximum number of samples to decode for each call More...
 
int16_t * filterbuf [APE_FILTER_LEVELS]
 filter memory More...
 
APERangecoder rc
 rangecoder used to decode actual values More...
 
APERice riceX
 rice code parameters for the second channel More...
 
APERice riceY
 rice code parameters for the first channel More...
 
APEFilter filters [APE_FILTER_LEVELS][2]
 filters used for reconstruction More...
 
GetBitContext gb
 
uint8_tdata
 current frame data More...
 
uint8_tdata_end
 frame data end More...
 
int data_size
 frame data allocated size More...
 
const uint8_tptr
 current position in frame data More...
 
int error
 
void(* entropy_decode_mono )(struct APEContext *ctx, int blockstodecode)
 
void(* entropy_decode_stereo )(struct APEContext *ctx, int blockstodecode)
 
void(* predictor_decode_mono )(struct APEContext *ctx, int count)
 
void(* predictor_decode_stereo )(struct APEContext *ctx, int count)
 
uint32_t junklength
 
uint32_t firstframe
 
uint32_t totalsamples
 
int currentframe
 
APEFrameframes
 
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
 

Detailed Description

Decoder context.

Definition at line 152 of file apedec.c.

Field Documentation

◆ class

AVClass* APEContext::class

class for AVOptions

Definition at line 153 of file apedec.c.

◆ avctx

AVCodecContext* APEContext::avctx

◆ bdsp

BswapDSPContext APEContext::bdsp

Definition at line 155 of file apedec.c.

◆ adsp

LLAudDSPContext APEContext::adsp

Definition at line 156 of file apedec.c.

◆ channels [1/2]

int APEContext::channels

Definition at line 157 of file apedec.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ samples

int APEContext::samples

samples left to decode in current frame

Definition at line 158 of file apedec.c.

◆ bps [1/2]

int APEContext::bps

Definition at line 159 of file apedec.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ fileversion [1/2]

int APEContext::fileversion

codec version, very important in decoding process

Definition at line 161 of file apedec.c.

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

◆ compression_level

int APEContext::compression_level

compression levels

Definition at line 162 of file apedec.c.

◆ fset

int APEContext::fset

which filter set to use (calculated from compression level)

Definition at line 163 of file apedec.c.

◆ flags

int APEContext::flags

global decoder flags

Definition at line 164 of file apedec.c.

◆ CRC

uint32_t APEContext::CRC

signalled frame CRC

Definition at line 166 of file apedec.c.

◆ CRC_state

uint32_t APEContext::CRC_state

accumulated CRC

Definition at line 167 of file apedec.c.

◆ frameflags

int APEContext::frameflags

frame flags

Definition at line 168 of file apedec.c.

◆ predictor

APEPredictor APEContext::predictor

predictor used for final reconstruction

Definition at line 169 of file apedec.c.

◆ predictor64

APEPredictor64 APEContext::predictor64

64bit predictor used for final reconstruction

Definition at line 170 of file apedec.c.

◆ decoded_buffer

int32_t* APEContext::decoded_buffer

Definition at line 172 of file apedec.c.

◆ decoded_size

int APEContext::decoded_size

Definition at line 173 of file apedec.c.

◆ decoded

int32_t* APEContext::decoded[MAX_CHANNELS]

decoded data for each channel

Definition at line 174 of file apedec.c.

Referenced by filter_3800(), filter_fast_3320(), predictor_update_3930(), and predictor_update_filter().

◆ blocks_per_loop

int APEContext::blocks_per_loop

maximum number of samples to decode for each call

Definition at line 175 of file apedec.c.

◆ filterbuf

int16_t* APEContext::filterbuf[APE_FILTER_LEVELS]

filter memory

Definition at line 177 of file apedec.c.

◆ rc

APERangecoder APEContext::rc

rangecoder used to decode actual values

Definition at line 179 of file apedec.c.

◆ riceX

APERice APEContext::riceX

rice code parameters for the second channel

Definition at line 180 of file apedec.c.

◆ riceY

APERice APEContext::riceY

rice code parameters for the first channel

Definition at line 181 of file apedec.c.

◆ filters

APEFilter APEContext::filters[APE_FILTER_LEVELS][2]

filters used for reconstruction

Definition at line 182 of file apedec.c.

◆ gb

GetBitContext APEContext::gb

Definition at line 183 of file apedec.c.

Referenced by ape_decode_value_3860(), and get_rice_ook().

◆ data

uint8_t* APEContext::data

current frame data

Definition at line 185 of file apedec.c.

◆ data_end

uint8_t* APEContext::data_end

frame data end

Definition at line 186 of file apedec.c.

◆ data_size

int APEContext::data_size

frame data allocated size

Definition at line 187 of file apedec.c.

◆ ptr

const uint8_t* APEContext::ptr

current position in frame data

Definition at line 188 of file apedec.c.

◆ error

int APEContext::error

Definition at line 190 of file apedec.c.

◆ entropy_decode_mono

void(* APEContext::entropy_decode_mono) (struct APEContext *ctx, int blockstodecode)

Definition at line 192 of file apedec.c.

◆ entropy_decode_stereo

void(* APEContext::entropy_decode_stereo) (struct APEContext *ctx, int blockstodecode)

Definition at line 193 of file apedec.c.

◆ predictor_decode_mono

void(* APEContext::predictor_decode_mono) (struct APEContext *ctx, int count)

Definition at line 194 of file apedec.c.

◆ predictor_decode_stereo

void(* APEContext::predictor_decode_stereo) (struct APEContext *ctx, int count)

Definition at line 195 of file apedec.c.

◆ junklength

uint32_t APEContext::junklength

Definition at line 53 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ firstframe

uint32_t APEContext::firstframe

Definition at line 54 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ totalsamples

uint32_t APEContext::totalsamples

Definition at line 55 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ currentframe

int APEContext::currentframe

Definition at line 56 of file ape.c.

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

◆ frames

APEFrame* APEContext::frames

Definition at line 57 of file ape.c.

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

◆ fileversion [2/2]

int16_t APEContext::fileversion

Definition at line 60 of file ape.c.

◆ padding1

int16_t APEContext::padding1

Definition at line 61 of file ape.c.

Referenced by ape_read_header().

◆ descriptorlength

uint32_t APEContext::descriptorlength

Definition at line 62 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ headerlength

uint32_t APEContext::headerlength

Definition at line 63 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ seektablelength

uint32_t APEContext::seektablelength

Definition at line 64 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ wavheaderlength

uint32_t APEContext::wavheaderlength

Definition at line 65 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ audiodatalength

uint32_t APEContext::audiodatalength

Definition at line 66 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ audiodatalength_high

uint32_t APEContext::audiodatalength_high

Definition at line 67 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ wavtaillength

uint32_t APEContext::wavtaillength

Definition at line 68 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ md5

uint8_t APEContext::md5[16]

Definition at line 69 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ compressiontype

uint16_t APEContext::compressiontype

Definition at line 72 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ formatflags

uint16_t APEContext::formatflags

Definition at line 73 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

◆ blocksperframe

uint32_t APEContext::blocksperframe

Definition at line 74 of file ape.c.

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

◆ finalframeblocks

uint32_t APEContext::finalframeblocks

Definition at line 75 of file ape.c.

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

◆ totalframes

uint32_t APEContext::totalframes

Definition at line 76 of file ape.c.

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

◆ bps [2/2]

uint16_t APEContext::bps

Definition at line 77 of file ape.c.

◆ channels [2/2]

uint16_t APEContext::channels

Definition at line 78 of file ape.c.

◆ samplerate

uint32_t APEContext::samplerate

Definition at line 79 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().


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