Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,7 @@ renderer-smoke-test: - mv IVAS_cod IVAS_cod_ref - mv IVAS_dec IVAS_dec_ref - mv IVAS_rend IVAS_rend_ref - mv ISAR_post_rend ISAR_post_rend_ref - testcase_timeout=180 # test renderer executable with cmake + asan Loading Loading @@ -724,6 +725,7 @@ split-rendering-pytest-on-merge-request: - mv IVAS_cod IVAS_cod_ref - mv IVAS_dec IVAS_dec_ref - mv IVAS_rend IVAS_rend_ref - mv ISAR_post_rend ISAR_post_rend_ref ### If ref_using_main is not set, checkout the source branch to use scripts and input from there - if [ $ref_using_main == 0 ]; then git restore lib_com/options.h; fi # Revert changes back before checking out another branch to avoid conflicts Loading apps/decoder.c +2 −3 Original line number Diff line number Diff line Loading @@ -1858,13 +1858,13 @@ static ivas_error initOnFirstGoodFrame( return error; } int16_t *zeroBuf = malloc( pcmFrameSize * sizeof( int16_t ) ); /* Write zeros to the output audio buffer */ int16_t *zeroBuf = calloc( pcmFrameSize, sizeof( int16_t ) ); if ( zeroBuf == NULL ) { fprintf( stdout, "Error: Unable to allocate memory for output buffer.\n" ); return IVAS_ERR_FAILED_ALLOC; } memset( zeroBuf, 0, pcmFrameSize * sizeof( int16_t ) ); for ( int16_t i = 0; i < numInitialBadFrames; ++i ) { Loading @@ -1888,7 +1888,6 @@ static ivas_error initOnFirstGoodFrame( } else { if ( *pRemainingDelayNumSamples < *numOutSamples ) { if ( ( error = AudioFileWriter_write( *ppAfWriter, zeroBuf, *numOutSamples * *pNumOutChannels - ( *pRemainingDelayNumSamples * *pNumOutChannels ) ) ) != IVAS_ERR_OK ) Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -162,6 +162,7 @@ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ #define TMP_FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add error check for unsupported config: split rendering with VoIP mode */ #define CODE_IMPROVEMENTS /* FhG: Small code improvements that do not change the functionality */ /* #################### End BE switches ################################## */ Loading lib_com/tools.c +6 −0 Original line number Diff line number Diff line Loading @@ -1742,6 +1742,11 @@ double anint( int16_t is_numeric_float( float x ) { #ifdef CODE_IMPROVEMENTS #define WMC_TOOL_SKIP return (int16_t) ( !isnan( x ) && !isinf( x ) ); #undef WMC_TOOL_SKIP #else #ifndef BASOP_NOGLOB union float_int #else /* BASOP_NOGLOB */ Loading @@ -1755,6 +1760,7 @@ int16_t is_numeric_float( float_int.float_val = x; return ( ( float_int.int_val & 0x7f800000 ) != 0x7f800000 ); #endif } /*-------------------------------------------------------------------* Loading lib_debug/debug.c +1 −1 Original line number Diff line number Diff line Loading @@ -820,7 +820,7 @@ int16_t make_dirs( const char *const pathname ) if ( sep != 0 ) { temp = calloc( 1, strlen( pathname ) + 1 ); temp = calloc( strlen( pathname ) + 1, sizeof( char ) ); p = pathname; while ( ( p = strchr( p, sep ) ) != NULL ) { Loading Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,7 @@ renderer-smoke-test: - mv IVAS_cod IVAS_cod_ref - mv IVAS_dec IVAS_dec_ref - mv IVAS_rend IVAS_rend_ref - mv ISAR_post_rend ISAR_post_rend_ref - testcase_timeout=180 # test renderer executable with cmake + asan Loading Loading @@ -724,6 +725,7 @@ split-rendering-pytest-on-merge-request: - mv IVAS_cod IVAS_cod_ref - mv IVAS_dec IVAS_dec_ref - mv IVAS_rend IVAS_rend_ref - mv ISAR_post_rend ISAR_post_rend_ref ### If ref_using_main is not set, checkout the source branch to use scripts and input from there - if [ $ref_using_main == 0 ]; then git restore lib_com/options.h; fi # Revert changes back before checking out another branch to avoid conflicts Loading
apps/decoder.c +2 −3 Original line number Diff line number Diff line Loading @@ -1858,13 +1858,13 @@ static ivas_error initOnFirstGoodFrame( return error; } int16_t *zeroBuf = malloc( pcmFrameSize * sizeof( int16_t ) ); /* Write zeros to the output audio buffer */ int16_t *zeroBuf = calloc( pcmFrameSize, sizeof( int16_t ) ); if ( zeroBuf == NULL ) { fprintf( stdout, "Error: Unable to allocate memory for output buffer.\n" ); return IVAS_ERR_FAILED_ALLOC; } memset( zeroBuf, 0, pcmFrameSize * sizeof( int16_t ) ); for ( int16_t i = 0; i < numInitialBadFrames; ++i ) { Loading @@ -1888,7 +1888,6 @@ static ivas_error initOnFirstGoodFrame( } else { if ( *pRemainingDelayNumSamples < *numOutSamples ) { if ( ( error = AudioFileWriter_write( *ppAfWriter, zeroBuf, *numOutSamples * *pNumOutChannels - ( *pRemainingDelayNumSamples * *pNumOutChannels ) ) ) != IVAS_ERR_OK ) Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -162,6 +162,7 @@ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ #define TMP_FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add error check for unsupported config: split rendering with VoIP mode */ #define CODE_IMPROVEMENTS /* FhG: Small code improvements that do not change the functionality */ /* #################### End BE switches ################################## */ Loading
lib_com/tools.c +6 −0 Original line number Diff line number Diff line Loading @@ -1742,6 +1742,11 @@ double anint( int16_t is_numeric_float( float x ) { #ifdef CODE_IMPROVEMENTS #define WMC_TOOL_SKIP return (int16_t) ( !isnan( x ) && !isinf( x ) ); #undef WMC_TOOL_SKIP #else #ifndef BASOP_NOGLOB union float_int #else /* BASOP_NOGLOB */ Loading @@ -1755,6 +1760,7 @@ int16_t is_numeric_float( float_int.float_val = x; return ( ( float_int.int_val & 0x7f800000 ) != 0x7f800000 ); #endif } /*-------------------------------------------------------------------* Loading
lib_debug/debug.c +1 −1 Original line number Diff line number Diff line Loading @@ -820,7 +820,7 @@ int16_t make_dirs( const char *const pathname ) if ( sep != 0 ) { temp = calloc( 1, strlen( pathname ) + 1 ); temp = calloc( strlen( pathname ) + 1, sizeof( char ) ); p = pathname; while ( ( p = strchr( p, sep ) ) != NULL ) { Loading