FFmpeg
|
AC-3 encoder private context. More...
#include <ac3enc.h>
Data Fields | |
AVClass * | av_class |
AVClass used for AVOption. More... | |
AC3EncOptions | options |
encoding options More... | |
AVCodecContext * | avctx |
parent AVCodecContext More... | |
PutBitContext | pb |
bitstream writer context More... | |
AudioDSPContext | adsp |
AVFixedDSPContext * | fdsp |
MECmpContext | mecc |
AC3DSPContext | ac3dsp |
AC-3 optimized functions. More... | |
AVTXContext * | tx |
FFT context for MDCT calculation. More... | |
av_tx_fn | tx_fn |
const SampleType * | mdct_window |
MDCT window function array. More... | |
AC3Block | blocks [AC3_MAX_BLOCKS] |
per-block info More... | |
int | fixed_point |
indicates if fixed-point encoder is being used More... | |
int | eac3 |
indicates if this is E-AC-3 vs. AC-3 More... | |
int | bitstream_id |
bitstream id (bsid) More... | |
int | bitstream_mode |
bitstream mode (bsmod) More... | |
int | bit_rate |
target bit rate, in bits-per-second More... | |
int | sample_rate |
sampling frequency, in Hz More... | |
int | num_blks_code |
number of blocks code (numblkscod) More... | |
int | num_blocks |
number of blocks per frame More... | |
int | frame_size_min |
minimum frame size in case rounding is necessary More... | |
int | frame_size |
current frame size in bytes More... | |
int | frame_size_code |
frame size code (frmsizecod) More... | |
uint16_t | crc_inv [2] |
int64_t | bits_written |
bit count (used to avg. bitrate) More... | |
int64_t | samples_written |
sample count (used to avg. bitrate) More... | |
int | fbw_channels |
number of full-bandwidth channels (nfchans) More... | |
int | channels |
total number of channels (nchans) More... | |
int | lfe_on |
indicates if there is an LFE channel (lfeon) More... | |
int | lfe_channel |
channel index of the LFE channel More... | |
int | has_center |
indicates if there is a center channel More... | |
int | has_surround |
indicates if there are one or more surround channels More... | |
int | channel_mode |
channel mode (acmod) More... | |
const uint8_t * | channel_map |
channel map used to reorder channels More... | |
int | center_mix_level |
center mix level code More... | |
int | surround_mix_level |
surround mix level code More... | |
int | ltrt_center_mix_level |
Lt/Rt center mix level code. More... | |
int | ltrt_surround_mix_level |
Lt/Rt surround mix level code. More... | |
int | loro_center_mix_level |
Lo/Ro center mix level code. More... | |
int | loro_surround_mix_level |
Lo/Ro surround mix level code. More... | |
int | cutoff |
user-specified cutoff frequency, in Hz More... | |
int | bandwidth_code |
bandwidth code (0 to 60) (chbwcod) More... | |
int | start_freq [AC3_MAX_CHANNELS] |
start frequency bin (strtmant) More... | |
int | cpl_end_freq |
coupling channel end frequency bin More... | |
int | cpl_on |
coupling turned on for this frame More... | |
int | cpl_enabled |
coupling enabled for all frames More... | |
int | num_cpl_subbands |
number of coupling subbands (ncplsubnd) More... | |
int | num_cpl_bands |
number of coupling bands (ncplbnd) More... | |
uint8_t | cpl_band_sizes [AC3_MAX_CPL_BANDS] |
number of coeffs in each coupling band More... | |
int | rematrixing_enabled |
stereo rematrixing enabled More... | |
int | slow_gain_code |
slow gain code (sgaincod) More... | |
int | slow_decay_code |
slow decay code (sdcycod) More... | |
int | fast_decay_code |
fast decay code (fdcycod) More... | |
int | db_per_bit_code |
dB/bit code (dbpbcod) More... | |
int | floor_code |
floor code (floorcod) More... | |
AC3BitAllocParameters | bit_alloc |
bit allocation parameters More... | |
int | coarse_snr_offset |
coarse SNR offsets (csnroffst) More... | |
int | fast_gain_code [AC3_MAX_CHANNELS] |
fast gain codes (signal-to-mask ratio) (fgaincod) More... | |
int | fine_snr_offset [AC3_MAX_CHANNELS] |
fine SNR offsets (fsnroffst) More... | |
int | frame_bits_fixed |
number of non-coefficient bits for fixed parameters More... | |
int | frame_bits |
all frame bits except exponents and mantissas More... | |
int | exponent_bits |
number of bits used for exponents More... | |
SampleType * | windowed_samples |
SampleType ** | planar_samples |
uint8_t * | bap_buffer |
uint8_t * | bap1_buffer |
CoefType * | mdct_coef_buffer |
int32_t * | fixed_coef_buffer |
uint8_t * | exp_buffer |
uint8_t * | grouped_exp_buffer |
int16_t * | psd_buffer |
int16_t * | band_psd_buffer |
int16_t * | mask_buffer |
int16_t * | qmant_buffer |
uint8_t * | cpl_coord_exp_buffer |
uint8_t * | cpl_coord_mant_buffer |
uint8_t | exp_strategy [AC3_MAX_CHANNELS][AC3_MAX_BLOCKS] |
exponent strategies More... | |
uint8_t | frame_exp_strategy [AC3_MAX_CHANNELS] |
frame exp strategy index More... | |
int | use_frame_exp_strategy |
indicates use of frame exp strategy More... | |
uint8_t | exp_ref_block [AC3_MAX_CHANNELS][AC3_MAX_BLOCKS] |
reference blocks for EXP_REUSE More... | |
uint8_t * | ref_bap [AC3_MAX_CHANNELS][AC3_MAX_BLOCKS] |
bit allocation pointers (bap) More... | |
int | ref_bap_set |
indicates if ref_bap pointers have been set More... | |
int | warned_alternate_bitstream |
int(* | mdct_init )(struct AC3EncodeContext *s) |
int(* | allocate_sample_buffers )(struct AC3EncodeContext *s) |
void(* | output_frame_header )(struct AC3EncodeContext *s) |
AVClass* AC3EncodeContext::av_class |
AC3EncOptions AC3EncodeContext::options |
AVCodecContext* AC3EncodeContext::avctx |
parent AVCodecContext
Definition at line 161 of file ac3enc.h.
Referenced by ac3_fixed_encode_init(), encode_frame(), and ff_ac3_float_encode_init().
PutBitContext AC3EncodeContext::pb |
AudioDSPContext AC3EncodeContext::adsp |
Definition at line 163 of file ac3enc.h.
Referenced by clip_coefficients().
AVFixedDSPContext* AC3EncodeContext::fdsp |
MECmpContext AC3EncodeContext::mecc |
AC3DSPContext AC3EncodeContext::ac3dsp |
AVTXContext* AC3EncodeContext::tx |
const SampleType* AC3EncodeContext::mdct_window |
AC3Block AC3EncodeContext::blocks[AC3_MAX_BLOCKS] |
int AC3EncodeContext::fixed_point |
int AC3EncodeContext::eac3 |
int AC3EncodeContext::bitstream_mode |
int AC3EncodeContext::bit_rate |
int AC3EncodeContext::sample_rate |
int AC3EncodeContext::num_blks_code |
int AC3EncodeContext::num_blocks |
number of blocks per frame
Definition at line 186 of file ac3enc.h.
Referenced by apply_channel_coupling().
int AC3EncodeContext::frame_size_min |
int AC3EncodeContext::frame_size |
int AC3EncodeContext::frame_size_code |
int64_t AC3EncodeContext::bits_written |
int64_t AC3EncodeContext::samples_written |
int AC3EncodeContext::fbw_channels |
int AC3EncodeContext::channels |
int AC3EncodeContext::lfe_on |
int AC3EncodeContext::lfe_channel |
int AC3EncodeContext::has_center |
int AC3EncodeContext::has_surround |
const uint8_t* AC3EncodeContext::channel_map |
int AC3EncodeContext::center_mix_level |
int AC3EncodeContext::surround_mix_level |
int AC3EncodeContext::ltrt_center_mix_level |
int AC3EncodeContext::ltrt_surround_mix_level |
int AC3EncodeContext::loro_center_mix_level |
int AC3EncodeContext::loro_surround_mix_level |
int AC3EncodeContext::cutoff |
int AC3EncodeContext::bandwidth_code |
int AC3EncodeContext::start_freq[AC3_MAX_CHANNELS] |
int AC3EncodeContext::cpl_end_freq |
coupling channel end frequency bin
Definition at line 213 of file ac3enc.h.
Referenced by apply_channel_coupling().
int AC3EncodeContext::cpl_on |
int AC3EncodeContext::cpl_enabled |
int AC3EncodeContext::num_cpl_subbands |
int AC3EncodeContext::num_cpl_bands |
uint8_t AC3EncodeContext::cpl_band_sizes[AC3_MAX_CPL_BANDS] |
int AC3EncodeContext::rematrixing_enabled |
int AC3EncodeContext::slow_gain_code |
int AC3EncodeContext::slow_decay_code |
int AC3EncodeContext::fast_decay_code |
int AC3EncodeContext::db_per_bit_code |
AC3BitAllocParameters AC3EncodeContext::bit_alloc |
int AC3EncodeContext::coarse_snr_offset |
int AC3EncodeContext::fast_gain_code[AC3_MAX_CHANNELS] |
int AC3EncodeContext::fine_snr_offset[AC3_MAX_CHANNELS] |
int AC3EncodeContext::frame_bits_fixed |
int AC3EncodeContext::frame_bits |
int AC3EncodeContext::exponent_bits |
SampleType* AC3EncodeContext::windowed_samples |
SampleType** AC3EncodeContext::planar_samples |
uint8_t AC3EncodeContext::exp_strategy[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS] |
uint8_t AC3EncodeContext::frame_exp_strategy[AC3_MAX_CHANNELS] |
int AC3EncodeContext::use_frame_exp_strategy |
uint8_t AC3EncodeContext::exp_ref_block[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS] |
uint8_t* AC3EncodeContext::ref_bap[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS] |
int AC3EncodeContext::ref_bap_set |
int(* AC3EncodeContext::mdct_init) (struct AC3EncodeContext *s) |
int(* AC3EncodeContext::allocate_sample_buffers) (struct AC3EncodeContext *s) |
void(* AC3EncodeContext::output_frame_header) (struct AC3EncodeContext *s) |