FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AACEncContext Struct Reference

AAC encoder context. More...

#include <aacenc.h>

Data Fields

AVClassav_class
 
AACEncOptions options
 encoding options More...
 
PutBitContext pb
 
FFTContext mdct1024
 long (1024 samples) frame transform context More...
 
FFTContext mdct128
 short (128 samples) frame transform context More...
 
AVFloatDSPContextfdsp
 
AVLFG lfg
 PRNG needed for PNS. More...
 
float * planar_samples [8]
 saved preprocessed input More...
 
int profile
 copied from avctx More...
 
LPCContext lpc
 used by TNS More...
 
int samplerate_index
 MPEG-4 samplerate index. More...
 
int channels
 channel count More...
 
const uint8_tchan_map
 channel configuration map More...
 
ChannelElementcpe
 channel elements More...
 
FFPsyContext psy
 
struct FFPsyPreprocessContextpsypp
 
AACCoefficientsEncodercoder
 
int cur_channel
 current channel for coder context More...
 
int last_frame
 
int random_state
 
float lambda
 
int last_frame_pb_count
 number of bits for the previous frame More...
 
float lambda_sum
 sum(lambda), for Qvg reporting More...
 
int lambda_count
 count(lambda), for Qvg reporting More...
 
enum RawDataBlockType cur_type
 channel group type cur_channel belongs to More...
 
AudioFrameQueue afq
 
int qcoefs [96]
 quantized coefficients More...
 
float scoefs [1024]
 scaled coefficients More...
 
AACQuantizeBandCostCacheEntry quantize_band_cost_cache [256][128]
 memoization area for quantize_band_cost More...
 
struct {
   float *   samples
 
buffer
 

Detailed Description

AAC encoder context.

Definition at line 96 of file aacenc.h.

Field Documentation

AVClass* AACEncContext::av_class

Definition at line 97 of file aacenc.h.

AACEncOptions AACEncContext::options

encoding options

Definition at line 98 of file aacenc.h.

Referenced by aac_encode_frame(), aac_encode_init(), ff_aac_coder_init_mips(), and search_for_quantizers_twoloop().

PutBitContext AACEncContext::pb
FFTContext AACEncContext::mdct1024

long (1024 samples) frame transform context

Definition at line 100 of file aacenc.h.

Referenced by aac_encode_end(), aac_encode_frame(), apply_window_and_mdct(), and dsp_init().

FFTContext AACEncContext::mdct128

short (128 samples) frame transform context

Definition at line 101 of file aacenc.h.

Referenced by aac_encode_end(), apply_window_and_mdct(), and dsp_init().

AVFloatDSPContext* AACEncContext::fdsp
AVLFG AACEncContext::lfg

PRNG needed for PNS.

Definition at line 103 of file aacenc.h.

Referenced by aac_encode_init(), and search_for_pns().

float* AACEncContext::planar_samples[8]

saved preprocessed input

Definition at line 104 of file aacenc.h.

Referenced by aac_encode_frame(), alloc_buffers(), copy_input_samples(), ff_aac_ltp_insert_new_frame(), and ff_aac_update_ltp().

int AACEncContext::profile
LPCContext AACEncContext::lpc

used by TNS

Definition at line 107 of file aacenc.h.

Referenced by aac_encode_end(), aac_encode_init(), ff_aac_apply_tns(), and ff_aac_search_for_tns().

int AACEncContext::samplerate_index
int AACEncContext::channels

channel count

Definition at line 109 of file aacenc.h.

Referenced by aac_encode_frame(), aac_encode_init(), alloc_buffers(), copy_input_samples(), and put_audio_specific_config().

const uint8_t* AACEncContext::chan_map

channel configuration map

Definition at line 110 of file aacenc.h.

Referenced by aac_encode_frame(), aac_encode_init(), alloc_buffers(), and ff_aac_ltp_insert_new_frame().

ChannelElement* AACEncContext::cpe

channel elements

Definition at line 112 of file aacenc.h.

Referenced by aac_encode_end(), aac_encode_frame(), alloc_buffers(), and ff_aac_ltp_insert_new_frame().

FFPsyContext AACEncContext::psy
struct FFPsyPreprocessContext* AACEncContext::psypp

Definition at line 114 of file aacenc.h.

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

AACCoefficientsEncoder* AACEncContext::coder
int AACEncContext::cur_channel
int AACEncContext::last_frame

Definition at line 117 of file aacenc.h.

Referenced by aac_encode_frame().

int AACEncContext::random_state

Definition at line 118 of file aacenc.h.

float AACEncContext::lambda
int AACEncContext::last_frame_pb_count

number of bits for the previous frame

Definition at line 120 of file aacenc.h.

Referenced by aac_encode_frame(), and aac_encode_init().

float AACEncContext::lambda_sum

sum(lambda), for Qvg reporting

Definition at line 121 of file aacenc.h.

Referenced by aac_encode_end(), and aac_encode_frame().

int AACEncContext::lambda_count

count(lambda), for Qvg reporting

Definition at line 122 of file aacenc.h.

Referenced by aac_encode_end(), and aac_encode_frame().

enum RawDataBlockType AACEncContext::cur_type

channel group type cur_channel belongs to

Definition at line 123 of file aacenc.h.

Referenced by aac_encode_frame(), and search_for_quantizers_twoloop().

AudioFrameQueue AACEncContext::afq

Definition at line 125 of file aacenc.h.

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

int AACEncContext::qcoefs[96]

quantized coefficients

Definition at line 126 of file aacenc.h.

Referenced by quantize_and_encode_band_cost_template().

float AACEncContext::scoefs[1024]
AACQuantizeBandCostCacheEntry AACEncContext::quantize_band_cost_cache[256][128]

memoization area for quantize_band_cost

Definition at line 129 of file aacenc.h.

Referenced by ff_quantize_band_cost_cache_init(), and quantize_band_cost_cached().

float* AACEncContext::samples

Definition at line 132 of file aacenc.h.

Referenced by aac_encode_end(), and alloc_buffers().

struct { ... } AACEncContext::buffer

Referenced by aac_encode_end(), and alloc_buffers().


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