Searched refs:r_mag (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | af_surround.c | 386 float l_mag, r_mag, *dstl, *dstr; in upmix_stereo() local 392 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_stereo() 397 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_stereo() 398 dstr[2 * n + 1] = r_mag * sinf(r_phase); in upmix_stereo() 410 float lfe_mag, l_mag, r_mag, *dstl, *dstr, *dstlfe; in upmix_2_1() local 419 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_2_1() 424 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_2_1() 425 dstr[2 * n + 1] = r_mag * sinf(r_phase); in upmix_2_1() 440 float l_mag, r_mag, c_mag, *dstc, *dstl, *dstr; in upmix_3_0() local 448 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_3_0() [all …]
|