diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-02-14 01:32:19 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-02-14 01:32:19 -0500 |
commit | cfc8e300385bb8b5913763c0f559713c5d99c98d (patch) | |
tree | 698d8dedc08559ea94b52a363a77339494e872ad /src | |
parent | 468327d726b68d92be68a3984ed5ab586bdf5ad3 (diff) | |
download | libopus-cfc8e300385bb8b5913763c0f559713c5d99c98d.tar.gz |
Rename y0/y1 to out0/out1 to avoid name clash with the Bessel functions
Diffstat (limited to 'src')
-rw-r--r-- | src/opus_encoder.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index 11558e87..ddeaf05d 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -417,7 +417,7 @@ static void dc_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *ou 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 @@ static void dc_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *ou 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; |