Home
last modified time | relevance | path

Searched refs:maxcoef (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavresample/
Daudio_mix_matrix.c96 double maxcoef = 0; in avresample_build_matrix() local
281 maxcoef = FFMAX(maxcoef, sum); in avresample_build_matrix()
287 if (normalize && maxcoef > 1.0) { in avresample_build_matrix()
290 matrix_out[i * stride + j] /= maxcoef; in avresample_build_matrix()
/third_party/ffmpeg/libswresample/
Drematrix.c128 double maxcoef=0; in swr_build_matrix() local
331 maxcoef= FFMAX(maxcoef, sum); in swr_build_matrix()
335 maxcoef = -rematrix_volume; in swr_build_matrix()
337 if(maxcoef > maxval || rematrix_volume < 0){ in swr_build_matrix()
338 maxcoef /= maxval; in swr_build_matrix()
341 matrix_param[stride*i + j] /= maxcoef; in swr_build_matrix()