Loading lib_enc/ivas_stereo_td_analysis.c +5 −1 Original line number Diff line number Diff line Loading @@ -82,6 +82,10 @@ #define RMS_THR 100 #define RATIO_PG_LRTD 0.96f #ifdef MASA_AND_OBJECTS #define IVAS_BRATE_OMASA_STEREO_SW_THR 15000 #endif /*-------------------------------------------------------------------* * Local function prototypes Loading Loading @@ -202,7 +206,7 @@ int16_t stereo_tdm_ener_analysis( if ( ivas_format == MASA_ISM_FORMAT ) { if ( ( hCPE->hStereoClassif->lrtd_mode == 1 || hCPE->hStereoTD->prev_fr_LRTD_TD_dec == 1 ) && ( hCPE->element_brate - 50 * FRAMES_PER_SEC + hCPE->brate_surplus + hCPE->brate_surplus < 15000 ) ) if ( ( hCPE->hStereoClassif->lrtd_mode == 1 || hCPE->hStereoTD->prev_fr_LRTD_TD_dec == 1 ) && ( hCPE->element_brate - 50 * FRAMES_PER_SEC + hCPE->brate_surplus + hCPE->brate_surplus < IVAS_BRATE_OMASA_STEREO_SW_THR ) ) { hStereoTD->prev_fr_LRTD_TD_dec = 0; } Loading Loading
lib_enc/ivas_stereo_td_analysis.c +5 −1 Original line number Diff line number Diff line Loading @@ -82,6 +82,10 @@ #define RMS_THR 100 #define RATIO_PG_LRTD 0.96f #ifdef MASA_AND_OBJECTS #define IVAS_BRATE_OMASA_STEREO_SW_THR 15000 #endif /*-------------------------------------------------------------------* * Local function prototypes Loading Loading @@ -202,7 +206,7 @@ int16_t stereo_tdm_ener_analysis( if ( ivas_format == MASA_ISM_FORMAT ) { if ( ( hCPE->hStereoClassif->lrtd_mode == 1 || hCPE->hStereoTD->prev_fr_LRTD_TD_dec == 1 ) && ( hCPE->element_brate - 50 * FRAMES_PER_SEC + hCPE->brate_surplus + hCPE->brate_surplus < 15000 ) ) if ( ( hCPE->hStereoClassif->lrtd_mode == 1 || hCPE->hStereoTD->prev_fr_LRTD_TD_dec == 1 ) && ( hCPE->element_brate - 50 * FRAMES_PER_SEC + hCPE->brate_surplus + hCPE->brate_surplus < IVAS_BRATE_OMASA_STEREO_SW_THR ) ) { hStereoTD->prev_fr_LRTD_TD_dec = 0; } Loading