Commit 7c18cb52 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2446 fix of wrong argument for function header signature - fix of...

issue: 2446 fix of wrong argument for function header signature - fix of implicit int to Word16 casting
parent 5602c6c4
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8917,7 +8917,7 @@ void con_tcx_ivas_fx(
    Word16 *noise_seed,     /* i/o: noise seed for stereo       */
    const Word16 only_left, /* i  : TD-PLC only in left channel */
    const Word16 *A_cng,    /* i  : CNG LP filter coefficients  */
    const leg_flag );
    const Word16 leg_flag );
#endif // !HARMONIZE_2446_CON_TCX_FX

void ivas_mdct_core_reconstruct_fx(
+3 −3
Original line number Diff line number Diff line
@@ -1300,7 +1300,7 @@ void ivas_mdct_core_reconstruct_fx(
#ifndef HARMONIZE_2446_CON_TCX_FX
                con_tcx_ivas_fx( st, &synthFB_fx[0], -16384, NULL, 0, NULL ); //-1.Q14 = -16384
#else
                con_tcx_ivas_fx( st, &synthFB_fx[0], -16384, NULL, 0, NULL, 0 ); //-1.Q14 = -16384
                con_tcx_ivas_fx( st, &synthFB_fx[0], -16384, NULL, 0, NULL, (Word16) 0 ); //-1.Q14 = -16384
#endif // !HARMONIZE_2446_CON_TCX_FX
            }
            ELSE
@@ -1310,7 +1310,7 @@ void ivas_mdct_core_reconstruct_fx(
#ifndef HARMONIZE_2446_CON_TCX_FX
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 1, &st->hFdCngDec->hFdCngCom->A_cng[0] );
#else
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 1, &st->hFdCngDec->hFdCngCom->A_cng[0], 0 );
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 1, &st->hFdCngDec->hFdCngCom->A_cng[0], (Word16) 0 );
#endif // !HARMONIZE_2446_CON_TCX_FX
                }
                ELSE
@@ -1318,7 +1318,7 @@ void ivas_mdct_core_reconstruct_fx(
#ifndef HARMONIZE_2446_CON_TCX_FX
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 0, &st->hFdCngDec->hFdCngCom->A_cng[0] );
#else
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 0, &st->hFdCngDec->hFdCngCom->A_cng[0], 0 );
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 0, &st->hFdCngDec->hFdCngCom->A_cng[0], (Word16) 0 );
#endif // !HARMONIZE_2446_CON_TCX_FX
                }
            }
+1 −1
Original line number Diff line number Diff line
@@ -492,7 +492,7 @@ void stereo_tcx_core_dec_fx(
#ifndef HARMONIZE_2446_CON_TCX_FX
        con_tcx_fx( st, &synthFB_fx[0] /*, -1.f, NULL, 0, NULL */ );
#else
        con_tcx_ivas_fx( st, &synthFB_fx[0], -16384, NULL, 0, NULL, 1 );
        con_tcx_ivas_fx( st, &synthFB_fx[0], -16384, NULL, 0, NULL, (Word16) 1 );
#endif // !HARMONIZE_2446_CON_TCX_FX
        test();
        IF( ( EQ_16( st->nbLostCmpt, 1 ) ) || hTcxDec->tcxConceal_recalc_exc )