Commit a7cf377d authored by lintervo's avatar lintervo
Browse files

Fix issues

parent c66f7186
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4236,7 +4236,7 @@ ivas_error IVAS_DEC_SetEditableParameters(
                }

                /* Detect gain editing in Param-ISM mode */
                IF( GT_16( abs( sub( ONE_IN_Q12, shr( extract_h( hIvasEditableParameters.ism_metadata[obj].gain_fx ), Q1 ) ) ), OMASA_GAIN_EDIT_THR_FX ) ) // TODO: check Q values
                IF( GT_16( abs_s( sub( ONE_IN_Q12, shr( extract_h( hIvasEditableParameters.ism_metadata[obj].gain_fx ), Q1 ) ) ), OMASA_GAIN_EDIT_THR_FX ) ) // TODO: check Q values
                {
                    hIvasDec->st_ivas->hMasaIsmData->ism_gain_is_edited_fx[obj] = 1;
                }
+1 −1
Original line number Diff line number Diff line
@@ -704,7 +704,7 @@ static void TDREND_SRC_SPATIAL_SetGain(
    const Word32 Gain          /* i  : Front-pointing vector                 */
)
{
    Src_p->SrcRend_p->SrcGain_p_fx[0] = add( shl_sat( extract_h( Gain ), Q1 ), 1 ); // TODO: Check incoming Q-value and fix this
    Src_p->SrcRend_p->SrcGain_p_fx[0] = shl_sat( extract_h( Gain ), Q1 ); // TODO: Check incoming Q-value and fix this
}
#endif