#define FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add split rendering support to decoder in VoIP mode */
#define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */
#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR. */
#define FIX_1385_INIT_IGF_STOP_FREQ /* FhG: Initialize infoIGFStopFreq in init_igf_dec() */
#define FIX_1387_INIT_PRM_SQQ /* FhG: initialize pointer prm_sqQ, which might be uninitialized in case of bfi == 1 */
#define FIX_1349_TNS_CRASH /* FhG: Fix crash in TNS entropy coding, in case order of joint TNS coding is reduced to 0 */
#define FIX_1384_MSAN_stereo_tcx_core_enc /* VA: issue 1384: fix use-of-uninitialized value in stereo_tcx_core_enc() */
#define FIX_1384_MSAN_ivas_spar_dec_open /* VA: issue 1386: fix use-of-uninitialized value in ivas_spar_dec_open() */
#define FIX_1388_MSAN_ivas_init_decoder /* VA: issue 1388: fix use-of-uninitialized value in ivas_init_decoder() */
#define FIX_1413_IGF_INIT_PRINTOUT /* FhG: use correct variable for IGF initiliazation */
#define FIX_1383_HEAD_TRACK_SANITIZER /* Nok: issue 1383: Fix head tracking struc values reading in renderer */
sc_factor=s_max(sub(13,norm_s(add(j,1))),0);/* Adapt the scaling factor allowed depending of max position */
sc_factor=s_max(sc_factor,1);/* Note: The sc_factor is the log2 of the sc_factor in the float code to simplify condition below */
test();
IF(prev_scale<=0||GT_32(L_shr(prev_scale,sub(sc_factor,1)/*Q30 -> Q31*/),scale/*Q31*/))/* Since the sc_factor is the log2 of sc_factor in float, we apply it using L_shr */
/* if ( element_mode > EVS_MONO ) *//* element mode is not needed because the function is duplicated for IVAS */
sc_factor=s_max(sub(12,norm_s(add(sub(j,length_half),1))),0);/* allowed intra frame jump is smaller */
sc_factor=s_max(sc_factor,1);/* Note: The sc_factor is the log2 of the sc_factor in the float code to simplify condition below */
test();
IF(prev_scale<=0||GT_32(L_shr(prev_scale,sub(sc_factor,1)/*Q30 -> Q31*/),scale/*Q31*/))/* Since the sc_factor is the log2 of sc_factor in float, we apply it using L_shr */