FFmpeg
Data Fields
AACDecContext Struct Reference

main AAC decoding context More...

#include <aacdec.h>

Data Fields

const struct AVClassclass
 
struct AVCodecContextavctx
 
struct AVFrameframe
 
int is_saved
 Set if elements have stored overlap from previous frame. More...
 
DynamicRangeControl che_drc
 
enum AACOutputChannelOrder output_channel_order
 
OutputConfiguration oc [2]
 
int warned_num_aac_frames
 
int warned_960_sbr
 
unsigned warned_71_wide
 
int warned_gain_control
 
int warned_he_aac_mono
 
void(* imdct_and_windowing )(struct AACDecContext *ac, SingleChannelElement *sce)
 
void(* apply_ltp )(struct AACDecContext *ac, SingleChannelElement *sce)
 
void(* apply_tns )(INTFLOAT coef[1024], TemporalNoiseShaping *tns, IndividualChannelStream *ics, int decode)
 
void(* windowing_and_mdct_ltp )(struct AACDecContext *ac, INTFLOAT *out, INTFLOAT *in, IndividualChannelStream *ics)
 
void(* update_ltp )(struct AACDecContext *ac, SingleChannelElement *sce)
 
void(* vector_pow43 )(int *coefs, int len)
 
void(* subband_scale )(int *dst, int *src, int scale, int offset, int len, void *log_context)
 
Channel element related data
ChannelElementche [4][MAX_ELEM_ID]
 
ChannelElementtag_che_map [4][MAX_ELEM_ID]
 
int tags_mapped
 
int warned_remapping_once
 
temporary aligned temporary buffers

(We do not want to have these on the stack.)

INTFLOAT buf_mdct [1024]
 
INTFLOAT temp [128]
 
Computed / set up during initialization
AVTXContextmdct120
 
AVTXContextmdct128
 
AVTXContextmdct480
 
AVTXContextmdct512
 
AVTXContextmdct960
 
AVTXContextmdct1024
 
AVTXContextmdct_ltp
 
av_tx_fn mdct120_fn
 
av_tx_fn mdct128_fn
 
av_tx_fn mdct480_fn
 
av_tx_fn mdct512_fn
 
av_tx_fn mdct960_fn
 
av_tx_fn mdct1024_fn
 
av_tx_fn mdct_ltp_fn
 
AVFloatDSPContextfdsp
 
int random_state
 
Members used for output
SingleChannelElementoutput_element [MAX_CHANNELS]
 Points to each SingleChannelElement. More...
 
Japanese DTV specific extension
int force_dmono_mode
 0->not dmono, 1->use first channel, 2->use second channel More...
 
int dmono_mode
 0->not dmono, 1->use first channel, 2->use second channel More...
 

Detailed Description

main AAC decoding context

Definition at line 186 of file aacdec.h.

Field Documentation

◆ class

const struct AVClass* AACDecContext::class

Definition at line 187 of file aacdec.h.

◆ avctx

struct AVCodecContext* AACDecContext::avctx

◆ frame

struct AVFrame* AACDecContext::frame

Definition at line 189 of file aacdec.h.

Referenced by aac_decode_er_frame(), aac_decode_frame_int(), and frame_configure_elements().

◆ is_saved

int AACDecContext::is_saved

Set if elements have stored overlap from previous frame.

Definition at line 191 of file aacdec.h.

◆ che_drc

DynamicRangeControl AACDecContext::che_drc

Definition at line 192 of file aacdec.h.

Referenced by decode_extension_payload().

◆ che

ChannelElement* AACDecContext::che[4][MAX_ELEM_ID]

◆ tag_che_map

ChannelElement* AACDecContext::tag_che_map[4][MAX_ELEM_ID]

Definition at line 199 of file aacdec.h.

Referenced by get_che(), and output_configure().

◆ tags_mapped

int AACDecContext::tags_mapped

Definition at line 200 of file aacdec.h.

Referenced by aac_decode_er_frame(), aac_decode_frame_int(), and get_che().

◆ warned_remapping_once

int AACDecContext::warned_remapping_once

Definition at line 201 of file aacdec.h.

Referenced by get_che().

◆ buf_mdct

INTFLOAT AACDecContext::buf_mdct[1024]

◆ temp

INTFLOAT AACDecContext::temp[128]

Definition at line 210 of file aacdec.h.

Referenced by imdct_and_windowing(), and imdct_and_windowing_960().

◆ mdct120

AVTXContext* AACDecContext::mdct120

Definition at line 217 of file aacdec.h.

Referenced by aac_decode_close(), aac_decode_init(), and imdct_and_windowing_960().

◆ mdct128

AVTXContext* AACDecContext::mdct128

Definition at line 218 of file aacdec.h.

Referenced by aac_decode_close(), aac_decode_init(), and imdct_and_windowing().

◆ mdct480

AVTXContext* AACDecContext::mdct480

Definition at line 219 of file aacdec.h.

Referenced by aac_decode_close(), aac_decode_init(), and imdct_and_windowing_eld().

◆ mdct512

AVTXContext* AACDecContext::mdct512

◆ mdct960

AVTXContext* AACDecContext::mdct960

Definition at line 221 of file aacdec.h.

Referenced by aac_decode_close(), aac_decode_init(), and imdct_and_windowing_960().

◆ mdct1024

AVTXContext* AACDecContext::mdct1024

Definition at line 222 of file aacdec.h.

Referenced by aac_decode_close(), aac_decode_init(), and imdct_and_windowing().

◆ mdct_ltp

AVTXContext* AACDecContext::mdct_ltp

Definition at line 223 of file aacdec.h.

Referenced by aac_decode_close(), aac_decode_init(), and windowing_and_mdct_ltp().

◆ mdct120_fn

av_tx_fn AACDecContext::mdct120_fn

Definition at line 225 of file aacdec.h.

Referenced by aac_decode_init(), and imdct_and_windowing_960().

◆ mdct128_fn

av_tx_fn AACDecContext::mdct128_fn

Definition at line 226 of file aacdec.h.

Referenced by aac_decode_init(), and imdct_and_windowing().

◆ mdct480_fn

av_tx_fn AACDecContext::mdct480_fn

Definition at line 227 of file aacdec.h.

Referenced by aac_decode_init(), and imdct_and_windowing_eld().

◆ mdct512_fn

av_tx_fn AACDecContext::mdct512_fn

Definition at line 228 of file aacdec.h.

Referenced by aac_decode_init(), imdct_and_windowing_eld(), and imdct_and_windowing_ld().

◆ mdct960_fn

av_tx_fn AACDecContext::mdct960_fn

Definition at line 229 of file aacdec.h.

Referenced by aac_decode_init(), and imdct_and_windowing_960().

◆ mdct1024_fn

av_tx_fn AACDecContext::mdct1024_fn

Definition at line 230 of file aacdec.h.

Referenced by aac_decode_init(), and imdct_and_windowing().

◆ mdct_ltp_fn

av_tx_fn AACDecContext::mdct_ltp_fn

Definition at line 231 of file aacdec.h.

Referenced by aac_decode_init(), and windowing_and_mdct_ltp().

◆ fdsp

AVFloatDSPContext* AACDecContext::fdsp

◆ random_state

int AACDecContext::random_state

Definition at line 237 of file aacdec.h.

Referenced by aac_decode_init(), and decode_spectrum_and_dequant().

◆ output_element

SingleChannelElement* AACDecContext::output_element[MAX_CHANNELS]

Points to each SingleChannelElement.

Definition at line 244 of file aacdec.h.

Referenced by che_configure(), and frame_configure_elements().

◆ force_dmono_mode

int AACDecContext::force_dmono_mode

0->not dmono, 1->use first channel, 2->use second channel

Definition at line 252 of file aacdec.h.

Referenced by aac_decode_frame().

◆ dmono_mode

int AACDecContext::dmono_mode

0->not dmono, 1->use first channel, 2->use second channel

Definition at line 253 of file aacdec.h.

Referenced by aac_decode_frame(), aac_decode_frame_int(), and parse_adts_frame_header().

◆ output_channel_order

enum AACOutputChannelOrder AACDecContext::output_channel_order

Definition at line 256 of file aacdec.h.

Referenced by output_configure().

◆ oc

OutputConfiguration AACDecContext::oc[2]

◆ warned_num_aac_frames

int AACDecContext::warned_num_aac_frames

Definition at line 259 of file aacdec.h.

Referenced by parse_adts_frame_header().

◆ warned_960_sbr

int AACDecContext::warned_960_sbr

Definition at line 260 of file aacdec.h.

Referenced by decode_extension_payload(), and decode_ga_specific_config().

◆ warned_71_wide

unsigned AACDecContext::warned_71_wide

Definition at line 261 of file aacdec.h.

Referenced by set_default_channel_config().

◆ warned_gain_control

int AACDecContext::warned_gain_control

Definition at line 262 of file aacdec.h.

Referenced by decode_ics().

◆ warned_he_aac_mono

int AACDecContext::warned_he_aac_mono

Definition at line 263 of file aacdec.h.

Referenced by decode_extension_payload(), and read_sbr_extension().

◆ imdct_and_windowing

void(* AACDecContext::imdct_and_windowing) (struct AACDecContext *ac, SingleChannelElement *sce)

Definition at line 266 of file aacdec.h.

Referenced by spectral_to_sample().

◆ apply_ltp

void(* AACDecContext::apply_ltp) (struct AACDecContext *ac, SingleChannelElement *sce)

Definition at line 267 of file aacdec.h.

Referenced by spectral_to_sample().

◆ apply_tns

void(* AACDecContext::apply_tns) (INTFLOAT coef[1024], TemporalNoiseShaping *tns, IndividualChannelStream *ics, int decode)

Definition at line 268 of file aacdec.h.

Referenced by apply_ltp(), and spectral_to_sample().

◆ windowing_and_mdct_ltp

void(* AACDecContext::windowing_and_mdct_ltp) (struct AACDecContext *ac, INTFLOAT *out, INTFLOAT *in, IndividualChannelStream *ics)

Definition at line 270 of file aacdec.h.

Referenced by apply_ltp().

◆ update_ltp

void(* AACDecContext::update_ltp) (struct AACDecContext *ac, SingleChannelElement *sce)

Definition at line 272 of file aacdec.h.

Referenced by spectral_to_sample().

◆ vector_pow43

void(* AACDecContext::vector_pow43) (int *coefs, int len)

Definition at line 273 of file aacdec.h.

Referenced by decode_spectrum_and_dequant().

◆ subband_scale

void(* AACDecContext::subband_scale) (int *dst, int *src, int scale, int offset, int len, void *log_context)

Definition at line 274 of file aacdec.h.

Referenced by apply_intensity_stereo(), and decode_spectrum_and_dequant().


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