FFmpeg
Data Fields
WMAProDecodeCtx Struct Reference

main decoder context More...

Data Fields

  codec context for av_log
 
 
  compressed frame data
 
  context for filling the frame_data buffer
 
  MDCT context per block size.
 
  IMDCT output buffer.
 
  windows for the different block sizes
 
uint32_t  decode_flags
  used compression features
 
  frame is prefixed with its length
 
  frame contains DRC data
 
  integer audio sample size for the unscaled IMDCT output (used to scale to [-1.0, 1.0])
 
uint16_t  samples_per_frame
  number of samples to output
 
uint16_t  log2_frame_size
 
int8_t  lfe_channel
  lfe channel index
 
 
  number of bits used for the subframe length
 
  flag indicating that the subframe is of maximum size when the first subframe length bit is 1
 
 
  scale factor bands per block size
 
  scale factor band offsets (multiples of 4)
 
  scale factor resample matrix
 
  subwoofer cutoff values
 
  bitstream reader context for the packet
 
  start offset of the next wma packet in the demuxer packet
 
  frame offset in the packet
 
  current packet number
 
  saved number of bits
 
int  frame_offset
  frame offset in the bit reservoir
 
  subframe offset in the bit reservoir
 
  set in case of bitstream error
 
  set when a packet is fully decoded
 
uint32_t  frame_num
  current frame number (not used for decoding)
 
  bitstream reader context
 
int  buf_bit_size
  buffer size in bits
 
  gain for the DRC tool
 
int8_t  skip_frame
  skip output step
 
  all subframes decoded?
 
int16_t  subframe_len
  current subframe length
 
  number of channels that contain the subframe
 
 
int8_t  num_bands
  number of scale factor bands
 
  number of vector coded coefficients is part of the bitstream
 
int16_t *  cur_sfb_offsets
  sfb offsets for the current block
 
  index for the num_sfb, sfb_offsets, sf_offsets and subwoofer_cutoffs tables
 
int8_t  esc_len
  length of escaped coefficients
 
  number of channel groups
 
  channel group information
 
  per channel data
 

Detailed Description

main decoder context

Definition at line 169 of file wmaprodec.c.

Field Documentation

AVCodecContext* WMAProDecodeCtx::avctx

codec context for av_log

Definition at line 171 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_coeffs(), decode_decorrelation_matrix(), decode_frame(), decode_init(), decode_scale_factors(), decode_subframe(), decode_subframe_length(), decode_tilehdr(), dump_context(), inverse_channel_transform(), and save_bits().

AVFloatDSPContext WMAProDecodeCtx::fdsp

Definition at line 172 of file wmaprodec.c.

Referenced by decode_init(), decode_subframe(), inverse_channel_transform(), and wmapro_window().

uint8_t WMAProDecodeCtx::frame_data[MAX_FRAMESIZE+FF_INPUT_BUFFER_PADDING_SIZE]

compressed frame data

Definition at line 174 of file wmaprodec.c.

Referenced by decode_init(), and save_bits().

PutBitContext WMAProDecodeCtx::pb

context for filling the frame_data buffer

Definition at line 175 of file wmaprodec.c.

Referenced by decode_init(), and save_bits().

FFTContext WMAProDecodeCtx::mdct_ctx[WMAPRO_BLOCK_SIZES]

MDCT context per block size.

Definition at line 176 of file wmaprodec.c.

Referenced by decode_end(), decode_init(), and decode_subframe().

float WMAProDecodeCtx::tmp[WMAPRO_BLOCK_MAX_SIZE]

IMDCT output buffer.

Definition at line 177 of file wmaprodec.c.

Referenced by decode_subframe().

float* WMAProDecodeCtx::windows[WMAPRO_BLOCK_SIZES]

windows for the different block sizes

Definition at line 178 of file wmaprodec.c.

Referenced by decode_init(), and wmapro_window().

uint32_t WMAProDecodeCtx::decode_flags

used compression features

Definition at line 181 of file wmaprodec.c.

Referenced by decode_init(), and dump_context().

uint8_t WMAProDecodeCtx::len_prefix

frame is prefixed with its length

Definition at line 182 of file wmaprodec.c.

Referenced by decode_frame(), decode_init(), decode_packet(), and dump_context().

uint8_t WMAProDecodeCtx::dynamic_range_compression

frame contains DRC data

Definition at line 183 of file wmaprodec.c.

Referenced by decode_frame(), and decode_init().

uint8_t WMAProDecodeCtx::bits_per_sample

integer audio sample size for the unscaled IMDCT output (used to scale to [-1.0, 1.0])

Definition at line 184 of file wmaprodec.c.

Referenced by decode_init(), decode_subframe(), and dump_context().

uint16_t WMAProDecodeCtx::samples_per_frame

number of samples to output

Definition at line 185 of file wmaprodec.c.

Referenced by decode_frame(), decode_init(), decode_subframe(), decode_subframe_length(), decode_tilehdr(), dump_context(), and flush().

uint16_t WMAProDecodeCtx::log2_frame_size

Definition at line 186 of file wmaprodec.c.

Referenced by decode_frame(), decode_init(), decode_packet(), and dump_context().

int8_t WMAProDecodeCtx::lfe_channel

lfe channel index

Definition at line 187 of file wmaprodec.c.

Referenced by decode_init(), and decode_subframe().

uint8_t WMAProDecodeCtx::max_num_subframes

Definition at line 188 of file wmaprodec.c.

Referenced by decode_init(), decode_tilehdr(), and dump_context().

uint8_t WMAProDecodeCtx::subframe_len_bits

number of bits used for the subframe length

Definition at line 189 of file wmaprodec.c.

Referenced by decode_init(), and decode_subframe_length().

uint8_t WMAProDecodeCtx::max_subframe_len_bit

flag indicating that the subframe is of maximum size when the first subframe length bit is 1

Definition at line 190 of file wmaprodec.c.

Referenced by decode_init(), and decode_subframe_length().

uint16_t WMAProDecodeCtx::min_samples_per_subframe

Definition at line 191 of file wmaprodec.c.

Referenced by decode_init(), decode_subframe_length(), and decode_tilehdr().

int8_t WMAProDecodeCtx::num_sfb[WMAPRO_BLOCK_SIZES]

scale factor bands per block size

Definition at line 192 of file wmaprodec.c.

Referenced by decode_init(), and decode_subframe().

int16_t WMAProDecodeCtx::sfb_offsets[WMAPRO_BLOCK_SIZES][MAX_BANDS]

scale factor band offsets (multiples of 4)

Definition at line 193 of file wmaprodec.c.

Referenced by decode_init(), and decode_subframe().

int8_t WMAProDecodeCtx::sf_offsets[WMAPRO_BLOCK_SIZES][WMAPRO_BLOCK_SIZES][MAX_BANDS]

scale factor resample matrix

Definition at line 194 of file wmaprodec.c.

Referenced by decode_init(), and decode_scale_factors().

int16_t WMAProDecodeCtx::subwoofer_cutoffs[WMAPRO_BLOCK_SIZES]

subwoofer cutoff values

Definition at line 195 of file wmaprodec.c.

Referenced by decode_init(), and decode_subframe().

GetBitContext WMAProDecodeCtx::pgb

bitstream reader context for the packet

Definition at line 198 of file wmaprodec.c.

Referenced by decode_packet().

int WMAProDecodeCtx::next_packet_start

start offset of the next wma packet in the demuxer packet

Definition at line 199 of file wmaprodec.c.

Referenced by decode_packet().

uint8_t WMAProDecodeCtx::packet_offset

frame offset in the packet

Definition at line 200 of file wmaprodec.c.

Referenced by decode_packet().

uint8_t WMAProDecodeCtx::packet_sequence_number

current packet number

Definition at line 201 of file wmaprodec.c.

Referenced by decode_packet().

int WMAProDecodeCtx::num_saved_bits

saved number of bits

Definition at line 202 of file wmaprodec.c.

Referenced by decode_frame(), decode_packet(), decode_subframe(), and save_bits().

int WMAProDecodeCtx::frame_offset

frame offset in the bit reservoir

Definition at line 203 of file wmaprodec.c.

Referenced by decode_frame(), decode_packet(), and save_bits().

int WMAProDecodeCtx::subframe_offset

subframe offset in the bit reservoir

Definition at line 204 of file wmaprodec.c.

Referenced by decode_subframe().

uint8_t WMAProDecodeCtx::packet_loss

set in case of bitstream error

Definition at line 205 of file wmaprodec.c.

Referenced by decode_frame(), decode_init(), decode_packet(), flush(), and save_bits().

uint8_t WMAProDecodeCtx::packet_done

set when a packet is fully decoded

Definition at line 206 of file wmaprodec.c.

Referenced by decode_packet().

uint32_t WMAProDecodeCtx::frame_num

current frame number (not used for decoding)

Definition at line 209 of file wmaprodec.c.

Referenced by decode_frame(), and decode_tilehdr().

GetBitContext WMAProDecodeCtx::gb

bitstream reader context

Definition at line 210 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_coeffs(), decode_decorrelation_matrix(), decode_frame(), decode_packet(), decode_scale_factors(), decode_subframe(), decode_subframe_length(), decode_tilehdr(), and save_bits().

int WMAProDecodeCtx::buf_bit_size

buffer size in bits

Definition at line 211 of file wmaprodec.c.

Referenced by decode_packet(), and remaining_bits().

uint8_t WMAProDecodeCtx::drc_gain

gain for the DRC tool

Definition at line 212 of file wmaprodec.c.

Referenced by decode_frame().

int8_t WMAProDecodeCtx::skip_frame

skip output step

Definition at line 213 of file wmaprodec.c.

Referenced by decode_frame(), and decode_init().

int8_t WMAProDecodeCtx::parsed_all_subframes

all subframes decoded?

Definition at line 214 of file wmaprodec.c.

Referenced by decode_frame(), and decode_subframe().

int16_t WMAProDecodeCtx::subframe_len

current subframe length

Definition at line 217 of file wmaprodec.c.

Referenced by decode_coeffs(), decode_subframe(), inverse_channel_transform(), and wmapro_window().

int8_t WMAProDecodeCtx::channels_for_cur_subframe

number of channels that contain the subframe

Definition at line 218 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_scale_factors(), decode_subframe(), and wmapro_window().

int8_t WMAProDecodeCtx::channel_indexes_for_cur_subframe[WMAPRO_MAX_CHANNELS]

Definition at line 219 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_scale_factors(), decode_subframe(), and wmapro_window().

int8_t WMAProDecodeCtx::num_bands

number of scale factor bands

Definition at line 220 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_scale_factors(), decode_subframe(), and inverse_channel_transform().

int8_t WMAProDecodeCtx::transmit_num_vec_coeffs

number of vector coded coefficients is part of the bitstream

Definition at line 221 of file wmaprodec.c.

Referenced by decode_coeffs(), and decode_subframe().

int16_t* WMAProDecodeCtx::cur_sfb_offsets

sfb offsets for the current block

Definition at line 222 of file wmaprodec.c.

Referenced by decode_subframe(), and inverse_channel_transform().

uint8_t WMAProDecodeCtx::table_idx

index for the num_sfb, sfb_offsets, sf_offsets and subwoofer_cutoffs tables

Definition at line 223 of file wmaprodec.c.

Referenced by decode_scale_factors(), and decode_subframe().

int8_t WMAProDecodeCtx::esc_len

length of escaped coefficients

Definition at line 224 of file wmaprodec.c.

Referenced by decode_coeffs(), and decode_subframe().

uint8_t WMAProDecodeCtx::num_chgroups

number of channel groups

Definition at line 226 of file wmaprodec.c.

Referenced by decode_channel_transform(), and inverse_channel_transform().

WMAProChannelGrp WMAProDecodeCtx::chgroup[WMAPRO_MAX_CHANNELS]

channel group information

Definition at line 227 of file wmaprodec.c.

Referenced by decode_channel_transform(), and inverse_channel_transform().

WMAProChannelCtx WMAProDecodeCtx::channel[WMAPRO_MAX_CHANNELS]

per channel data

Definition at line 229 of file wmaprodec.c.

Referenced by decode_channel_transform(), decode_coeffs(), decode_frame(), decode_init(), decode_scale_factors(), decode_subframe(), decode_tilehdr(), flush(), and wmapro_window().


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

Generated on Sun Mar 23 2014 23:50:43 for FFmpeg by   doxygen 1.8.2

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