AACContext Struct Reference

main AAC context More...

#include <aac.h>

Collaboration diagram for AACContext:
Collaboration graph

Public Member Functions

 DECLARE_ALIGNED (32, float, temp)[128]
 
temporary aligned temporary buffers

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

 DECLARE_ALIGNED (32, float, buf_mdct)[1024]
 

Data Fields

AVClassclass
 
AVCodecContextavctx
 
AVFrameframe
 
int is_saved
 Set if elements have stored overlap from previous frame. More...
 
DynamicRangeControl che_drc
 
OutputConfiguration oc [2]
 
int warned_num_aac_frames
 
void(* imdct_and_windowing )(AACContext *ac, SingleChannelElement *sce)
 
void(* apply_ltp )(AACContext *ac, SingleChannelElement *sce)
 
void(* apply_tns )(float coef[1024], TemporalNoiseShaping *tns, IndividualChannelStream *ics, int decode)
 
void(* windowing_and_mdct_ltp )(AACContext *ac, float *out, float *in, IndividualChannelStream *ics)
 
void(* update_ltp )(AACContext *ac, SingleChannelElement *sce)
 
const AVClassclass
 
HANDLE_AACENCODER handle
 
int afterburner
 
int eld_sbr
 
int signaling
 
int latm
 
int header_period
 
int vbr
 
AudioFrameQueue afq
 
VO_AUDIO_CODECAPI codec_api
 
VO_HANDLE handle
 
VO_MEM_OPERATOR mem_operator
 
VO_CODEC_INIT_USERDATA user_data
 
VO_PBYTE end_buffer
 
int last_frame
 
int last_samples
 
Channel element related data
ChannelElementche [4][MAX_ELEM_ID]
 
ChannelElementtag_che_map [4][MAX_ELEM_ID]
 
int tags_mapped
 
Computed / set up during initialization
FFTContext mdct
 
FFTContext mdct_small
 
FFTContext mdct_ltp
 
FmtConvertContext fmt_conv
 
AVFloatDSPContext fdsp
 
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 262 of file aac.h.

Member Function Documentation

AACContext::DECLARE_ALIGNED ( 32  ,
float  ,
buf_mdct   
)
AACContext::DECLARE_ALIGNED ( 32  ,
float  ,
temp   
)

Field Documentation

AudioFrameQueue AACContext::afq

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

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

int AACContext::afterburner

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

Referenced by aac_encode_init().

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

Definition at line 322 of file aac.h.

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

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

Definition at line 323 of file aac.h.

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

DynamicRangeControl AACContext::che_drc

Definition at line 268 of file aac.h.

Referenced by decode_extension_payload().

const AVClass* AACContext::class

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

AVClass* AACContext::class

Definition at line 263 of file aac.h.

VO_AUDIO_CODECAPI AACContext::codec_api

Definition at line 34 of file libvo-aacenc.c.

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

int AACContext::dmono_mode

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

Definition at line 312 of file aac.h.

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

int AACContext::eld_sbr

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

Referenced by aac_encode_init().

VO_PBYTE AACContext::end_buffer

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

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

FmtConvertContext AACContext::fmt_conv

Definition at line 294 of file aac.h.

Referenced by aac_decode_init().

int AACContext::force_dmono_mode

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

Definition at line 311 of file aac.h.

Referenced by aac_decode_frame().

AVFrame* AACContext::frame

Definition at line 265 of file aac.h.

Referenced by aac_decode_frame_int(), and frame_configure_elements().

HANDLE_AACENCODER AACContext::handle

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

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

VO_HANDLE AACContext::handle

Definition at line 35 of file libvo-aacenc.c.

int AACContext::header_period

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

Referenced by aac_encode_init().

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

Definition at line 321 of file aac.h.

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

int AACContext::is_saved

Set if elements have stored overlap from previous frame.

Definition at line 267 of file aac.h.

int AACContext::last_frame

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

Referenced by aac_encode_frame(), and aac_encode_init().

int AACContext::last_samples

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

Referenced by aac_encode_frame().

int AACContext::latm

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

Referenced by aac_encode_init().

FFTContext AACContext::mdct

Definition at line 291 of file aac.h.

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

FFTContext AACContext::mdct_ltp

Definition at line 293 of file aac.h.

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

FFTContext AACContext::mdct_small

Definition at line 292 of file aac.h.

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

VO_MEM_OPERATOR AACContext::mem_operator

Definition at line 36 of file libvo-aacenc.c.

Referenced by aac_encode_init().

SingleChannelElement* AACContext::output_element[MAX_CHANNELS]

Points to each SingleChannelElement.

Definition at line 303 of file aac.h.

Referenced by che_configure(), and frame_configure_elements().

int AACContext::random_state

Definition at line 296 of file aac.h.

Referenced by aac_decode_init(), and decode_spectrum_and_dequant().

int AACContext::signaling

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

Referenced by aac_encode_init().

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

Definition at line 275 of file aac.h.

Referenced by get_che(), and output_configure().

int AACContext::tags_mapped

Definition at line 276 of file aac.h.

Referenced by aac_decode_frame_int(), and get_che().

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

Definition at line 327 of file aac.h.

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

VO_CODEC_INIT_USERDATA AACContext::user_data

Definition at line 37 of file libvo-aacenc.c.

Referenced by aac_encode_init().

int AACContext::vbr

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

Referenced by aac_encode_init().

int AACContext::warned_num_aac_frames

Definition at line 318 of file aac.h.

Referenced by parse_adts_frame_header().

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

Definition at line 325 of file aac.h.

Referenced by aacdec_init(), and apply_ltp().


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