diff options
author | bmdivya100655 <89966460+bmdivya100655@users.noreply.github.com> | 2023-06-23 17:54:31 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 17:54:31 +0530 |
commit | b2e7201907672e06268b5e31e72ad57628d38b23 (patch) | |
tree | 9502a1ea1f69118f7d1d1cf97735a6d767b3f825 /encoder/ixheaace_mps_dct.c | |
parent | 088122e74858fcefb74ada4e7f2cf20307cb0057 (diff) | |
download | libxaac-b2e7201907672e06268b5e31e72ad57628d38b23.tar.gz |
Encoder Enhancements (#34)
* Removed BUILD_ARM64 macro dependency
* Code refactoring
* Minor bug fixes
Co-authored-by: Divya B M <100655@ittiam.com>
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 064616c..2dfd0e6 100644 --- a/encoder/ixheaace_mps_dct.c +++ b/encoder/ixheaace_mps_dct.c @@ -103,7 +103,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); @@ -183,7 +183,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); |