Commit f01cef70 authored by lintervo's avatar lintervo
Browse files

Fix scaling of proto_matrix_int_fx

parent 63c3246f
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4666,7 +4666,13 @@ void ivas_jbm_dec_prepare_renderer(
        }
        ELSE IF( EQ_16( st_ivas->mc_mode, MC_MODE_PARAMMC ) )
        {
            scale_sig32( st_ivas->hParamMC->proto_matrix_int_fx, st_ivas->hParamMC->proto_matrix_int_len, -1 ); // Q(31-1)
            st_ivas->hParamMC->proto_matrix_int_e = 1;
            move16();

            ivas_param_mc_dec_prepare_renderer( st_ivas, (UWord8) n_render_timeslots );

            scale_sig32( st_ivas->hParamMC->proto_matrix_int_fx, st_ivas->hParamMC->proto_matrix_int_len, 1 ); // Q(31-1+1)
        }
        ELSE IF( EQ_16( st_ivas->mc_mode, MC_MODE_MCMASA ) )
        {