|
AVClass * | av_class |
| AVClass used for AVOption. More...
|
|
AC3EncOptions | options |
| encoding options More...
|
|
AVCodecContext * | avctx |
| parent AVCodecContext 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 |
|
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...
|
|
uint8_t * | planar_samples [AC3_MAX_CHANNELS - 1] |
|
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_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...
|
|
void(* | encode_frame )(struct AC3EncodeContext *s, uint8_t *const *samples) |
| fixed vs. More...
|
|
void(* | output_frame_header )(struct AC3EncodeContext *s, struct PutBitContext *pb) |
|
union { |
float mdct_window_float [AC3_BLOCK_SIZE] |
|
int32_t mdct_window_fixed [AC3_BLOCK_SIZE] |
|
}; | |
|
union { |
float windowed_samples_float [AC3_WINDOW_SIZE] |
|
int32_t windowed_samples_fixed [AC3_WINDOW_SIZE] |
|
}; | |
|