Loading apps/decoder.c +5 −1 Original line number Diff line number Diff line Loading @@ -165,6 +165,10 @@ int main( #ifdef DEBUGGING dbgargs( &argc, argv ); #endif #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); #endif /*------------------------------------------------------------------------------------------* * Parse command-line arguments Loading Loading @@ -446,7 +450,7 @@ int main( #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); reset_stack(); #endif /*-----------------------------------------------------------------* Loading apps/encoder.c +5 −1 Original line number Diff line number Diff line Loading @@ -184,6 +184,10 @@ int main( #ifdef DEBUGGING dbgargs( &argc, argv ); #endif #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); #endif initArgStruct( &arg ); Loading Loading @@ -548,7 +552,7 @@ int main( #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); reset_stack(); #endif /*------------------------------------------------------------------------------------------* Loading lib_com/pvq_com.c +2 −1 Original line number Diff line number Diff line Loading @@ -691,6 +691,8 @@ void srt_vec_ind_f( return; } #define WMC_TOOL_SKIP /*-------------------------------------------------------------------* * UMult_32_32() * Loading Loading @@ -814,7 +816,6 @@ Word16 atan2_fx( Word16 man, expo, reciprocal; Word16 angle, w, z; #define WMC_TOOL_SKIP IF( L_sub( x, 0 ) == 0 ) { return 25736; /* EVS_PI/2 in Q14 */ Loading lib_dec/ivas_dirac_dec_binaural_functions.c +4 −1 Original line number Diff line number Diff line Loading @@ -856,8 +856,11 @@ static void ivas_dirac_dec_binaural_formulate_input_and_target_covariance_matric { if ( !h->renderStereoOutputInsteadOfBinaural ) { int16_t idx; /* Apply target spectrum that emphasizes low frequencies when the sound is surround coherent */ diffEne *= ( 1.0f - surCoh ) + surCoh * surCohEne[min( bin, MASA_NUM_DEFINED_SUR_SPR_COH_ENE_BINS - 1 )]; idx = min( bin, MASA_NUM_DEFINED_SUR_SPR_COH_ENE_BINS - 1 ); diffEne *= ( 1.0f - surCoh ) + surCoh * surCohEne[idx]; } } h->ChEneOut[0][bin] += diffEne; /* Diff ene part*/ Loading lib_dec/ivas_qmetadata_dec.c +4 −1 Original line number Diff line number Diff line Loading @@ -3132,8 +3132,11 @@ int16_t read_surround_coherence( if ( hQMetaData->no_directions == 2 ) { int16_t idx; d += hQMetaData->twoDirBands[j]; error_ratio_surr = 1.0f - q_direction[0].band_data[j].energy_ratio[0] - q_direction[1].band_data[max( d - 1, 0 )].energy_ratio[0] * hQMetaData->twoDirBands[j]; idx = max( d - 1, 0 ); error_ratio_surr = 1.0f - q_direction[0].band_data[j].energy_ratio[0] - q_direction[1].band_data[idx].energy_ratio[0] * hQMetaData->twoDirBands[j]; } else { Loading Loading
apps/decoder.c +5 −1 Original line number Diff line number Diff line Loading @@ -165,6 +165,10 @@ int main( #ifdef DEBUGGING dbgargs( &argc, argv ); #endif #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); #endif /*------------------------------------------------------------------------------------------* * Parse command-line arguments Loading Loading @@ -446,7 +450,7 @@ int main( #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); reset_stack(); #endif /*-----------------------------------------------------------------* Loading
apps/encoder.c +5 −1 Original line number Diff line number Diff line Loading @@ -184,6 +184,10 @@ int main( #ifdef DEBUGGING dbgargs( &argc, argv ); #endif #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); #endif initArgStruct( &arg ); Loading Loading @@ -548,7 +552,7 @@ int main( #ifdef WMOPS reset_wmops(); reset_mem( USE_32BITS ); reset_stack(); #endif /*------------------------------------------------------------------------------------------* Loading
lib_com/pvq_com.c +2 −1 Original line number Diff line number Diff line Loading @@ -691,6 +691,8 @@ void srt_vec_ind_f( return; } #define WMC_TOOL_SKIP /*-------------------------------------------------------------------* * UMult_32_32() * Loading Loading @@ -814,7 +816,6 @@ Word16 atan2_fx( Word16 man, expo, reciprocal; Word16 angle, w, z; #define WMC_TOOL_SKIP IF( L_sub( x, 0 ) == 0 ) { return 25736; /* EVS_PI/2 in Q14 */ Loading
lib_dec/ivas_dirac_dec_binaural_functions.c +4 −1 Original line number Diff line number Diff line Loading @@ -856,8 +856,11 @@ static void ivas_dirac_dec_binaural_formulate_input_and_target_covariance_matric { if ( !h->renderStereoOutputInsteadOfBinaural ) { int16_t idx; /* Apply target spectrum that emphasizes low frequencies when the sound is surround coherent */ diffEne *= ( 1.0f - surCoh ) + surCoh * surCohEne[min( bin, MASA_NUM_DEFINED_SUR_SPR_COH_ENE_BINS - 1 )]; idx = min( bin, MASA_NUM_DEFINED_SUR_SPR_COH_ENE_BINS - 1 ); diffEne *= ( 1.0f - surCoh ) + surCoh * surCohEne[idx]; } } h->ChEneOut[0][bin] += diffEne; /* Diff ene part*/ Loading
lib_dec/ivas_qmetadata_dec.c +4 −1 Original line number Diff line number Diff line Loading @@ -3132,8 +3132,11 @@ int16_t read_surround_coherence( if ( hQMetaData->no_directions == 2 ) { int16_t idx; d += hQMetaData->twoDirBands[j]; error_ratio_surr = 1.0f - q_direction[0].band_data[j].energy_ratio[0] - q_direction[1].band_data[max( d - 1, 0 )].energy_ratio[0] * hQMetaData->twoDirBands[j]; idx = max( d - 1, 0 ); error_ratio_surr = 1.0f - q_direction[0].band_data[j].energy_ratio[0] - q_direction[1].band_data[idx].energy_ratio[0] * hQMetaData->twoDirBands[j]; } else { Loading