FFmpeg
Data Fields
AACContext Struct Reference

main AAC context More...

#include <aac.h>

Data Fields

AVClassclass
 
AVCodecContextavctx
 
AVFrameframe
 
int is_saved
 Set if elements have stored overlap from previous frame. More...
 
DynamicRangeControl che_drc
 
enum AACOutputChannelOrder output_channel_order
 
INTFLOAT temp [128]
 
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 )(AACContext *ac, SingleChannelElement *sce)
 
void(* apply_ltp )(AACContext *ac, SingleChannelElement *sce)
 
void(* apply_tns )(INTFLOAT coef[1024], TemporalNoiseShaping *tns, IndividualChannelStream *ics, int decode)
 
void(* windowing_and_mdct_ltp )(AACContext *ac, INTFLOAT *out, INTFLOAT *in, IndividualChannelStream *ics)
 
void(* update_ltp )(AACContext *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)
 
const AVClassclass
 
HANDLE_AACENCODER handle
 
int afterburner
 
int eld_sbr
 
int eld_v2
 
int signaling
 
int latm
 
int header_period
 
int vbr
 
AudioFrameQueue afq
 
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]
 
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 context

Definition at line 296 of file aac.h.

Field Documentation

◆ class [1/2]

AVClass* AACContext::class

Definition at line 297 of file aac.h.

◆ avctx

AVCodecContext* AACContext::avctx

◆ frame

AVFrame* AACContext::frame

Definition at line 299 of file aac.h.

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

◆ is_saved

int AACContext::is_saved

Set if elements have stored overlap from previous frame.

Definition at line 301 of file aac.h.

◆ che_drc

DynamicRangeControl AACContext::che_drc

Definition at line 302 of file aac.h.

Referenced by decode_extension_payload().

◆ che

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

◆ tag_che_map

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

Definition at line 309 of file aac.h.

Referenced by get_che(), and output_configure().

◆ tags_mapped

int AACContext::tags_mapped

Definition at line 310 of file aac.h.

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

◆ warned_remapping_once

int AACContext::warned_remapping_once

Definition at line 311 of file aac.h.

Referenced by get_che().

◆ buf_mdct

INTFLOAT AACContext::buf_mdct[1024]

◆ mdct120

AVTXContext* AACContext::mdct120

Definition at line 326 of file aac.h.

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

◆ mdct128

AVTXContext* AACContext::mdct128

Definition at line 327 of file aac.h.

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

◆ mdct480

AVTXContext* AACContext::mdct480

Definition at line 328 of file aac.h.

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

◆ mdct512

AVTXContext* AACContext::mdct512

◆ mdct960

AVTXContext* AACContext::mdct960

Definition at line 330 of file aac.h.

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

◆ mdct1024

AVTXContext* AACContext::mdct1024

Definition at line 331 of file aac.h.

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

◆ mdct_ltp

AVTXContext* AACContext::mdct_ltp

Definition at line 332 of file aac.h.

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

◆ mdct120_fn

av_tx_fn AACContext::mdct120_fn

Definition at line 334 of file aac.h.

Referenced by aac_decode_init(), and imdct_and_windowing_960().

◆ mdct128_fn

av_tx_fn AACContext::mdct128_fn

Definition at line 335 of file aac.h.

Referenced by aac_decode_init(), and imdct_and_windowing().

◆ mdct480_fn

av_tx_fn AACContext::mdct480_fn

Definition at line 336 of file aac.h.

Referenced by aac_decode_init(), and imdct_and_windowing_eld().

◆ mdct512_fn

av_tx_fn AACContext::mdct512_fn

Definition at line 337 of file aac.h.

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

◆ mdct960_fn

av_tx_fn AACContext::mdct960_fn

Definition at line 338 of file aac.h.

Referenced by aac_decode_init(), and imdct_and_windowing_960().

◆ mdct1024_fn

av_tx_fn AACContext::mdct1024_fn

Definition at line 339 of file aac.h.

Referenced by aac_decode_init(), and imdct_and_windowing().

◆ mdct_ltp_fn

av_tx_fn AACContext::mdct_ltp_fn

Definition at line 340 of file aac.h.

Referenced by aac_decode_init(), and windowing_and_mdct_ltp().

◆ fdsp

AVFloatDSPContext* AACContext::fdsp

◆ random_state

int AACContext::random_state

Definition at line 346 of file aac.h.

Referenced by aac_decode_init(), and decode_spectrum_and_dequant().

◆ output_element

SingleChannelElement* AACContext::output_element[MAX_CHANNELS]

Points to each SingleChannelElement.

Definition at line 353 of file aac.h.

Referenced by che_configure(), and frame_configure_elements().

◆ force_dmono_mode

int AACContext::force_dmono_mode

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

Definition at line 361 of file aac.h.

Referenced by aac_decode_frame().

◆ dmono_mode

int AACContext::dmono_mode

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

Definition at line 362 of file aac.h.

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

◆ output_channel_order

enum AACOutputChannelOrder AACContext::output_channel_order

Definition at line 365 of file aac.h.

Referenced by output_configure().

◆ temp

INTFLOAT AACContext::temp[128]

Definition at line 367 of file aac.h.

Referenced by imdct_and_windowing(), and imdct_and_windowing_960().

◆ oc

OutputConfiguration AACContext::oc[2]

◆ warned_num_aac_frames

int AACContext::warned_num_aac_frames

Definition at line 370 of file aac.h.

Referenced by parse_adts_frame_header().

◆ warned_960_sbr

int AACContext::warned_960_sbr

Definition at line 371 of file aac.h.

Referenced by decode_extension_payload(), and decode_ga_specific_config().

◆ warned_71_wide

unsigned AACContext::warned_71_wide

Definition at line 372 of file aac.h.

Referenced by set_default_channel_config().

◆ warned_gain_control

int AACContext::warned_gain_control

Definition at line 373 of file aac.h.

Referenced by decode_ics().

◆ warned_he_aac_mono

int AACContext::warned_he_aac_mono

Definition at line 374 of file aac.h.

Referenced by decode_extension_payload(), and read_sbr_extension().

◆ imdct_and_windowing

void(* AACContext::imdct_and_windowing) (AACContext *ac, SingleChannelElement *sce)

Definition at line 377 of file aac.h.

Referenced by spectral_to_sample().

◆ apply_ltp

void(* AACContext::apply_ltp) (AACContext *ac, SingleChannelElement *sce)

Definition at line 378 of file aac.h.

Referenced by spectral_to_sample().

◆ apply_tns

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

Definition at line 379 of file aac.h.

Referenced by apply_ltp(), and spectral_to_sample().

◆ windowing_and_mdct_ltp

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

Definition at line 381 of file aac.h.

Referenced by apply_ltp().

◆ update_ltp

void(* AACContext::update_ltp) (AACContext *ac, SingleChannelElement *sce)

Definition at line 383 of file aac.h.

Referenced by spectral_to_sample().

◆ vector_pow43

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

Definition at line 384 of file aac.h.

Referenced by decode_spectrum_and_dequant().

◆ subband_scale

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

Definition at line 385 of file aac.h.

Referenced by apply_intensity_stereo(), and decode_spectrum_and_dequant().

◆ class [2/2]

const AVClass* AACContext::class

Definition at line 40 of file libfdk-aacenc.c.

◆ handle

HANDLE_AACENCODER AACContext::handle

Definition at line 41 of file libfdk-aacenc.c.

◆ afterburner

int AACContext::afterburner

Definition at line 42 of file libfdk-aacenc.c.

◆ eld_sbr

int AACContext::eld_sbr

Definition at line 43 of file libfdk-aacenc.c.

◆ eld_v2

int AACContext::eld_v2

Definition at line 44 of file libfdk-aacenc.c.

◆ signaling

int AACContext::signaling

Definition at line 45 of file libfdk-aacenc.c.

◆ latm

int AACContext::latm

Definition at line 46 of file libfdk-aacenc.c.

◆ header_period

int AACContext::header_period

Definition at line 47 of file libfdk-aacenc.c.

◆ vbr

int AACContext::vbr

Definition at line 48 of file libfdk-aacenc.c.

◆ afq

AudioFrameQueue AACContext::afq

Definition at line 50 of file libfdk-aacenc.c.


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