ref: cfc8e300385bb8b5913763c0f559713c5d99c98d
parent: 468327d726b68d92be68a3984ed5ab586bdf5ad3
author: Jean-Marc Valin <[email protected]>
date: Mon Feb 13 20:32:19 EST 2017
Rename y0/y1 to out0/out1 to avoid name clash with the Bessel functions
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -417,7 +417,7 @@
m3 = hp_mem[3];
for (i=0;i<len;i++)
{
- opus_val32 x0, x1, tmp0, tmp1, y0, y1;
+ opus_val32 x0, x1, tmp0, tmp1, out0, out1;
x0 = in[2*i+0];
x1 = in[2*i+1];
/* First stage */
@@ -426,12 +426,12 @@
m0 = coef*x0 + VERY_SMALL + coef2*m0;
m2 = coef*x1 + VERY_SMALL + coef2*m2;
/* Second stage */
- y0 = tmp0 - m1;
- y1 = tmp1 - m3;
+ out0 = tmp0 - m1;
+ out1 = tmp1 - m3;
m1 = coef*tmp0 + VERY_SMALL + coef2*m1;
m3 = coef*tmp1 + VERY_SMALL + coef2*m3;
- out[2*i+0] = y0;
- out[2*i+1] = y1;
+ out[2*i+0] = out0;
+ out[2*i+1] = out1;
}
hp_mem[0] = m0;
hp_mem[1] = m1;