Loading lib_com/ari_hm.c +4 −0 Original line number Diff line number Diff line Loading @@ -299,7 +299,11 @@ void tcx_hm_modify_envelope( int32_t tmp; #endif #ifdef FIX_966_VAR_OVERFLOW_IN_HARM_MODEL_ARI for ( x = (int16_t) max( 0, k - kTcxHmParabolaHalfWidth ); x <= (int16_t) min( k + kTcxHmParabolaHalfWidth, L_frame - 1 ); ++x ) #else for ( x = max( 0, k - kTcxHmParabolaHalfWidth ); x <= min( k + kTcxHmParabolaHalfWidth, L_frame - 1 ); ++x ) #endif { env[x] = Mpy_32_16( env[x], inv_shape[x - k + kTcxHmParabolaHalfWidth] ); } Loading Loading
lib_com/ari_hm.c +4 −0 Original line number Diff line number Diff line Loading @@ -299,7 +299,11 @@ void tcx_hm_modify_envelope( int32_t tmp; #endif #ifdef FIX_966_VAR_OVERFLOW_IN_HARM_MODEL_ARI for ( x = (int16_t) max( 0, k - kTcxHmParabolaHalfWidth ); x <= (int16_t) min( k + kTcxHmParabolaHalfWidth, L_frame - 1 ); ++x ) #else for ( x = max( 0, k - kTcxHmParabolaHalfWidth ); x <= min( k + kTcxHmParabolaHalfWidth, L_frame - 1 ); ++x ) #endif { env[x] = Mpy_32_16( env[x], inv_shape[x - k + kTcxHmParabolaHalfWidth] ); } Loading