From c3be3a0f44b2d8a911b67353bd1ceeea4d631964 Mon Sep 17 00:00:00 2001 From: Sandesh Venkatesh Date: Wed, 24 Jan 2024 17:58:22 +0530 Subject: [PATCH] Fix for high MLD issue observed with few files --- lib_rend/ivas_rotation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_rend/ivas_rotation.c b/lib_rend/ivas_rotation.c index f320c4a52..6f7c0ddf7 100644 --- a/lib_rend/ivas_rotation.c +++ b/lib_rend/ivas_rotation.c @@ -773,7 +773,7 @@ void rotateFrame_sd( /* output channel index without LFE */ ch_out_woLFE = ( ch_out >= index_lfe ) ? ch_out - 1 : ch_out; - gains_prev_fx[ch_in][ch_out] = tmp_gains_fx[ch_out_woLFE]; + gains_prev_fx[ch_in][ch_out] = L_shr( tmp_gains_fx[ch_out_woLFE], Q2 ); // Adjusting Q30 -> Q28 } } @@ -798,7 +798,7 @@ void rotateFrame_sd( /* output channel index without LFE */ ch_out_woLFE = ( ch_out >= index_lfe ) ? ch_out - 1 : ch_out; - gains_fx[ch_in][ch_out] = tmp_gains_fx[ch_out_woLFE]; + gains_fx[ch_in][ch_out] = L_shr( tmp_gains_fx[ch_out_woLFE], Q2 ); // Adjusting Q30 -> Q28 } } } -- GitLab