Commit 61c172b1 authored by reutelhuber's avatar reutelhuber
Browse files

Merge branch 'new-osba-baseline' of...

Merge branch 'new-osba-baseline' of https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec into new-osba-baseline
parents 771ec2a2 81d42039
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -560,7 +560,9 @@ int main(
#ifdef SBA_AND_OBJECTS
                                   || arg.inputFormat == IVAS_ENC_INPUT_SBA_ISM
#endif
                                  ) ? arg.inputFormatConfig.ism.numObjects : 0;
                                   )
                                     ? arg.inputFormatConfig.ism.numObjects
                                     : 0;
#else
    const int16_t numIsmInputs = arg.inputFormat == IVAS_ENC_INPUT_ISM ? arg.inputFormatConfig.ism.numObjects : 0;
#endif
+2 −0
Original line number Diff line number Diff line
@@ -233,7 +233,9 @@
/* #################### Start NON-BE CR switches ########################## */
/* any switch which is non-be wrt operation points tested in selection */
/* all switches in this category should start with "CR_" */

#define CR_FIX_585_MASA_2TC_DTX_EXT                     /* Nokia: issue 585: fixes transition artifacts in MASA 2TC DTX by applying correct condition */
#define CR_FIX_586_BPF_DFT_MEM                          /* FhG: issue 586: set input memory of DFT analysis of BPF signal to zero for HQ core to fix issue with PLC and bitrate switching */
#define CR_FIX_ISM_DTX_INFINITE_CNG_ON_TRAILING_SILENCE /* FhG: fix for cng in ISM DTX on sudden silence periods */

/* ##################### End NON-BE CR switches ########################### */
+2 −3
Original line number Diff line number Diff line
@@ -1447,7 +1447,6 @@ ivas_error ivas_init_decoder(
            return error;
        }
#endif

    }
#endif
#ifdef MASA_AND_OBJECTS
+11 −0
Original line number Diff line number Diff line
@@ -226,10 +226,21 @@ void stereo_dft_dec_core_switching(
            mvr2r( &output[st->L_frame - NS2SA( st->L_frame * FRAMES_PER_SEC, STEREO_DFT32MS_OVL_NS )], hCPE->hStereoDft->buff_LBTCX_mem, NS2SA( st->L_frame * FRAMES_PER_SEC, STEREO_DFT32MS_OVL_NS ) );

            /* BPF */
#ifdef CR_FIX_586_BPF_DFT_MEM
            if ( st->p_bpf_noise_buf && st->core != HQ_CORE )
#else
            if ( st->p_bpf_noise_buf )
#endif
            {
                stereo_dft_dec_analyze( hCPE, st->p_bpf_noise_buf, DFT, 0, st->L_frame, output_frame, DFT_STEREO_DEC_ANA_BPF, 2, 0 );
            }
#ifdef CR_FIX_586_BPF_DFT_MEM
            /* st->p_bpf_noise_buf not updated for HQ core -> skip analysis and set input memory to zero */
            else if ( st->p_bpf_noise_buf && st->core == HQ_CORE )
            {
                set_zero( hCPE->input_mem_BPF[0], STEREO_DFT32MS_OVL_16k );
            }
#endif

            /* TCX */
            stereo_dft_dec_analyze( hCPE, synth, DFT, 0, L_frameTCX, output_frame, DFT_STEREO_DEC_ANA_FB, 0, 0 );
+4 −6
Original line number Diff line number Diff line
@@ -316,9 +316,7 @@ ivas_error ivas_spat_hSpatParamRendCom_config(
#ifdef MASA_AND_OBJECTS
        if ( ivas_format == MASA_FORMAT || ivas_format == MASA_ISM_FORMAT
#ifdef OSBA_DISC_OBJ_MCT
            || ( ( ivas_format == SBA_FORMAT || ivas_format == SBA_ISM_FORMAT ) 
                 && hodirac_flag 
               ) 
             || ( ( ivas_format == SBA_FORMAT || ivas_format == SBA_ISM_FORMAT ) && hodirac_flag )
#else
             || ( ivas_format == SBA_FORMAT && hodirac_flag )
#endif
+8 −8

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+9 −9

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+6 −6

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+6 −6

File changed.

Contains only whitespace changes.

Loading