Lines Matching defs:DitherContext
54 struct DitherContext { struct
55 DitherDSPContext ddsp;
56 enum AVResampleDitherMethod method;
57 int apply_map;
58 ChannelMapInfo *ch_map_info;
60 int mute_dither_threshold; // threshold for disabling dither
61 int mute_reset_threshold; // threshold for resetting noise shaping
62 const float *ns_coef_b; // noise shaping coeffs
63 const float *ns_coef_a; // noise shaping coeffs
65 int channels;
66 DitherState *state; // dither states for each channel
68 AudioData *flt_data; // input data in fltp
69 AudioData *s16_data; // dithered output in s16p
70 AudioConvert *ac_in; // converter for input to fltp
71 AudioConvert *ac_out; // converter for s16p to s16 (if needed)
73 void (*quantize)(int16_t *dst, const float *src, float *dither, int len);
74 int samples_align;