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

- Merge remote-tracking branch 'remotes/origin/main' into 1899-basop-PortFlpMr1645

parents ad479fe1 e6762a16
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -148,8 +148,6 @@
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="..\apps\isar_post_rend.c" />
    <ClCompile Include="..\lib_com\enh64.c" />
    <ClCompile Include="..\lib_com\enhUL32.c" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="lib_debug.vcxproj">
+639 −208

File changed.

Preview size limit exceeded, changes collapsed.

+10 −6
Original line number Diff line number Diff line
@@ -381,6 +381,7 @@ int main(
        }
    }

#ifndef FIX_1158_FASTCONV_REVERB_HRTF
    /*------------------------------------------------------------------------------------------*
     * Open renderer configuration reader file
     *------------------------------------------------------------------------------------------*/
@@ -405,6 +406,7 @@ int main(
            goto cleanup;
        }
    }
#endif

    /*------------------------------------------------------------------------------------------*
     * Configure the decoder
@@ -503,6 +505,14 @@ int main(
            goto cleanup;
        }

#ifdef FIX_1158_FASTCONV_REVERB_HRTF
        if ( ( error = RenderConfigReader_open( arg.renderConfigFilename, &renderConfigReader ) ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "\nError: Can't open Renderer configuration file %s \n\n", arg.renderConfigFilename );
            goto cleanup;
        }
#endif

        if ( RenderConfigReader_read( renderConfigReader, arg.renderConfigFilename, &renderConfig ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "Failed to read renderer configuration from file %s\n\n", arg.renderConfigFilename );
@@ -3107,14 +3117,10 @@ static ivas_error decodeVoIP(
        }
        vec_pos_update = ( vec_pos_update + 1 ) % vec_pos_len;
        frame++;
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
        if ( vec_pos_update == 0 )
        {
            systemTime_ms += vec_pos_len * systemTimeInc_ms;
        }
#else
        systemTime_ms += systemTimeInc_ms;
#endif

#ifdef WMOPS
        update_mem();
@@ -3123,7 +3129,6 @@ static ivas_error decodeVoIP(
    }


#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
    int16_t nSamplesFlushed = 0;

    /* decode and get samples */
@@ -3203,7 +3208,6 @@ static ivas_error decodeVoIP(
            }
        }
    }
#endif


    /*------------------------------------------------------------------------------------------*
+0 −4
Original line number Diff line number Diff line
@@ -1612,12 +1612,8 @@ void decoder_tcx_imdct_fx(
    Word32 x_fx[N_MAX],
    Word16 q_x,
    Word16 xn_buf_fx[],
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT_QWIN
    Word16 *q_win,
    Word16 *q_winFB,
#else
    Word16 q_win,
#endif
    const UWord16 kernelType, /* i  : TCX transform kernel type               */
    const Word16 fUseTns,     /* i  : flag that is set if TNS data is present */
    Word16 synth_fx[],        /* i/o: synth[-M..L_frame]                      */
+0 −13
Original line number Diff line number Diff line
@@ -606,9 +606,6 @@ Word64 dot_product_cholesky_fixed(
{
    Word16 i, j;
    Word64 suma, tmp_sum;
#ifndef OPT_MCT_ENC_V3_BE
    Word32 mul;
#endif
    Word32 tmp;
    const Word32 *pt_x, *pt_A;
    pt_A = A;
@@ -623,20 +620,10 @@ Word64 dot_product_cholesky_fixed(

        FOR( j = 0; j <= i; j++ )
        {
#ifdef OPT_MCT_ENC_V3_BE
            tmp_sum = W_add( tmp_sum, Mpy_32_32( *pt_x++, *pt_A++ ) );
#else
            mul = Mpy_32_32( *pt_x++, *pt_A++ );
            tmp_sum = W_add( tmp_sum, W_deposit32_l( mul ) );
#endif
        }

#ifdef OPT_MCT_ENC_V3_BE
        tmp = W_shl_sat_l( tmp_sum, -4 ); // to make sure that the tmp_sum will not overflow
#else
        tmp_sum = W_shr( tmp_sum, 4 ); // to make sure that the tmp_sum will not overflow
        tmp = W_extract_l( tmp_sum );
#endif
        suma = W_mac_32_32( suma, tmp, tmp );
    }

Loading