Loading lib_dec/ivas_stereo_mdct_stereo_dec.c +8 −0 Original line number Diff line number Diff line Loading @@ -333,11 +333,19 @@ void stereo_decoder_tcx( if ( ( nrgRatio > 1.0f ) && ( k < ( ( core_r == TCX_20_CORE ) ? 1 : NB_DIV ) ) ) { #ifdef FIX_TCX10_STEREO_PROC v_multc( spec_r[k], nrgRatio, spec_r[k], L_frameTCX_r ); #else v_multc( spec_r[k], nrgRatio, spec_r[k], L_frame / ( ( core_r == TCX_20_CORE ) ? 1 : NB_DIV ) ); #endif } else if ( ( nrgRatio < 1.0f ) && ( k < ( ( core_l == TCX_20_CORE ) ? 1 : NB_DIV ) ) ) { #ifdef FIX_TCX10_STEREO_PROC v_multc( spec_l[k], 1.0f / nrgRatio, spec_l[k], L_frameTCX_l ); #else v_multc( spec_l[k], 1.0f / nrgRatio, spec_l[k], L_frame / ( ( core_l == TCX_20_CORE ) ? 1 : NB_DIV ) ); #endif } } } /* for k */ Loading Loading
lib_dec/ivas_stereo_mdct_stereo_dec.c +8 −0 Original line number Diff line number Diff line Loading @@ -333,11 +333,19 @@ void stereo_decoder_tcx( if ( ( nrgRatio > 1.0f ) && ( k < ( ( core_r == TCX_20_CORE ) ? 1 : NB_DIV ) ) ) { #ifdef FIX_TCX10_STEREO_PROC v_multc( spec_r[k], nrgRatio, spec_r[k], L_frameTCX_r ); #else v_multc( spec_r[k], nrgRatio, spec_r[k], L_frame / ( ( core_r == TCX_20_CORE ) ? 1 : NB_DIV ) ); #endif } else if ( ( nrgRatio < 1.0f ) && ( k < ( ( core_l == TCX_20_CORE ) ? 1 : NB_DIV ) ) ) { #ifdef FIX_TCX10_STEREO_PROC v_multc( spec_l[k], 1.0f / nrgRatio, spec_l[k], L_frameTCX_l ); #else v_multc( spec_l[k], 1.0f / nrgRatio, spec_l[k], L_frame / ( ( core_l == TCX_20_CORE ) ? 1 : NB_DIV ) ); #endif } } } /* for k */ Loading