FFmpeg
|
AAC encoder context. More...
#include <aacenc.h>
Data Fields | |
AVClass * | av_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... | |
AVFloatDSPContext * | fdsp |
float * | planar_samples [6] |
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_t * | chan_map |
channel configuration map More... | |
ChannelElement * | cpe |
channel elements More... | |
FFPsyContext | psy |
struct FFPsyPreprocessContext * | psypp |
AACCoefficientsEncoder * | coder |
int | cur_channel |
int | last_frame |
float | lambda |
AudioFrameQueue | afq |
int | qcoefs [96] |
quantized coefficients More... | |
float | scoefs [1024] |
scaled coefficients More... | |
struct { | |
float * samples | |
} | buffer |
AACEncOptions AACEncContext::options |
encoding options
Definition at line 82 of file aacenc.h.
Referenced by aac_encode_frame(), aac_encode_init(), and ff_aac_coder_init_mips().
PutBitContext AACEncContext::pb |
Definition at line 83 of file aacenc.h.
Referenced by aac_encode_frame(), codebook_trellis_rate(), encode_individual_channel(), encode_pulses(), encode_scale_factors(), encode_spectral_coeffs(), encode_window_bands_info(), ff_aac_encode_main_pred(), ff_aac_encode_tns_info(), put_bitstream_info(), and put_ics_info().
FFTContext AACEncContext::mdct1024 |
long (1024 samples) frame transform context
Definition at line 84 of file aacenc.h.
Referenced by aac_encode_end(), apply_window_and_mdct(), and dsp_init().
FFTContext AACEncContext::mdct128 |
short (128 samples) frame transform context
Definition at line 85 of file aacenc.h.
Referenced by aac_encode_end(), apply_window_and_mdct(), and dsp_init().
AVFloatDSPContext* AACEncContext::fdsp |
Definition at line 86 of file aacenc.h.
Referenced by aac_encode_end(), apply_window_and_mdct(), and dsp_init().
float* AACEncContext::planar_samples[6] |
saved preprocessed input
Definition at line 87 of file aacenc.h.
Referenced by aac_encode_frame(), alloc_buffers(), and copy_input_samples().
int AACEncContext::profile |
copied from avctx
Definition at line 89 of file aacenc.h.
Referenced by aac_encode_init(), ff_aac_search_for_tns(), and put_audio_specific_config().
LPCContext AACEncContext::lpc |
used by TNS
Definition at line 90 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 |
MPEG-4 samplerate index.
Definition at line 91 of file aacenc.h.
Referenced by aac_encode_frame(), aac_encode_init(), ff_aac_adjust_common_prediction(), ff_aac_apply_main_pred(), ff_aac_encode_main_pred(), ff_aac_search_for_pred(), ff_aac_search_for_tns(), and put_audio_specific_config().
int AACEncContext::channels |
channel count
Definition at line 92 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 93 of file aacenc.h.
Referenced by aac_encode_frame(), aac_encode_init(), and alloc_buffers().
ChannelElement* AACEncContext::cpe |
channel elements
Definition at line 95 of file aacenc.h.
Referenced by aac_encode_end(), aac_encode_frame(), and alloc_buffers().
FFPsyContext AACEncContext::psy |
Definition at line 96 of file aacenc.h.
Referenced by aac_encode_end(), aac_encode_frame(), aac_encode_init(), encode_window_bands_info(), ff_aac_search_for_pred(), ff_aac_search_for_tns(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), and search_for_quantizers_twoloop().
struct FFPsyPreprocessContext* AACEncContext::psypp |
Definition at line 97 of file aacenc.h.
Referenced by aac_encode_end(), aac_encode_frame(), and aac_encode_init().
AACCoefficientsEncoder* AACEncContext::coder |
Definition at line 98 of file aacenc.h.
Referenced by aac_encode_frame(), aac_encode_init(), encode_band_info(), encode_individual_channel(), encode_spectral_coeffs(), and ff_aac_coder_init_mips().
int AACEncContext::cur_channel |
Definition at line 99 of file aacenc.h.
Referenced by aac_encode_frame(), encode_window_bands_info(), ff_aac_search_for_pred(), ff_aac_search_for_tns(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), and search_for_quantizers_twoloop().
int AACEncContext::last_frame |
Definition at line 100 of file aacenc.h.
Referenced by aac_encode_frame().
float AACEncContext::lambda |
Definition at line 101 of file aacenc.h.
Referenced by aac_encode_frame(), aac_encode_init(), encode_band_info(), encode_spectral_coeffs(), ff_aac_search_for_is(), ff_aac_search_for_pred(), search_for_ms(), and search_for_pns().
AudioFrameQueue AACEncContext::afq |
Definition at line 102 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 103 of file aacenc.h.
Referenced by quantize_and_encode_band_cost_template().
float AACEncContext::scoefs[1024] |
scaled coefficients
Definition at line 104 of file aacenc.h.
Referenced by codebook_trellis_rate(), encode_window_bands_info(), ff_aac_search_for_pred(), quantize_and_encode_band_cost_template(), search_for_ms(), search_for_quantizers_anmr(), search_for_quantizers_faac(), and search_for_quantizers_twoloop().
float* AACEncContext::samples |
Definition at line 107 of file aacenc.h.
Referenced by aac_encode_end(), and alloc_buffers().
struct { ... } AACEncContext::buffer |
Referenced by aac_encode_end(), and alloc_buffers().