diff options
author | Nikhil Bhavikatti <97579291+nikhil-bhavikatti@users.noreply.github.com> | 2023-07-21 19:29:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 19:29:46 +0530 |
commit | af3f10a9bee9caceb59a4a5423d06f01f533a30e (patch) | |
tree | 8add0c97a54ed6a7a042f2ba760cadfdddce7ef5 /encoder/ixheaace_mps_dct.c | |
parent | 797de4d1e90e8bcfc19fdae6923a116d761ba0d5 (diff) | |
download | libxaac-af3f10a9bee9caceb59a4a5423d06f01f533a30e.tar.gz |
Encoder enhancements for USAC along with DRC (#38)
Diffstat (limited to 'encoder/ixheaace_mps_dct.c')
-rw-r--r-- | encoder/ixheaace_mps_dct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/encoder/ixheaace_mps_dct.c b/encoder/ixheaace_mps_dct.c index e296fb9..40f98f5 100644 --- a/encoder/ixheaace_mps_dct.c +++ b/encoder/ixheaace_mps_dct.c @@ -102,7 +102,7 @@ IA_ERRORCODE ixheaace_mps_212_dct_iv(FLOAT32 *ptr_data, WORD32 length, WORD8 *pt accu_2 = ptr_data_1[1]; ptr_data_1[1] = -ptr_data_0[1]; - for (step = sin_step, idx = 1; idx < (length_by_2 + 1) >> 1; idx++, step += sin_step) { + for (step = sin_step, idx = 1; idx<(length_by_2 + 1)>> 1; idx++, step += sin_step) { ixheaace_cmplx_str twd = ptr_cmplx_sin_twiddle[step]; accu_3 = (accu_1 * twd.re) - (accu_2 * twd.im); accu_4 = (accu_1 * twd.im) + (accu_2 * twd.re); @@ -182,7 +182,7 @@ IA_ERRORCODE ixheaace_mps_212_dst_iv(FLOAT32 *ptr_data, WORD32 length, WORD8 *pt ptr_data_1[1] = -ptr_data_0[0]; ptr_data_0[0] = ptr_data_0[1]; - for (step = sin_step, idx = 1; idx < (length_by_2 + 1) >> 1; idx++, step += sin_step) { + for (step = sin_step, idx = 1; idx<(length_by_2 + 1)>> 1; idx++, step += sin_step) { ixheaace_cmplx_str twd = ptr_cmplx_sin_twiddle[step]; accu_3 = (accu_1 * twd.re) - (accu_2 * twd.im); |