Home
last modified time | relevance | path

Searched refs:ddsp (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavresample/x86/
Ddither_init.c34 av_cold void ff_dither_init_x86(DitherDSPContext *ddsp, in ff_dither_init_x86() argument
40 ddsp->quantize = ff_quantize_sse2; in ff_dither_init_x86()
41 ddsp->ptr_align = 16; in ff_dither_init_x86()
42 ddsp->samples_align = 8; in ff_dither_init_x86()
47 ddsp->dither_int_to_float = ff_dither_int_to_float_rectangular_sse2; in ff_dither_init_x86()
50 ddsp->dither_int_to_float = ff_dither_int_to_float_rectangular_avx; in ff_dither_init_x86()
54 ddsp->dither_int_to_float = ff_dither_int_to_float_triangular_sse2; in ff_dither_init_x86()
57 ddsp->dither_int_to_float = ff_dither_int_to_float_triangular_avx; in ff_dither_init_x86()
/third_party/ffmpeg/libavresample/
Ddither.c55 DitherDSPContext ddsp; member
164 c->ddsp.dither_int_to_float(state->noise_buf, noise_buf_ui, nb_samples); in generate_dither_noise()
282 int aligned_len = FFALIGN(src->nb_samples, c->ddsp.samples_align); in ff_convert_dither()
284 if (!(ptr_align % c->ddsp.ptr_align) && samples_align >= aligned_len) { in ff_convert_dither()
285 c->quantize = c->ddsp.quantize; in ff_convert_dither()
286 c->samples_align = c->ddsp.samples_align; in ff_convert_dither()
329 static av_cold void dither_init(DitherDSPContext *ddsp, in dither_init() argument
332 ddsp->quantize = quantize_c; in dither_init()
333 ddsp->ptr_align = 1; in dither_init()
334 ddsp->samples_align = 1; in dither_init()
[all …]
Ddither.h90 void ff_dither_init_x86(DitherDSPContext *ddsp,