Home
last modified time | relevance | path

Searched refs:samples_align (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavresample/
Daudio_convert.c57 int samples_align; member
72 int ptr_align, int samples_align, in ff_audio_convert_set_func() argument
84 ac->samples_align = samples_align; in ff_audio_convert_set_func()
85 if (ptr_align == 1 && samples_align == 1) { in ff_audio_convert_set_func()
100 ac->samples_align = samples_align; in ff_audio_convert_set_func()
101 if (ptr_align == 1 && samples_align == 1) { in ff_audio_convert_set_func()
116 ac->samples_align = samples_align; in ff_audio_convert_set_func()
117 if (ptr_align == 1 && samples_align == 1) { in ff_audio_convert_set_func()
333 int samples_align = FFMIN(in->samples_align, out->samples_align); in ff_audio_convert() local
334 int aligned_len = FFALIGN(len, ac->samples_align); in ff_audio_convert()
[all …]
Ddither.c74 int samples_align; member
233 FFALIGN(nb_samples, c->samples_align)); in convert_samples()
281 int samples_align = FFMIN(flt_data->samples_align, c->s16_data->samples_align); in ff_convert_dither() local
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()
286 c->samples_align = c->ddsp.samples_align; in ff_convert_dither()
289 c->samples_align = 1; in ff_convert_dither()
334 ddsp->samples_align = 1; in dither_init()
Daudio_mix.c43 int samples_align; member
63 int out_channels, int ptr_align, int samples_align, in ff_audio_mix_set_func() argument
73 am->samples_align = samples_align; in ff_audio_mix_set_func()
74 if (ptr_align == 1 && samples_align == 1) { in ff_audio_mix_set_func()
437 int aligned_len = FFALIGN(len, am->samples_align); in ff_audio_mix()
439 src->samples_align >= aligned_len) { in ff_audio_mix()
Ddither.h41 int samples_align; ///< len constraints for quantize() member
Daudio_convert.h50 int ptr_align, int samples_align,
Daudio_mix.h56 int out_channels, int ptr_align, int samples_align,
Daudio_data.h54 int samples_align; /**< allocated samples alignment */ member
Daudio_data.c114 a->samples_align = plane_size / a->stride; in ff_audio_data_init()
212 a->samples_align = plane_size / a->stride; in ff_audio_data_realloc()
/third_party/ffmpeg/libavfilter/x86/
Daf_volume_init.c44 vol->samples_align = 8; in ff_volume_init_x86()
49 vol->samples_align = 4; in ff_volume_init_x86()
53 vol->samples_align = 4; in ff_volume_init_x86()
57 vol->samples_align = 8; in ff_volume_init_x86()
/third_party/ffmpeg/libavfilter/
Daf_amultiply.c39 int samples_align; member
102 plane_samples = FFALIGN(s->frames[0]->nb_samples, s->samples_align); in activate()
104 plane_samples = FFALIGN(s->frames[0]->nb_samples * s->channels, s->samples_align); in activate()
165 s->samples_align = 16; in config_output()
Daf_volume.c228 vol->samples_align = 1; in volume_init()
247 vol->samples_align = 4; in volume_init()
250 vol->samples_align = 8; in volume_init()
427 plane_samples = FFALIGN(nb_samples, vol->samples_align); in filter_frame()
429 plane_samples = FFALIGN(nb_samples * vol->channels, vol->samples_align); in filter_frame()
Daf_volume.h88 int samples_align; member
/third_party/ffmpeg/libavresample/x86/
Ddither_init.c42 ddsp->samples_align = 8; in ff_dither_init_x86()