Commit 89242667 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge remote-tracking branch 'origin/main' into ci/test_more_ism_ext_out_in_selftest

parents c45b9875 7a8f63bd
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -282,10 +282,10 @@ build-codec-sanitizers-linux:
    - *print-common-info
    - bash ci/build_codec_sanitizers_linux.sh

.build-codec-windows-cmake:
build-codec-windows-cmake:
  extends:
    - .build-job-windows-with-check-for-warnings
    - .rules-basis
    - .rules-main-push
  script:
    - *print-common-info-windows
    - $winoutdata = $null
@@ -295,10 +295,10 @@ build-codec-sanitizers-linux:
    - ("& python ci/check_for_warnings.py '$BUILD_OUTPUT'") | Invoke-Expression
    - ("exit $LASTEXITCODE") | Invoke-Expression

.build-codec-windows-msbuild:
build-codec-windows-msbuild:
  extends:
    - .build-job-windows-with-check-for-warnings
    - .rules-basis
    - .rules-main-push
  script:
    - *print-common-info-windows
    - $winoutdata = $null
+2 −0
Original line number Diff line number Diff line
@@ -158,6 +158,8 @@
#define FIX_557_CRASH_IN_ISM_DTX                        /* VA issue 557: fix crash in 1ISM 48 kbps DTX */
#define FIX_563_PARAMMC_LIMITER                         /* FhG: issue 563: fix ILD limiter when coming from silence w/o transient set             */

#define FIX_560_VAD_FLAG                                /* Eri: Issue 560 - VAD flag issue for unified stereo */

#define IGF_TUNING_96                                   /* FhG: Issue 546: slight tuning of IGF config used in 96 kbps stereo, 128 kbps SBA and others */
#define FIX_549_DMX_GAIN                                /* FhG: issue 549: ParamISM output too quiet */
#define FIX_522_ISM_FIRST_SID                           /* VA: fix ISM decoder crash if first received frame is an SID */
+8 −0
Original line number Diff line number Diff line
@@ -163,7 +163,9 @@ ivas_error pre_proc_front_ivas(
    float temp1F_icatdmResampBuf[L_FILT_MAX]; /* temp buffers for ICA TDM resamplers */
    int16_t old_pitch1;                       /* previous frame OL pitch[1] @12.8 kHz */
    int16_t LR_localVAD;
#ifndef FIX_560_VAD_FLAG
    int16_t LR_vad_flag;
#endif
    ivas_error error;

    push_wmops( "pre_proc_front" );
@@ -180,7 +182,9 @@ ivas_error pre_proc_front_ivas(
    res_cod_SNR_M = tmpF;

    LR_localVAD = 0;
#ifndef FIX_560_VAD_FLAG
    LR_vad_flag = 0;
#endif

    if ( hSCE != NULL )
    {
@@ -208,7 +212,9 @@ ivas_error pre_proc_front_ivas(
        {
            /* Combine localVAD and vad_flag from LR processing */
            LR_localVAD = hCPE->hCoreCoder[0]->localVAD || hCPE->hCoreCoder[1]->localVAD;
#ifndef FIX_560_VAD_FLAG
            LR_vad_flag = hCPE->hFrontVad[0]->hVAD->vad_flag || hCPE->hFrontVad[1]->hVAD->vad_flag;
#endif
        }

        if ( hCPE->hStereoTD != NULL )
@@ -462,8 +468,10 @@ ivas_error pre_proc_front_ivas(
        /* Add down mix stereo activity to LR vad_flag_dtx */
        *vad_flag_dtx = *vad_flag_dtx || st->vad_flag;

#ifndef FIX_560_VAD_FLAG
        /* Combine the LR VAD flag and stereo downmix VAD flag */
        st->vad_flag = ( LR_vad_flag || st->vad_flag );
#endif

        /* Determine hangover flag status based on LR localVAD and downmix localVAD */
        *vad_hover_flag = *vad_flag_dtx && !( LR_localVAD || st->localVAD );