#include <ac3dsp.h>
Set each encoded exponent in a block to the minimum of itself and the exponents in the same frequency bin of up to 5 following blocks.
Definition at line 43 of file ac3dsp.h.
Referenced by encode_exponents(), ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and ff_ac3dsp_init_x86().
Calculate the maximum MSB of the absolute value of each element in an array of int16_t.
Definition at line 54 of file ac3dsp.h.
Referenced by ff_ac3dsp_init(), ff_ac3dsp_init_arm(), ff_ac3dsp_init_x86(), and normalize_samples().
Left-shift each value in an array of int16_t by a specified amount.
Definition at line 65 of file ac3dsp.h.
Referenced by ff_ac3dsp_init(), ff_ac3dsp_init_arm(), ff_ac3dsp_init_x86(), and normalize_samples().
Right-shift each value in an array of int32_t by a specified amount.
Definition at line 76 of file ac3dsp.h.
Referenced by ff_ac3dsp_init(), ff_ac3dsp_init_arm(), ff_ac3dsp_init_x86(), and scale_coefficients().
Convert an array of float in range [-1.0,1.0] to int32_t with range [-(1<<24),(1<<24)].
Definition at line 89 of file ac3dsp.h.
Referenced by apply_channel_coupling(), ff_ac3dsp_init(), ff_ac3dsp_init_arm(), ff_ac3dsp_init_mips(), ff_ac3dsp_init_x86(), and scale_coefficients().
Calculate bit allocation pointers.
The SNR is the difference between the masking curve and the signal. AC-3 uses this value for each frequency bin to allocate bits. The snroffset parameter is a global adjustment to the SNR for all bins.
Definition at line 106 of file ac3dsp.h.
Referenced by bit_alloc(), decode_audio_block(), ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and ff_ac3dsp_init_mips().
Update bap counts using the supplied array of bap.
Definition at line 117 of file ac3dsp.h.
Referenced by count_mantissa_bits_update_ch(), ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and ff_ac3dsp_init_mips().
Calculate the number of bits needed to encode a set of mantissas.
Definition at line 125 of file ac3dsp.h.
Referenced by count_mantissa_bits(), ff_ac3dsp_init(), and ff_ac3dsp_init_x86().
Definition at line 127 of file ac3dsp.h.
Referenced by apply_channel_coupling(), extract_exponents(), ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and ff_ac3dsp_init_x86().
Definition at line 129 of file ac3dsp.h.
Referenced by ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and sum_square_butterfly().
Definition at line 132 of file ac3dsp.h.
Referenced by ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and sum_square_butterfly().
Definition at line 135 of file ac3dsp.h.
Referenced by decode_audio_block(), ff_ac3dsp_init(), ff_ac3dsp_init_mips(), and ff_ac3dsp_init_x86().
Definition at line 138 of file ac3dsp.h.
Referenced by ff_ac3dsp_init().
Apply symmetric window in 16-bit fixed-point.
Definition at line 152 of file ac3dsp.h.
Referenced by apply_mdct(), ff_ac3dsp_init(), ff_ac3dsp_init_arm(), and ff_ac3dsp_init_x86().