FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
 
INTFLOAT temp [128]
 
OutputConfiguration oc [2]
 
int warned_num_aac_frames
 
int warned_960_sbr
 
int warned_gain_control
 
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)
 
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
FFTContext mdct
 
FFTContext mdct_small
 
FFTContext mdct_ld
 
FFTContext mdct_ltp
 
MDCT15Contextmdct120
 
MDCT15Contextmdct480
 
MDCT15Contextmdct960
 
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 293 of file aac.h.

Field Documentation

AVClass* AACContext::class

Definition at line 294 of file aac.h.

AVCodecContext* AACContext::avctx
AVFrame* AACContext::frame

Definition at line 296 of file aac.h.

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

int AACContext::is_saved

Set if elements have stored overlap from previous frame.

Definition at line 298 of file aac.h.

DynamicRangeControl AACContext::che_drc

Definition at line 299 of file aac.h.

Referenced by decode_extension_payload().

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

Definition at line 306 of file aac.h.

Referenced by get_che(), and output_configure().

int AACContext::tags_mapped

Definition at line 307 of file aac.h.

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

int AACContext::warned_remapping_once

Definition at line 308 of file aac.h.

Referenced by get_che().

INTFLOAT AACContext::buf_mdct[1024]
FFTContext AACContext::mdct
FFTContext AACContext::mdct_small

Definition at line 324 of file aac.h.

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

FFTContext AACContext::mdct_ld
FFTContext AACContext::mdct_ltp

Definition at line 326 of file aac.h.

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

MDCT15Context* AACContext::mdct120

Definition at line 330 of file aac.h.

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

MDCT15Context* AACContext::mdct480

Definition at line 331 of file aac.h.

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

MDCT15Context* AACContext::mdct960

Definition at line 332 of file aac.h.

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

AVFloatDSPContext* AACContext::fdsp
int AACContext::random_state

Definition at line 335 of file aac.h.

Referenced by aac_decode_init(), and decode_spectrum_and_dequant().

SingleChannelElement* AACContext::output_element[MAX_CHANNELS]

Points to each SingleChannelElement.

Definition at line 342 of file aac.h.

Referenced by che_configure(), and frame_configure_elements().

int AACContext::force_dmono_mode

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

Definition at line 350 of file aac.h.

Referenced by aac_decode_frame().

int AACContext::dmono_mode

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

Definition at line 351 of file aac.h.

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

INTFLOAT AACContext::temp[128]

Definition at line 354 of file aac.h.

Referenced by imdct_and_windowing(), and imdct_and_windowing_960().

OutputConfiguration AACContext::oc[2]
int AACContext::warned_num_aac_frames

Definition at line 357 of file aac.h.

Referenced by parse_adts_frame_header().

int AACContext::warned_960_sbr

Definition at line 358 of file aac.h.

Referenced by decode_extension_payload(), and decode_ga_specific_config().

int AACContext::warned_gain_control

Definition at line 360 of file aac.h.

Referenced by decode_ics().

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

Definition at line 363 of file aac.h.

Referenced by aacdec_init(), ff_aacdec_init_mips(), and spectral_to_sample().

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

Definition at line 364 of file aac.h.

Referenced by aacdec_init(), ff_aacdec_init_mips(), and spectral_to_sample().

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

Definition at line 365 of file aac.h.

Referenced by aacdec_init(), apply_ltp(), and spectral_to_sample().

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

Definition at line 367 of file aac.h.

Referenced by aacdec_init(), and apply_ltp().

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

Definition at line 369 of file aac.h.

Referenced by aacdec_init(), ff_aacdec_init_mips(), and spectral_to_sample().

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

Definition at line 370 of file aac.h.

Referenced by aacdec_init(), and decode_spectrum_and_dequant().

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

Definition at line 371 of file aac.h.

Referenced by aacdec_init(), apply_intensity_stereo(), and decode_spectrum_and_dequant().

const AVClass* AACContext::class

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

HANDLE_AACENCODER AACContext::handle

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

Referenced by aac_encode_close(), aac_encode_frame(), and aac_encode_init().

int AACContext::afterburner

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

Referenced by aac_encode_init().

int AACContext::eld_sbr

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

Referenced by aac_encode_init().

int AACContext::eld_v2

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

Referenced by aac_encode_init().

int AACContext::signaling

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

Referenced by aac_encode_init().

int AACContext::latm

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

Referenced by aac_encode_init().

int AACContext::header_period

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

Referenced by aac_encode_init().

int AACContext::vbr

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

Referenced by aac_encode_init().

AudioFrameQueue AACContext::afq

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

Referenced by aac_encode_close(), aac_encode_frame(), and aac_encode_init().


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