FFmpeg
Data Fields
APEContext Struct Reference

Decoder context. More...

Data Fields

  class for AVOptions
 
 
 
int  channels
 
int  samples
  samples left to decode in current frame
 
int  bps
 
int  fileversion
  codec version, very important in decoding process
 
  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
 
  predictor used for final reconstruction
 
 
int  decoded_size
 
  decoded data for each channel
 
  maximum number of samples to decode for each call
 
  filter memory
 
  rangecoder used to decode actual values
 
  rice code parameters for the second channel
 
  rice code parameters for the first channel
 
  filters used for reconstruction
 
 
  current frame data
 
  frame data end
 
int  data_size
  frame data allocated size
 
const uint8_tptr
  current position in frame data
 
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
 
 
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  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 133 of file apedec.c.

Field Documentation

AVClass* APEContext::class

class for AVOptions

Definition at line 134 of file apedec.c.

AVCodecContext* APEContext::avctx

Definition at line 135 of file apedec.c.

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

DSPContext APEContext::dsp

Definition at line 136 of file apedec.c.

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

int APEContext::channels

Definition at line 137 of file apedec.c.

Referenced by ape_decode_frame(), ape_decode_init(), ape_dumpinfo(), ape_read_header(), and ape_unpack_mono().

int APEContext::samples

samples left to decode in current frame

Definition at line 138 of file apedec.c.

Referenced by ape_decode_frame(), and ape_flush().

int APEContext::bps

Definition at line 139 of file apedec.c.

Referenced by ape_decode_frame(), ape_decode_init(), ape_dumpinfo(), and ape_read_header().

int APEContext::fileversion

codec version, very important in decoding process

Definition at line 141 of file apedec.c.

Referenced by ape_decode_frame(), ape_decode_init(), ape_decode_value_3860(), ape_decode_value_3900(), ape_dumpinfo(), ape_read_header(), apply_filter(), init_entropy_decoder(), init_predictor_decoder(), predictor_decode_mono_3800(), and predictor_decode_stereo_3800().

int APEContext::compression_level

compression levels

Definition at line 142 of file apedec.c.

Referenced by ape_decode_init(), init_predictor_decoder(), predictor_decode_mono_3800(), and predictor_decode_stereo_3800().

int APEContext::fset

which filter set to use (calculated from compression level)

Definition at line 143 of file apedec.c.

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

int APEContext::flags

global decoder flags

Definition at line 144 of file apedec.c.

Referenced by ape_decode_init().

uint32_t APEContext::CRC

frame CRC

Definition at line 146 of file apedec.c.

Referenced by init_entropy_decoder().

int APEContext::frameflags

frame flags

Definition at line 147 of file apedec.c.

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

APEPredictor APEContext::predictor

predictor used for final reconstruction

Definition at line 148 of file apedec.c.

Referenced by init_predictor_decoder(), predictor_decode_mono_3800(), predictor_decode_mono_3930(), predictor_decode_mono_3950(), predictor_decode_stereo_3800(), predictor_decode_stereo_3930(), and predictor_decode_stereo_3950().

int32_t* APEContext::decoded_buffer

Definition at line 150 of file apedec.c.

Referenced by ape_decode_close(), and ape_decode_frame().

int APEContext::decoded_size

Definition at line 151 of file apedec.c.

Referenced by ape_decode_close(), and ape_decode_frame().

int32_t* APEContext::decoded[MAX_CHANNELS]

decoded data for each channel

Definition at line 152 of file apedec.c.

Referenced by ape_decode_frame(), ape_unpack_mono(), ape_unpack_stereo(), entropy_decode_mono_0000(), entropy_decode_mono_3860(), entropy_decode_mono_3900(), entropy_decode_mono_3990(), entropy_decode_stereo_0000(), entropy_decode_stereo_3860(), entropy_decode_stereo_3900(), entropy_decode_stereo_3930(), entropy_decode_stereo_3990(), filter_3800(), filter_fast_3320(), predictor_decode_mono_3800(), predictor_decode_mono_3930(), predictor_decode_mono_3950(), predictor_decode_stereo_3800(), predictor_decode_stereo_3930(), and predictor_decode_stereo_3950().

int APEContext::blocks_per_loop

maximum number of samples to decode for each call

Definition at line 153 of file apedec.c.

Referenced by ape_decode_frame().

int16_t* APEContext::filterbuf[APE_FILTER_LEVELS]

filter memory

Definition at line 155 of file apedec.c.

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

APERangecoder APEContext::rc

rangecoder used to decode actual values

Definition at line 157 of file apedec.c.

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

APERice APEContext::riceX

rice code parameters for the second channel

Definition at line 158 of file apedec.c.

Referenced by entropy_decode_stereo_0000(), entropy_decode_stereo_3860(), entropy_decode_stereo_3900(), entropy_decode_stereo_3930(), entropy_decode_stereo_3990(), and init_entropy_decoder().

APERice APEContext::riceY

rice code parameters for the first channel

Definition at line 159 of file apedec.c.

Referenced by entropy_decode_mono_0000(), entropy_decode_mono_3860(), entropy_decode_mono_3900(), entropy_decode_mono_3990(), entropy_decode_stereo_0000(), entropy_decode_stereo_3860(), entropy_decode_stereo_3900(), entropy_decode_stereo_3930(), entropy_decode_stereo_3990(), and init_entropy_decoder().

APEFilter APEContext::filters[APE_FILTER_LEVELS][2]

filters used for reconstruction

Definition at line 160 of file apedec.c.

Referenced by ape_apply_filters(), and init_frame_decoder().

GetBitContext APEContext::gb

Definition at line 161 of file apedec.c.

Referenced by ape_decode_frame(), decode_array_0000(), entropy_decode_mono_0000(), entropy_decode_mono_3860(), entropy_decode_stereo_0000(), entropy_decode_stereo_3860(), and init_entropy_decoder().

uint8_t* APEContext::data

current frame data

Definition at line 163 of file apedec.c.

Referenced by ape_decode_close(), and ape_decode_frame().

uint8_t* APEContext::data_end

frame data end

Definition at line 164 of file apedec.c.

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

int APEContext::data_size

frame data allocated size

Definition at line 165 of file apedec.c.

Referenced by ape_decode_close(), and ape_decode_frame().

const uint8_t* APEContext::ptr

current position in frame data

Definition at line 166 of file apedec.c.

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

int APEContext::error

Definition at line 168 of file apedec.c.

Referenced by ape_decode_frame(), range_dec_normalize(), and range_get_symbol().

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

Definition at line 170 of file apedec.c.

Referenced by ape_decode_init(), and ape_unpack_mono().

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

Definition at line 171 of file apedec.c.

Referenced by ape_decode_init(), and ape_unpack_stereo().

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

Definition at line 172 of file apedec.c.

Referenced by ape_decode_init(), and ape_unpack_mono().

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

Definition at line 173 of file apedec.c.

Referenced by ape_decode_init(), and ape_unpack_stereo().

uint32_t APEContext::junklength

Definition at line 53 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::firstframe

Definition at line 54 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::totalsamples

Definition at line 55 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

int APEContext::currentframe

Definition at line 56 of file ape.c.

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

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().

char APEContext::magic[4]

Definition at line 60 of file ape.c.

Referenced by ape_dumpinfo().

int16_t APEContext::fileversion

Definition at line 61 of file ape.c.

int16_t APEContext::padding1

Definition at line 62 of file ape.c.

Referenced by ape_read_header().

uint32_t APEContext::descriptorlength

Definition at line 63 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::headerlength

Definition at line 64 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::seektablelength

Definition at line 65 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::wavheaderlength

Definition at line 66 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::audiodatalength

Definition at line 67 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::audiodatalength_high

Definition at line 68 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::wavtaillength

Definition at line 69 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint8_t APEContext::md5[16]

Definition at line 70 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint16_t APEContext::compressiontype

Definition at line 73 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint16_t APEContext::formatflags

Definition at line 74 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t APEContext::blocksperframe

Definition at line 75 of file ape.c.

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

uint32_t APEContext::finalframeblocks

Definition at line 76 of file ape.c.

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

uint32_t APEContext::totalframes

Definition at line 77 of file ape.c.

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

uint16_t APEContext::bps

Definition at line 78 of file ape.c.

uint16_t APEContext::channels

Definition at line 79 of file ape.c.

uint32_t APEContext::samplerate

Definition at line 80 of file ape.c.

Referenced by ape_dumpinfo(), and ape_read_header().

uint32_t* APEContext::seektable

Definition at line 83 of file ape.c.

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

uint8_t* APEContext::bittable

Definition at line 84 of file ape.c.

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


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

Generated on Sat Jan 25 2014 19:52:25 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /