Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dac3dec.c378 float downmix_coeffs[2][AC3_MAX_CHANNELS]; in set_downmix_coeffs() local
380 if (!s->downmix_coeffs[0]) { in set_downmix_coeffs()
381 s->downmix_coeffs[0] = av_malloc_array(2 * AC3_MAX_CHANNELS, in set_downmix_coeffs()
382 sizeof(**s->downmix_coeffs)); in set_downmix_coeffs()
383 if (!s->downmix_coeffs[0]) in set_downmix_coeffs()
385 s->downmix_coeffs[1] = s->downmix_coeffs[0] + AC3_MAX_CHANNELS; in set_downmix_coeffs()
389 downmix_coeffs[0][i] = gain_levels[ac3_default_coeffs[s->channel_mode][i][0]]; in set_downmix_coeffs()
390 downmix_coeffs[1][i] = gain_levels[ac3_default_coeffs[s->channel_mode][i][1]]; in set_downmix_coeffs()
393 downmix_coeffs[0][1] = downmix_coeffs[1][1] = cmix; in set_downmix_coeffs()
397 downmix_coeffs[0][nf] = downmix_coeffs[1][nf] = smix * LEVEL_MINUS_3DB; in set_downmix_coeffs()
[all …]
Dac3dec.h167 SHORTFLOAT *downmix_coeffs[2]; ///< stereo downmix coefficients member