Lines Matching defs:ddsp
55 DitherDSPContext ddsp;
164 c->ddsp.dither_int_to_float(state->noise_buf, noise_buf_ui, nb_samples);
282 int aligned_len = FFALIGN(src->nb_samples, c->ddsp.samples_align);
284 if (!(ptr_align % c->ddsp.ptr_align) && samples_align >= aligned_len) {
285 c->quantize = c->ddsp.quantize;
286 c->samples_align = c->ddsp.samples_align;
329 static av_cold void dither_init(DitherDSPContext *ddsp,
332 ddsp->quantize = quantize_c;
333 ddsp->ptr_align = 1;
334 ddsp->samples_align = 1;
337 ddsp->dither_int_to_float = dither_int_to_float_rectangular_c;
339 ddsp->dither_int_to_float = dither_int_to_float_triangular_c;
342 ff_dither_init_x86(ddsp, method);
376 dither_init(&c->ddsp, c->method);