Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ #define MC_JBM /* FhG: extend JBM beyond mono for running IVAS in VoIP mode (contribution 19) */ #define FIX_265_MC_BRATE_SWITCHING /* Issue 265: fix use-of-uninitialized-value in MC bitrate switching */ #define FIX_ANGLE_WRAPPING /* Issue 244: Problems with angle wrapping*/ #define FIX_245_RANGE_CODER_VOIP_MSAN /* Issue 245: fix use-of-uninitialized-value in range coder in VoIP mode */ #define FIX_272_COV /* Issue 272: Cleanup for code coverage related to calls to ivas_binaural_cldfb() */ /* ################## End DEVELOPMENT switches ######################### */ Loading lib_dec/lib_dec.c +12 −0 Original line number Diff line number Diff line Loading @@ -541,7 +541,11 @@ ivas_error IVAS_DEC_EnableVoIP( #define WMC_TOOL_SKIP /* Bitstream conversion is not counted towards complexity and memory usage */ #ifdef FIX_245_RANGE_CODER_VOIP_MSAN hIvasDec->hVoIP->bs_conversion_buf = malloc( sizeof( uint16_t ) * ( MAX_BITS_PER_FRAME + 4 * 8 ) ); #else hIvasDec->hVoIP->bs_conversion_buf = malloc( sizeof( uint16_t ) * MAX_BITS_PER_FRAME + 4 * 8 ); #endif #undef WMC_TOOL_SKIP if ( hIvasDec->hVoIP->bs_conversion_buf == NULL ) Loading Loading @@ -1265,6 +1269,14 @@ static void bsCompactToSerial( const uint8_t *compact, uint16_t *serial, uint16_ byte <<= 1; } #ifdef FIX_245_RANGE_CODER_VOIP_MSAN /* Add 4 padding bytes required by core coder */ for ( i = 0; i < 4 * 8; ++i ) { serial[num_bits + i] = 0; } #endif #undef WMC_TOOL_SKIP } #endif Loading scripts/config/self_test.prm +5 −0 Original line number Diff line number Diff line Loading @@ -933,3 +933,8 @@ networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat bit ../IVAS_cod -sba 3 80000 32 testv/stv3OA32c.pcm bit networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat bit netsimoutput tracefile_sim 2 0 ../IVAS_dec -Tracefile tracefile_dec -VOIP HOA3 32 netsimoutput testv/stv3OA32c.pcm_SBA_80000_32-32_HOA3_JBM5.tst // Multi-channel 5_1 at 384 kbps, 48kHz in, 48kHz out, 7_1_4 out, JBM Prof 5 ../IVAS_cod -mc 5_1 384000 48 testv/stv51MC48c.pcm bit networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat bit netsimoutput tracefile_sim 2 0 ../IVAS_dec -Tracefile tracefile_dec -VOIP 7_1_4 48 netsimoutput testv/stv51MC48c.pcm_MC51_384000_48-48_7_1_4_JBM5.tst No newline at end of file Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ #define MC_JBM /* FhG: extend JBM beyond mono for running IVAS in VoIP mode (contribution 19) */ #define FIX_265_MC_BRATE_SWITCHING /* Issue 265: fix use-of-uninitialized-value in MC bitrate switching */ #define FIX_ANGLE_WRAPPING /* Issue 244: Problems with angle wrapping*/ #define FIX_245_RANGE_CODER_VOIP_MSAN /* Issue 245: fix use-of-uninitialized-value in range coder in VoIP mode */ #define FIX_272_COV /* Issue 272: Cleanup for code coverage related to calls to ivas_binaural_cldfb() */ /* ################## End DEVELOPMENT switches ######################### */ Loading
lib_dec/lib_dec.c +12 −0 Original line number Diff line number Diff line Loading @@ -541,7 +541,11 @@ ivas_error IVAS_DEC_EnableVoIP( #define WMC_TOOL_SKIP /* Bitstream conversion is not counted towards complexity and memory usage */ #ifdef FIX_245_RANGE_CODER_VOIP_MSAN hIvasDec->hVoIP->bs_conversion_buf = malloc( sizeof( uint16_t ) * ( MAX_BITS_PER_FRAME + 4 * 8 ) ); #else hIvasDec->hVoIP->bs_conversion_buf = malloc( sizeof( uint16_t ) * MAX_BITS_PER_FRAME + 4 * 8 ); #endif #undef WMC_TOOL_SKIP if ( hIvasDec->hVoIP->bs_conversion_buf == NULL ) Loading Loading @@ -1265,6 +1269,14 @@ static void bsCompactToSerial( const uint8_t *compact, uint16_t *serial, uint16_ byte <<= 1; } #ifdef FIX_245_RANGE_CODER_VOIP_MSAN /* Add 4 padding bytes required by core coder */ for ( i = 0; i < 4 * 8; ++i ) { serial[num_bits + i] = 0; } #endif #undef WMC_TOOL_SKIP } #endif Loading
scripts/config/self_test.prm +5 −0 Original line number Diff line number Diff line Loading @@ -933,3 +933,8 @@ networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat bit ../IVAS_cod -sba 3 80000 32 testv/stv3OA32c.pcm bit networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat bit netsimoutput tracefile_sim 2 0 ../IVAS_dec -Tracefile tracefile_dec -VOIP HOA3 32 netsimoutput testv/stv3OA32c.pcm_SBA_80000_32-32_HOA3_JBM5.tst // Multi-channel 5_1 at 384 kbps, 48kHz in, 48kHz out, 7_1_4 out, JBM Prof 5 ../IVAS_cod -mc 5_1 384000 48 testv/stv51MC48c.pcm bit networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat bit netsimoutput tracefile_sim 2 0 ../IVAS_dec -Tracefile tracefile_dec -VOIP 7_1_4 48 netsimoutput testv/stv51MC48c.pcm_MC51_384000_48-48_7_1_4_JBM5.tst No newline at end of file