Commit 3bfaeef3 authored by vaclav's avatar vaclav
Browse files

- Merge remote-tracking branch 'remotes/origin/main' into...

- Merge remote-tracking branch 'remotes/origin/main' into basop-2299-remove-unused-code-in-core-encoder-vbr-and-cam
parents d5579c20 294fc33b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -133,7 +133,6 @@
    <ClCompile Include="..\lib_isar\isar_lc3plus_enc.c" />
    <ClCompile Include="..\lib_isar\isar_lc3plus_payload.c" />
    <ClCompile Include="..\lib_isar\isar_MSPred.c" />
    <ClCompile Include="..\lib_isar\isar_NoiseGen.c" />
    <ClCompile Include="..\lib_isar\isar_PerceptualModel.c" />
    <ClCompile Include="..\lib_isar\isar_PredDecoder.c" />
    <ClCompile Include="..\lib_isar\isar_PredEncoder.c" />
+7 −0
Original line number Diff line number Diff line
@@ -452,6 +452,13 @@ int main(
            fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
            goto cleanup;
        }

#ifdef FIX_1449_RENDERER_FRAME_SIZE_UNCLEAR_IN_ISAR
        if ( !arg.renderConfigEnabled && ( arg.renderFramesize != asked_frame_size ) )
        {
            fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for non-0dof split rendering!\n" );
        }
#endif
    }

    /*------------------------------------------------------------------------------------------*
+12 −0
Original line number Diff line number Diff line
@@ -751,11 +751,19 @@ void highband_exc_dct_in_fx(
    test();
    IF( bfi || LT_32( core_brate, 6000 ) || ( LT_32( core_brate, 8600 ) && EQ_16( coder_type, UNVOICED ) ) )
    {
#ifndef FIX_1478_UNINIT_ON_BFI
        set16_fx( noisepb, 13107, MBANDS_GN ); /*0.4 in Q15 */
#else
        set16_fx( noisepb, 13107, last_bin ); /*0.4 in Q15 */
#endif
    }
    ELSE IF( EQ_16( GSC_IVAS_mode, 3 ) || ( GSC_IVAS_mode > 0 && EQ_16( GSC_noisy_speech, 1 ) ) )
    {
#ifndef FIX_1478_UNINIT_ON_BFI
        set16_fx( noisepb, 13107 /*0.4f*/, MBANDS_GN16k );
#else
        set16_fx( noisepb, 13107 /*0.4f*/, last_bin );
#endif
    }
    ELSE
    {
@@ -772,7 +780,11 @@ void highband_exc_dct_in_fx(
    test();
    IF( GSC_IVAS_mode == 0 && GSC_noisy_speech && !bfi && LE_16( element_mode, IVAS_SCE ) )
    {
#ifndef FIX_1478_UNINIT_ON_BFI
        set16_fx( noisepb, 3277, MBANDS_GN );
#else
        set16_fx( noisepb, 3277, last_bin );
#endif
    }
    test();
    IF( LT_32( core_brate, 6000 ) && LE_16( coder_type, UNVOICED ) )
+7 −0
Original line number Diff line number Diff line
@@ -40,6 +40,11 @@ Word16 hvq_pvq_bitalloc_fx(
    UWord16 lsb;
    Word16 num_sfm;

#ifdef FIX_1483_PEAQ_VQ_ENC_MSAN_ERROR
    *n_sel_bands = 0;
    move16();
#endif

    IF( EQ_16( bwidth_fx, FB ) )
    {
        num_sfm = SFM_N_HARM_FB;
@@ -107,8 +112,10 @@ Word16 hvq_pvq_bitalloc_fx(
        return 0;
    }

#ifndef FIX_1483_PEAQ_VQ_ENC_MSAN_ERROR
    *n_sel_bands = 0;
    move16();
#endif
    envSum = 0;
    move16();
    E_max = L_deposit_l( 0 );
+6 −1
Original line number Diff line number Diff line
@@ -139,7 +139,12 @@ void ifft_rel_fx(
        /*Can be acheived with a shr */
        step = idiv1616( N_MAX_SAS, n2 );
        move16();

#ifdef FIX_2268_OOB_INDEXING_IN_IFFT
        IF( LT_16( n8, 2 ) )
        {
            continue;
        }
#endif
        s = sincos_t_fx + step;                /*Q15 */
        c = s + 64;                            /*Q15 */
        s3 = sincos_t_fx + i_mult2( step, 3 ); /*Q15 */
Loading