FFmpeg
Public Attributes | List of all members
DitherContext Struct Reference

Public Attributes

DitherDSPContext ddsp
 
enum AVResampleDitherMethod method
 
int apply_map
 
ChannelMapInfoch_map_info
 
int mute_dither_threshold
 
int mute_reset_threshold
 
const float * ns_coef_b
 
const float * ns_coef_a
 
int channels
 
DitherStatestate
 
AudioDataflt_data
 
AudioDatas16_data
 
AudioConvertac_in
 
AudioConvertac_out
 
void(* quantize )(int16_t *dst, const float *src, float *dither, int len)
 
int samples_align
 
int method
 
int noise_pos
 
float scale
 
float noise_scale
 Noise scale.
 
int ns_taps
 Noise shaping dither taps.
 
float ns_scale
 Noise shaping dither scale.
 
float ns_scale_1
 Noise shaping dither scale^-1.
 
int ns_pos
 Noise shaping dither position.
 
float ns_coeffs [NS_TAPS]
 Noise shaping filter coefficients.
 
float ns_errors [SWR_CH_MAX][2 *NS_TAPS]
 
AudioData noise
 noise used for dithering
 
AudioData temp
 temporary storage when writing into the input buffer isn't possible
 
int output_sample_bits
 the number of used output bits, needed to scale dither correctly
 

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