Loading .gitlab-ci.yml +12 −7 Original line number Diff line number Diff line Loading @@ -786,7 +786,7 @@ stages: - echo "Reproduce locally with:" - echo -e "1. Create references with target branch $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:\n\t- git checkout $(cat $FLOAT_REF_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- mv IVAS_cod IVAS_cod_ref\n\t- mv IVAS_dec IVAS_dec_ref\n\t- python3 -m pytest $(cat $ERRORS_TESTCASES_LIST) --update_ref 1 --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH" - echo -e "2. Run test with source branch $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:\n\t- git checkout $(cat $CUT_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- python3 -m pytest $(cat $ERRORS_TESTCASES_LIST) --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH" - echo "The individual command lines can be found in the changes*.csv files in the job artifacts." - echo "The individual command lines can be found in the regressions_crashes.csv files in the job artifacts." - elif [ $regressions_found != 0 ] && [ "$SKIP_REGRESSION_CHECK" != "true" ]; then - cat regression_log.txt - if [ $allow_regressions_flag == 0 ]; then Loading @@ -799,7 +799,7 @@ stages: - echo "Reproduce locally with:" - echo -e "1. Create references with target branch $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:\n\t- git checkout $(cat $FLOAT_REF_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- mv IVAS_cod IVAS_cod_ref\n\t- mv IVAS_dec IVAS_dec_ref\n\t- python3 -m pytest $(cat $FAILED_TESTCASES_LIST) --update_ref 1 --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH" - echo -e "2. Run test with source branch $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:\n\t- git checkout $(cat $CUT_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- python3 -m pytest $(cat $FAILED_TESTCASES_LIST) --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH" - echo "The individual command lines can be found in the changes*.csv files in the job artifacts." - echo "The individual command lines can be found in the regressions_*.csv files in the job artifacts." - fi - exit $exit_code Loading @@ -824,11 +824,16 @@ stages: - $FLOAT_REF_COMMIT_FILE - $CUT_COMMIT_FILE - $MERGE_TARGET_COMMIT_FILE - changes_crashes.csv - changes_MLD.csv - changes_MAXIMUM_ABS_DIFF.csv - changes_MIN_SSNR.csv - changes_MIN_ODG.csv - regressions_crashes.csv - regressions_MLD.csv - regressions_MAXIMUM_ABS_DIFF.csv - regressions_MIN_SSNR.csv - regressions_MIN_ODG.csv - improvements_crashes.csv - improvements_MLD.csv - improvements_MAXIMUM_ABS_DIFF.csv - improvements_MIN_SSNR.csv - improvements_MIN_ODG.csv expose_as: "pytest compare results" reports: junit: Loading Workspace_msvc/lib_dec.vcxproj +0 −99 Original line number Diff line number Diff line Loading @@ -136,152 +136,94 @@ </Lib> </ItemDefinitionGroup> <ItemGroup> <ClCompile Include="..\lib_dec\ACcontextMapping_dec.c" /> <ClCompile Include="..\lib_dec\ACcontextMapping_dec_fx.c"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\lib_dec\acelp_core_dec.c" /> <ClCompile Include="..\lib_dec\acelp_core_dec_fx.c"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\lib_dec\acelp_core_dec_ivas_fx.c" /> <ClCompile Include="..\lib_dec\acelp_core_switch_dec.c" /> <ClCompile Include="..\lib_dec\acelp_core_switch_dec_fx.c" /> <ClCompile Include="..\lib_dec\amr_wb_dec.c" /> <ClCompile Include="..\lib_dec\amr_wb_dec_fx.c" /> <ClCompile Include="..\lib_dec\arith_coder_dec.c" /> <ClCompile Include="..\lib_dec\arith_coder_dec_fx.c" /> <ClCompile Include="..\lib_dec\ari_dec.c" /> <ClCompile Include="..\lib_dec\ari_dec_fx.c" /> <ClCompile Include="..\lib_dec\ari_hm_dec.c" /> <ClCompile Include="..\lib_dec\avq_dec.c" /> <ClCompile Include="..\lib_dec\avq_dec_fx.c" /> <ClCompile Include="..\lib_dec\bass_psfilter.c" /> <ClCompile Include="..\lib_dec\bass_psfilter_fx.c" /> <ClCompile Include="..\lib_dec\cng_dec.c" /> <ClCompile Include="..\lib_dec\cng_dec_fx.c"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\lib_dec\core_dec_init.c" /> <ClCompile Include="..\lib_dec\core_dec_init_fx.c" /> <ClCompile Include="..\lib_dec\core_dec_reconf.c" /> <ClCompile Include="..\lib_dec\core_dec_reconf_fx.c" /> <ClCompile Include="..\lib_dec\core_dec_switch.c" /> <ClCompile Include="..\lib_dec\core_dec_switch_fx.c" /> <ClCompile Include="..\lib_dec\core_switching_dec.c" /> <ClCompile Include="..\lib_dec\core_switching_dec_fx.c" /> <ClCompile Include="..\lib_dec\dec2t32.c" /> <ClCompile Include="..\lib_dec\dec2t32_fx.c" /> <ClCompile Include="..\lib_dec\dec4t64.c" /> <ClCompile Include="..\lib_dec\dec4t64_fx.c" /> <ClCompile Include="..\lib_dec\decision_matrix_dec.c" /> <ClCompile Include="..\lib_dec\decision_matrix_dec_fx.c" /> <ClCompile Include="..\lib_dec\dec_ace.c" /> <ClCompile Include="..\lib_dec\dec_acelp.c" /> <ClCompile Include="..\lib_dec\dec_acelp_fx.c" /> <ClCompile Include="..\lib_dec\dec_acelp_tcx_main.c" /> <ClCompile Include="..\lib_dec\dec_acelp_tcx_main_fx.c" /> <ClCompile Include="..\lib_dec\dec_ace_fx.c" /> <ClCompile Include="..\lib_dec\dec_amr_wb.c" /> <ClCompile Include="..\lib_dec\dec_amr_wb_fx.c" /> <ClCompile Include="..\lib_dec\dec_gen_voic.c" /> <ClCompile Include="..\lib_dec\dec_gen_voic_fx.c" /> <ClCompile Include="..\lib_dec\dec_higher_acelp.c" /> <ClCompile Include="..\lib_dec\dec_higher_acelp_fx.c" /> <ClCompile Include="..\lib_dec\dec_LPD.c" /> <ClCompile Include="..\lib_dec\dec_LPD_fx.c" /> <ClCompile Include="..\lib_dec\dec_nelp.c" /> <ClCompile Include="..\lib_dec\dec_nelp_fx.c" /> <ClCompile Include="..\lib_dec\dec_pit_exc.c" /> <ClCompile Include="..\lib_dec\dec_pit_exc_fx.c" /> <ClCompile Include="..\lib_dec\dec_post.c" /> <ClCompile Include="..\lib_dec\dec_post_fx.c" /> <ClCompile Include="..\lib_dec\dec_ppp.c" /> <ClCompile Include="..\lib_dec\dec_ppp_fx.c" /> <ClCompile Include="..\lib_dec\dec_prm.c" /> <ClCompile Include="..\lib_dec\dec_prm_fx.c" /> <ClCompile Include="..\lib_dec\dec_tcx.c" /> <ClCompile Include="..\lib_dec\dec_tcx_fx.c" /> <ClCompile Include="..\lib_dec\dec_tran.c" /> <ClCompile Include="..\lib_dec\dec_tran_fx.c" /> <ClCompile Include="..\lib_dec\dec_uv.c" /> <ClCompile Include="..\lib_dec\dec_uv_fx.c" /> <ClCompile Include="..\lib_dec\dlpc_avq.c" /> <ClCompile Include="..\lib_dec\dlpc_avq_fx.c" /> <ClCompile Include="..\lib_dec\dlpc_stoch.c" /> <ClCompile Include="..\lib_dec\dlpc_stoch_fx.c" /> <ClCompile Include="..\lib_dec\d_gain2p.c" /> <ClCompile Include="..\lib_dec\d_gain2p_fx.c" /> <ClCompile Include="..\lib_dec\er_dec_acelp.c" /> <ClCompile Include="..\lib_dec\er_dec_acelp_fx.c" /> <ClCompile Include="..\lib_dec\er_dec_tcx.c" /> <ClCompile Include="..\lib_dec\er_dec_tcx_fx.c" /> <ClCompile Include="..\lib_dec\er_scale_syn.c" /> <ClCompile Include="..\lib_dec\er_scale_syn_fx.c" /> <ClCompile Include="..\lib_dec\er_sync_exc.c" /> <ClCompile Include="..\lib_dec\er_sync_exc_fx.c" /> <ClCompile Include="..\lib_dec\er_util.c" /> <ClCompile Include="..\lib_dec\er_util_fx.c" /> <ClCompile Include="..\lib_dec\evs_dec.c" /> <ClCompile Include="..\lib_dec\evs_dec_fx.c" /> <ClCompile Include="..\lib_dec\fd_cng_dec.c" /> <ClCompile Include="..\lib_dec\fd_cng_dec_fx.c" /> <ClCompile Include="..\lib_dec\FEC.c" /> <ClCompile Include="..\lib_dec\FEC_adapt_codebook.c" /> <ClCompile Include="..\lib_dec\FEC_adapt_codebook_fx.c" /> <ClCompile Include="..\lib_dec\FEC_clas_estim.c" /> <ClCompile Include="..\lib_dec\FEC_clas_estim_fx.c" /> <ClCompile Include="..\lib_dec\FEC_fx.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_core.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_core_fx.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_phase_ecu.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_phase_ecu_fx.c" /> <ClCompile Include="..\lib_dec\FEC_lsf_estim.c" /> <ClCompile Include="..\lib_dec\FEC_lsf_estim_fx.c" /> <ClCompile Include="..\lib_dec\FEC_pitch_estim.c" /> <ClCompile Include="..\lib_dec\FEC_pitch_estim_fx.c" /> <ClCompile Include="..\lib_dec\FEC_scale_syn.c" /> <ClCompile Include="..\lib_dec\FEC_scale_syn_fx.c" /> <ClCompile Include="..\lib_dec\gain_dec.c" /> <ClCompile Include="..\lib_dec\gain_dec_fx.c" /> <ClCompile Include="..\lib_dec\gaus_dec.c" /> <ClCompile Include="..\lib_dec\gaus_dec_fx.c" /> <ClCompile Include="..\lib_dec\gs_dec.c" /> <ClCompile Include="..\lib_dec\gs_dec_amr_wb.c" /> <ClCompile Include="..\lib_dec\gs_dec_amr_wb_fx.c" /> <ClCompile Include="..\lib_dec\gs_dec_fx.c" /> <ClCompile Include="..\lib_dec\hdecnrm.c" /> <ClCompile Include="..\lib_dec\hdecnrm_fx.c" /> <ClCompile Include="..\lib_dec\hf_synth.c" /> <ClCompile Include="..\lib_dec\hf_synth_fx.c" /> <ClCompile Include="..\lib_dec\hq_classifier_dec.c" /> <ClCompile Include="..\lib_dec\hq_classifier_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_conf_fec.c" /> <ClCompile Include="..\lib_dec\hq_conf_fec_fx.c" /> <ClCompile Include="..\lib_dec\hq_core_dec.c" /> <ClCompile Include="..\lib_dec\hq_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_env_dec.c" /> <ClCompile Include="..\lib_dec\hq_env_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_hr_dec.c" /> <ClCompile Include="..\lib_dec\hq_hr_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_lr_dec.c" /> <ClCompile Include="..\lib_dec\hq_lr_dec_fx.c" /> <ClCompile Include="..\lib_dec\igf_dec.c" /> <ClCompile Include="..\lib_dec\igf_dec_fx.c" /> <ClCompile Include="..\lib_dec\igf_scf_dec.c" /> <ClCompile Include="..\lib_dec\igf_scf_dec_fx.c" /> <ClCompile Include="..\lib_dec\init_dec.c" /> <ClCompile Include="..\lib_dec\init_dec_fx.c" /> <ClCompile Include="..\lib_dec\inov_dec.c" /> <ClCompile Include="..\lib_dec\inov_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_agc_dec.c" /> <ClCompile Include="..\lib_dec\ivas_agc_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_binRenderer_internal.c" /> <ClCompile Include="..\lib_dec\ivas_corecoder_dec_reconfig.c" /> <ClCompile Include="..\lib_dec\ivas_core_dec.c" /> <ClCompile Include="..\lib_dec\ivas_cpe_dec.c" /> <ClCompile Include="..\lib_dec\ivas_cpe_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_dec.c" /> <ClCompile Include="..\lib_dec\ivas_decision_matrix_dec.c" /> <ClCompile Include="..\lib_dec\ivas_dirac_dec.c" /> <ClCompile Include="..\lib_dec\ivas_dirac_output_synthesis_cov.c" /> Loading @@ -294,16 +236,13 @@ <ClCompile Include="..\lib_dec\ivas_ism_param_dec.c" /> <ClCompile Include="..\lib_dec\ivas_ism_renderer.c" /> <ClCompile Include="..\lib_dec\ivas_jbm_dec.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_dec.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_plc.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_plc_fx.c" /> <ClCompile Include="..\lib_dec\ivas_ls_custom_dec.c" /> <ClCompile Include="..\lib_dec\ivas_masa_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mcmasa_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mct_core_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mct_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mct_dec_mct.c" /> <ClCompile Include="..\lib_dec\ivas_mct_dec_mct_fx.c" /> <ClCompile Include="..\lib_dec\ivas_mc_paramupmix_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mc_param_dec.c" /> Loading @@ -315,7 +254,6 @@ <ClCompile Include="..\lib_dec\ivas_omasa_dec.c" /> <ClCompile Include="..\lib_dec\ivas_output_config.c" /> <ClCompile Include="..\lib_dec\ivas_out_setup_conversion.c" /> <ClCompile Include="..\lib_dec\ivas_pca_dec.c" /> <ClCompile Include="..\lib_dec\ivas_pca_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_post_proc.c" /> <ClCompile Include="..\lib_dec\ivas_range_uni_dec.c" /> Loading @@ -323,10 +261,8 @@ <ClCompile Include="..\lib_dec\ivas_qspherical_dec.c" /> <ClCompile Include="..\lib_dec\ivas_rom_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sba_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sba_dirac_stereo_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sba_dirac_stereo_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_sba_rendering_internal.c" /> <ClCompile Include="..\lib_dec\ivas_sce_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sce_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_sns_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_spar_decoder.c" /> Loading @@ -336,13 +272,11 @@ <ClCompile Include="..\lib_dec\ivas_stereo_dft_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_dec_dmx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_plc.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_plc_fx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_eclvq_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_esf_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_ica_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_icbwe_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_mdct_core_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_mdct_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_mdct_stereo_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_switching_dec.c" /> Loading @@ -355,78 +289,45 @@ <ClCompile Include="..\lib_dec\jbm_jb4_inputbuffer.c" /> <ClCompile Include="..\lib_dec\jbm_jb4_jmf.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_apa.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_fifo.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_similarityestimation.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_window.c" /> <ClCompile Include="..\lib_dec\LD_music_post_filter.c" /> <ClCompile Include="..\lib_dec\LD_music_post_filter_fx.c" /> <ClCompile Include="..\lib_dec\lead_deindexing.c" /> <ClCompile Include="..\lib_dec\lead_deindexing_fx.c" /> <ClCompile Include="..\lib_dec\lib_dec.c" /> <ClCompile Include="..\lib_dec\lib_dec_fx.c" /> <ClCompile Include="..\lib_dec\lp_exc_d.c" /> <ClCompile Include="..\lib_dec\lp_exc_d_fx.c" /> <ClCompile Include="..\lib_dec\lsf_dec.c" /> <ClCompile Include="..\lib_dec\lsf_dec_fx.c" /> <ClCompile Include="..\lib_dec\lsf_msvq_ma_dec.c" /> <ClCompile Include="..\lib_dec\lsf_msvq_ma_dec_fx.c" /> <ClCompile Include="..\lib_dec\nelp_dec.c" /> <ClCompile Include="..\lib_dec\nelp_dec_fx.c" /> <ClCompile Include="..\lib_dec\peak_vq_dec.c" /> <ClCompile Include="..\lib_dec\peak_vq_dec_fx.c" /> <ClCompile Include="..\lib_dec\pitch_extr.c" /> <ClCompile Include="..\lib_dec\pitch_extr_fx.c" /> <ClCompile Include="..\lib_dec\pit_dec.c" /> <ClCompile Include="..\lib_dec\pit_dec_fx.c" /> <ClCompile Include="..\lib_dec\post_dec.c" /> <ClCompile Include="..\lib_dec\post_dec_fx.c" /> <ClCompile Include="..\lib_dec\ppp_dec.c" /> <ClCompile Include="..\lib_dec\ppp_dec_fx.c" /> <ClCompile Include="..\lib_dec\pvq_core_dec.c" /> <ClCompile Include="..\lib_dec\pvq_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\pvq_decode.c" /> <ClCompile Include="..\lib_dec\pvq_decode_fx.c" /> <ClCompile Include="..\lib_dec\range_dec.c" /> <ClCompile Include="..\lib_dec\range_dec_fx.c" /> <ClCompile Include="..\lib_dec\re8_dec.c" /> <ClCompile Include="..\lib_dec\re8_dec_fx.c" /> <ClCompile Include="..\lib_dec\rom_dec.c" /> <ClCompile Include="..\lib_dec\rst_dec.c" /> <ClCompile Include="..\lib_dec\rst_dec_fx.c" /> <ClCompile Include="..\lib_dec\stat_noise_uv_dec.c" /> <ClCompile Include="..\lib_dec\stat_noise_uv_dec_fx.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_fx.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_hr.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_hr_fx.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_lr.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_lr_fx.c" /> <ClCompile Include="..\lib_dec\swb_tbe_dec.c" /> <ClCompile Include="..\lib_dec\swb_tbe_dec_fx.c" /> <ClCompile Include="..\lib_dec\syn_outp.c" /> <ClCompile Include="..\lib_dec\syn_outp_fx.c" /> <ClCompile Include="..\lib_dec\tcq_core_dec.c" /> <ClCompile Include="..\lib_dec\tcq_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\tcx_utils_dec.c" /> <ClCompile Include="..\lib_dec\tcx_utils_dec_fx.c" /> <ClCompile Include="..\lib_dec\tns_base_dec.c" /> <ClCompile Include="..\lib_dec\tns_base_dec_fx.c" /> <ClCompile Include="..\lib_dec\TonalComponentDetection.c" /> <ClCompile Include="..\lib_dec\TonalComponentDetection_fx.c" /> <ClCompile Include="..\lib_dec\tonalMDCTconcealment.c" /> <ClCompile Include="..\lib_dec\tonalMDCTconcealment_fx.c" /> <ClCompile Include="..\lib_dec\transition_dec.c" /> <ClCompile Include="..\lib_dec\transition_dec_fx.c" /> <ClCompile Include="..\lib_dec\updt_dec.c" /> <ClCompile Include="..\lib_dec\updt_dec_fx.c" /> <ClCompile Include="..\lib_dec\vlpc_1st_dec.c" /> <ClCompile Include="..\lib_dec\vlpc_1st_dec_fx.c" /> <ClCompile Include="..\lib_dec\vlpc_2st_dec.c" /> <ClCompile Include="..\lib_dec\vlpc_2st_dec_fx.c" /> <ClCompile Include="..\lib_dec\voiced_dec.c" /> <ClCompile Include="..\lib_dec\voiced_dec_fx.c" /> <ClCompile Include="..\lib_dec\waveadjust_fec_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sns_dec.c" /> <ClCompile Include="..\lib_dec\waveadjust_fec_dec_fx.c" /> </ItemGroup> <ItemGroup> Loading Workspace_msvc/lib_dec.vcxproj.filters +0 −295 File changed.Preview size limit exceeded, changes collapsed. Show changes lib_com/ivas_dirac_com.c +8 −0 Original line number Diff line number Diff line Loading @@ -974,7 +974,11 @@ void computeDiffuseness_fixed( Word16 shift_qtotal; if ( shift_q < 0 ) { #ifdef FIX_USAN_ISSUES shiftEquiv = L_lshl( (Word32) 0x80000000, shift_q ); #else shiftEquiv = L_lshl( 0x80000000, shift_q ); #endif } if ( shift_q >= 0 ) { Loading Loading @@ -1020,7 +1024,11 @@ void computeDiffuseness_fixed( #ifdef FIX_1072_SPEEDUP_COMPUTEDIFUSENESS if ( shift_q < 0 ) { #ifdef FIX_USAN_ISSUES shiftEquiv = L_lshl( (Word32) 0x80000000, shift_q ); #else shiftEquiv = L_lshl( 0x80000000, shift_q ); #endif } if ( shift_q >= 0 ) { Loading lib_com/lpc_tools_fx.c +85 −0 Original line number Diff line number Diff line Loading @@ -1210,6 +1210,91 @@ Word16 E_LPC_lsp_unweight( return 0; } /* * E_LPC_schur_ivas * * Parameters: * R I: Rh[M+1] Vector of autocorrelations (msb) * reflCoeff O: rc[M] Reflection coefficients. Q15 * epsP O: error vector * * Function: * Schur algorithm to compute * the LPC parameters from the autocorrelations of speech. * * Returns: * void */ Word32 E_LPC_schur_ivas( Word32 r[] /*Qr*/, Word16 reflCoeff[] /*Q15*/, const Word16 m ) { Word16 i, j, temp16, mMi, s; Word32 g0[M], *g1, tmp32; const Word32 min_epsP = 1; /* > 0.01f*2^27/2^30 */ Word32 tmp_epsP; s = getScaleFactor32( r, add( m, 1 ) ); IF( s != 0 ) { scale_sig32( r, add( m, 1 ), s ); /* scale in-place */ } g1 = r; Copy32( r + 1, g0, m ); /* compute g0[0]/g1[0], where g0[0] < g1[0] */ temp16 = negate( divide3232( g0[0], g1[0] ) ); reflCoeff[0] = temp16; move16(); // epsP[0] = r[0]; move32(); FOR( i = 0; i < m; i++ ) { /* g1[0] = g0[0]*temp16 + g1[0]; */ tmp32 = Mpy_32_16_1( g0[0], temp16 ); g1[0] = L_add( g1[0], tmp32 ); move32(); mMi = sub( m, i ); FOR( j = 1; j < mMi; j++ ) { /* g0[j-1] = g0[j] + g1[j]*temp16; g1[j] = g0[j]*temp16 + g1[j]; */ g0[j - 1] = L_add( g0[j], Mpy_32_16_1( g1[j], temp16 ) ); move32(); g1[j] = L_add( g1[j], Mpy_32_16_1( g0[j], temp16 ) ); move32(); } temp16 = negate( divide3232( g0[0], g1[0] ) ); reflCoeff[i + 1] = temp16; move16(); /* Prediction errors */ tmp_epsP = L_shr( g1[0], s ); if ( tmp_epsP <= 0 ) { tmp_epsP = min_epsP; move32(); } // epsP[i + 1] = tmp_epsP; move32(); } /* epsP[i+1] = g0[0]*temp16 + g1[0]; */ tmp_epsP = L_add( g1[0], Mpy_32_16_1( g0[0], temp16 ) ); tmp_epsP = L_shr( tmp_epsP, s ); if ( tmp_epsP <= 0 ) { tmp_epsP = min_epsP; move32(); } /* prediction gain = divide3232(L_shr(epsP[0], PRED_GAIN_E), g1[0]); */ return g1[0]; } /* * E_LPC_schur Loading Loading
.gitlab-ci.yml +12 −7 Original line number Diff line number Diff line Loading @@ -786,7 +786,7 @@ stages: - echo "Reproduce locally with:" - echo -e "1. Create references with target branch $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:\n\t- git checkout $(cat $FLOAT_REF_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- mv IVAS_cod IVAS_cod_ref\n\t- mv IVAS_dec IVAS_dec_ref\n\t- python3 -m pytest $(cat $ERRORS_TESTCASES_LIST) --update_ref 1 --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH" - echo -e "2. Run test with source branch $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:\n\t- git checkout $(cat $CUT_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- python3 -m pytest $(cat $ERRORS_TESTCASES_LIST) --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH" - echo "The individual command lines can be found in the changes*.csv files in the job artifacts." - echo "The individual command lines can be found in the regressions_crashes.csv files in the job artifacts." - elif [ $regressions_found != 0 ] && [ "$SKIP_REGRESSION_CHECK" != "true" ]; then - cat regression_log.txt - if [ $allow_regressions_flag == 0 ]; then Loading @@ -799,7 +799,7 @@ stages: - echo "Reproduce locally with:" - echo -e "1. Create references with target branch $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:\n\t- git checkout $(cat $FLOAT_REF_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- mv IVAS_cod IVAS_cod_ref\n\t- mv IVAS_dec IVAS_dec_ref\n\t- python3 -m pytest $(cat $FAILED_TESTCASES_LIST) --update_ref 1 --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH" - echo -e "2. Run test with source branch $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:\n\t- git checkout $(cat $CUT_COMMIT_FILE)\n\t- make clean\n\t- make -j\n\t- python3 -m pytest $(cat $FAILED_TESTCASES_LIST) --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH" - echo "The individual command lines can be found in the changes*.csv files in the job artifacts." - echo "The individual command lines can be found in the regressions_*.csv files in the job artifacts." - fi - exit $exit_code Loading @@ -824,11 +824,16 @@ stages: - $FLOAT_REF_COMMIT_FILE - $CUT_COMMIT_FILE - $MERGE_TARGET_COMMIT_FILE - changes_crashes.csv - changes_MLD.csv - changes_MAXIMUM_ABS_DIFF.csv - changes_MIN_SSNR.csv - changes_MIN_ODG.csv - regressions_crashes.csv - regressions_MLD.csv - regressions_MAXIMUM_ABS_DIFF.csv - regressions_MIN_SSNR.csv - regressions_MIN_ODG.csv - improvements_crashes.csv - improvements_MLD.csv - improvements_MAXIMUM_ABS_DIFF.csv - improvements_MIN_SSNR.csv - improvements_MIN_ODG.csv expose_as: "pytest compare results" reports: junit: Loading
Workspace_msvc/lib_dec.vcxproj +0 −99 Original line number Diff line number Diff line Loading @@ -136,152 +136,94 @@ </Lib> </ItemDefinitionGroup> <ItemGroup> <ClCompile Include="..\lib_dec\ACcontextMapping_dec.c" /> <ClCompile Include="..\lib_dec\ACcontextMapping_dec_fx.c"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\lib_dec\acelp_core_dec.c" /> <ClCompile Include="..\lib_dec\acelp_core_dec_fx.c"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\lib_dec\acelp_core_dec_ivas_fx.c" /> <ClCompile Include="..\lib_dec\acelp_core_switch_dec.c" /> <ClCompile Include="..\lib_dec\acelp_core_switch_dec_fx.c" /> <ClCompile Include="..\lib_dec\amr_wb_dec.c" /> <ClCompile Include="..\lib_dec\amr_wb_dec_fx.c" /> <ClCompile Include="..\lib_dec\arith_coder_dec.c" /> <ClCompile Include="..\lib_dec\arith_coder_dec_fx.c" /> <ClCompile Include="..\lib_dec\ari_dec.c" /> <ClCompile Include="..\lib_dec\ari_dec_fx.c" /> <ClCompile Include="..\lib_dec\ari_hm_dec.c" /> <ClCompile Include="..\lib_dec\avq_dec.c" /> <ClCompile Include="..\lib_dec\avq_dec_fx.c" /> <ClCompile Include="..\lib_dec\bass_psfilter.c" /> <ClCompile Include="..\lib_dec\bass_psfilter_fx.c" /> <ClCompile Include="..\lib_dec\cng_dec.c" /> <ClCompile Include="..\lib_dec\cng_dec_fx.c"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\lib_dec\core_dec_init.c" /> <ClCompile Include="..\lib_dec\core_dec_init_fx.c" /> <ClCompile Include="..\lib_dec\core_dec_reconf.c" /> <ClCompile Include="..\lib_dec\core_dec_reconf_fx.c" /> <ClCompile Include="..\lib_dec\core_dec_switch.c" /> <ClCompile Include="..\lib_dec\core_dec_switch_fx.c" /> <ClCompile Include="..\lib_dec\core_switching_dec.c" /> <ClCompile Include="..\lib_dec\core_switching_dec_fx.c" /> <ClCompile Include="..\lib_dec\dec2t32.c" /> <ClCompile Include="..\lib_dec\dec2t32_fx.c" /> <ClCompile Include="..\lib_dec\dec4t64.c" /> <ClCompile Include="..\lib_dec\dec4t64_fx.c" /> <ClCompile Include="..\lib_dec\decision_matrix_dec.c" /> <ClCompile Include="..\lib_dec\decision_matrix_dec_fx.c" /> <ClCompile Include="..\lib_dec\dec_ace.c" /> <ClCompile Include="..\lib_dec\dec_acelp.c" /> <ClCompile Include="..\lib_dec\dec_acelp_fx.c" /> <ClCompile Include="..\lib_dec\dec_acelp_tcx_main.c" /> <ClCompile Include="..\lib_dec\dec_acelp_tcx_main_fx.c" /> <ClCompile Include="..\lib_dec\dec_ace_fx.c" /> <ClCompile Include="..\lib_dec\dec_amr_wb.c" /> <ClCompile Include="..\lib_dec\dec_amr_wb_fx.c" /> <ClCompile Include="..\lib_dec\dec_gen_voic.c" /> <ClCompile Include="..\lib_dec\dec_gen_voic_fx.c" /> <ClCompile Include="..\lib_dec\dec_higher_acelp.c" /> <ClCompile Include="..\lib_dec\dec_higher_acelp_fx.c" /> <ClCompile Include="..\lib_dec\dec_LPD.c" /> <ClCompile Include="..\lib_dec\dec_LPD_fx.c" /> <ClCompile Include="..\lib_dec\dec_nelp.c" /> <ClCompile Include="..\lib_dec\dec_nelp_fx.c" /> <ClCompile Include="..\lib_dec\dec_pit_exc.c" /> <ClCompile Include="..\lib_dec\dec_pit_exc_fx.c" /> <ClCompile Include="..\lib_dec\dec_post.c" /> <ClCompile Include="..\lib_dec\dec_post_fx.c" /> <ClCompile Include="..\lib_dec\dec_ppp.c" /> <ClCompile Include="..\lib_dec\dec_ppp_fx.c" /> <ClCompile Include="..\lib_dec\dec_prm.c" /> <ClCompile Include="..\lib_dec\dec_prm_fx.c" /> <ClCompile Include="..\lib_dec\dec_tcx.c" /> <ClCompile Include="..\lib_dec\dec_tcx_fx.c" /> <ClCompile Include="..\lib_dec\dec_tran.c" /> <ClCompile Include="..\lib_dec\dec_tran_fx.c" /> <ClCompile Include="..\lib_dec\dec_uv.c" /> <ClCompile Include="..\lib_dec\dec_uv_fx.c" /> <ClCompile Include="..\lib_dec\dlpc_avq.c" /> <ClCompile Include="..\lib_dec\dlpc_avq_fx.c" /> <ClCompile Include="..\lib_dec\dlpc_stoch.c" /> <ClCompile Include="..\lib_dec\dlpc_stoch_fx.c" /> <ClCompile Include="..\lib_dec\d_gain2p.c" /> <ClCompile Include="..\lib_dec\d_gain2p_fx.c" /> <ClCompile Include="..\lib_dec\er_dec_acelp.c" /> <ClCompile Include="..\lib_dec\er_dec_acelp_fx.c" /> <ClCompile Include="..\lib_dec\er_dec_tcx.c" /> <ClCompile Include="..\lib_dec\er_dec_tcx_fx.c" /> <ClCompile Include="..\lib_dec\er_scale_syn.c" /> <ClCompile Include="..\lib_dec\er_scale_syn_fx.c" /> <ClCompile Include="..\lib_dec\er_sync_exc.c" /> <ClCompile Include="..\lib_dec\er_sync_exc_fx.c" /> <ClCompile Include="..\lib_dec\er_util.c" /> <ClCompile Include="..\lib_dec\er_util_fx.c" /> <ClCompile Include="..\lib_dec\evs_dec.c" /> <ClCompile Include="..\lib_dec\evs_dec_fx.c" /> <ClCompile Include="..\lib_dec\fd_cng_dec.c" /> <ClCompile Include="..\lib_dec\fd_cng_dec_fx.c" /> <ClCompile Include="..\lib_dec\FEC.c" /> <ClCompile Include="..\lib_dec\FEC_adapt_codebook.c" /> <ClCompile Include="..\lib_dec\FEC_adapt_codebook_fx.c" /> <ClCompile Include="..\lib_dec\FEC_clas_estim.c" /> <ClCompile Include="..\lib_dec\FEC_clas_estim_fx.c" /> <ClCompile Include="..\lib_dec\FEC_fx.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_core.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_core_fx.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_phase_ecu.c" /> <ClCompile Include="..\lib_dec\FEC_HQ_phase_ecu_fx.c" /> <ClCompile Include="..\lib_dec\FEC_lsf_estim.c" /> <ClCompile Include="..\lib_dec\FEC_lsf_estim_fx.c" /> <ClCompile Include="..\lib_dec\FEC_pitch_estim.c" /> <ClCompile Include="..\lib_dec\FEC_pitch_estim_fx.c" /> <ClCompile Include="..\lib_dec\FEC_scale_syn.c" /> <ClCompile Include="..\lib_dec\FEC_scale_syn_fx.c" /> <ClCompile Include="..\lib_dec\gain_dec.c" /> <ClCompile Include="..\lib_dec\gain_dec_fx.c" /> <ClCompile Include="..\lib_dec\gaus_dec.c" /> <ClCompile Include="..\lib_dec\gaus_dec_fx.c" /> <ClCompile Include="..\lib_dec\gs_dec.c" /> <ClCompile Include="..\lib_dec\gs_dec_amr_wb.c" /> <ClCompile Include="..\lib_dec\gs_dec_amr_wb_fx.c" /> <ClCompile Include="..\lib_dec\gs_dec_fx.c" /> <ClCompile Include="..\lib_dec\hdecnrm.c" /> <ClCompile Include="..\lib_dec\hdecnrm_fx.c" /> <ClCompile Include="..\lib_dec\hf_synth.c" /> <ClCompile Include="..\lib_dec\hf_synth_fx.c" /> <ClCompile Include="..\lib_dec\hq_classifier_dec.c" /> <ClCompile Include="..\lib_dec\hq_classifier_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_conf_fec.c" /> <ClCompile Include="..\lib_dec\hq_conf_fec_fx.c" /> <ClCompile Include="..\lib_dec\hq_core_dec.c" /> <ClCompile Include="..\lib_dec\hq_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_env_dec.c" /> <ClCompile Include="..\lib_dec\hq_env_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_hr_dec.c" /> <ClCompile Include="..\lib_dec\hq_hr_dec_fx.c" /> <ClCompile Include="..\lib_dec\hq_lr_dec.c" /> <ClCompile Include="..\lib_dec\hq_lr_dec_fx.c" /> <ClCompile Include="..\lib_dec\igf_dec.c" /> <ClCompile Include="..\lib_dec\igf_dec_fx.c" /> <ClCompile Include="..\lib_dec\igf_scf_dec.c" /> <ClCompile Include="..\lib_dec\igf_scf_dec_fx.c" /> <ClCompile Include="..\lib_dec\init_dec.c" /> <ClCompile Include="..\lib_dec\init_dec_fx.c" /> <ClCompile Include="..\lib_dec\inov_dec.c" /> <ClCompile Include="..\lib_dec\inov_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_agc_dec.c" /> <ClCompile Include="..\lib_dec\ivas_agc_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_binRenderer_internal.c" /> <ClCompile Include="..\lib_dec\ivas_corecoder_dec_reconfig.c" /> <ClCompile Include="..\lib_dec\ivas_core_dec.c" /> <ClCompile Include="..\lib_dec\ivas_cpe_dec.c" /> <ClCompile Include="..\lib_dec\ivas_cpe_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_dec.c" /> <ClCompile Include="..\lib_dec\ivas_decision_matrix_dec.c" /> <ClCompile Include="..\lib_dec\ivas_dirac_dec.c" /> <ClCompile Include="..\lib_dec\ivas_dirac_output_synthesis_cov.c" /> Loading @@ -294,16 +236,13 @@ <ClCompile Include="..\lib_dec\ivas_ism_param_dec.c" /> <ClCompile Include="..\lib_dec\ivas_ism_renderer.c" /> <ClCompile Include="..\lib_dec\ivas_jbm_dec.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_dec.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_plc.c" /> <ClCompile Include="..\lib_dec\ivas_lfe_plc_fx.c" /> <ClCompile Include="..\lib_dec\ivas_ls_custom_dec.c" /> <ClCompile Include="..\lib_dec\ivas_masa_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mcmasa_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mct_core_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mct_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mct_dec_mct.c" /> <ClCompile Include="..\lib_dec\ivas_mct_dec_mct_fx.c" /> <ClCompile Include="..\lib_dec\ivas_mc_paramupmix_dec.c" /> <ClCompile Include="..\lib_dec\ivas_mc_param_dec.c" /> Loading @@ -315,7 +254,6 @@ <ClCompile Include="..\lib_dec\ivas_omasa_dec.c" /> <ClCompile Include="..\lib_dec\ivas_output_config.c" /> <ClCompile Include="..\lib_dec\ivas_out_setup_conversion.c" /> <ClCompile Include="..\lib_dec\ivas_pca_dec.c" /> <ClCompile Include="..\lib_dec\ivas_pca_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_post_proc.c" /> <ClCompile Include="..\lib_dec\ivas_range_uni_dec.c" /> Loading @@ -323,10 +261,8 @@ <ClCompile Include="..\lib_dec\ivas_qspherical_dec.c" /> <ClCompile Include="..\lib_dec\ivas_rom_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sba_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sba_dirac_stereo_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sba_dirac_stereo_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_sba_rendering_internal.c" /> <ClCompile Include="..\lib_dec\ivas_sce_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sce_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_sns_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_spar_decoder.c" /> Loading @@ -336,13 +272,11 @@ <ClCompile Include="..\lib_dec\ivas_stereo_dft_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_dec_dmx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_plc.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_dft_plc_fx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_eclvq_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_esf_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_ica_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_icbwe_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_mdct_core_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_mdct_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_mdct_stereo_dec.c" /> <ClCompile Include="..\lib_dec\ivas_stereo_switching_dec.c" /> Loading @@ -355,78 +289,45 @@ <ClCompile Include="..\lib_dec\jbm_jb4_inputbuffer.c" /> <ClCompile Include="..\lib_dec\jbm_jb4_jmf.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_apa.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_fifo.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_similarityestimation.c" /> <ClCompile Include="..\lib_dec\jbm_pcmdsp_window.c" /> <ClCompile Include="..\lib_dec\LD_music_post_filter.c" /> <ClCompile Include="..\lib_dec\LD_music_post_filter_fx.c" /> <ClCompile Include="..\lib_dec\lead_deindexing.c" /> <ClCompile Include="..\lib_dec\lead_deindexing_fx.c" /> <ClCompile Include="..\lib_dec\lib_dec.c" /> <ClCompile Include="..\lib_dec\lib_dec_fx.c" /> <ClCompile Include="..\lib_dec\lp_exc_d.c" /> <ClCompile Include="..\lib_dec\lp_exc_d_fx.c" /> <ClCompile Include="..\lib_dec\lsf_dec.c" /> <ClCompile Include="..\lib_dec\lsf_dec_fx.c" /> <ClCompile Include="..\lib_dec\lsf_msvq_ma_dec.c" /> <ClCompile Include="..\lib_dec\lsf_msvq_ma_dec_fx.c" /> <ClCompile Include="..\lib_dec\nelp_dec.c" /> <ClCompile Include="..\lib_dec\nelp_dec_fx.c" /> <ClCompile Include="..\lib_dec\peak_vq_dec.c" /> <ClCompile Include="..\lib_dec\peak_vq_dec_fx.c" /> <ClCompile Include="..\lib_dec\pitch_extr.c" /> <ClCompile Include="..\lib_dec\pitch_extr_fx.c" /> <ClCompile Include="..\lib_dec\pit_dec.c" /> <ClCompile Include="..\lib_dec\pit_dec_fx.c" /> <ClCompile Include="..\lib_dec\post_dec.c" /> <ClCompile Include="..\lib_dec\post_dec_fx.c" /> <ClCompile Include="..\lib_dec\ppp_dec.c" /> <ClCompile Include="..\lib_dec\ppp_dec_fx.c" /> <ClCompile Include="..\lib_dec\pvq_core_dec.c" /> <ClCompile Include="..\lib_dec\pvq_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\pvq_decode.c" /> <ClCompile Include="..\lib_dec\pvq_decode_fx.c" /> <ClCompile Include="..\lib_dec\range_dec.c" /> <ClCompile Include="..\lib_dec\range_dec_fx.c" /> <ClCompile Include="..\lib_dec\re8_dec.c" /> <ClCompile Include="..\lib_dec\re8_dec_fx.c" /> <ClCompile Include="..\lib_dec\rom_dec.c" /> <ClCompile Include="..\lib_dec\rst_dec.c" /> <ClCompile Include="..\lib_dec\rst_dec_fx.c" /> <ClCompile Include="..\lib_dec\stat_noise_uv_dec.c" /> <ClCompile Include="..\lib_dec\stat_noise_uv_dec_fx.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_fx.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_hr.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_hr_fx.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_lr.c" /> <ClCompile Include="..\lib_dec\swb_bwe_dec_lr_fx.c" /> <ClCompile Include="..\lib_dec\swb_tbe_dec.c" /> <ClCompile Include="..\lib_dec\swb_tbe_dec_fx.c" /> <ClCompile Include="..\lib_dec\syn_outp.c" /> <ClCompile Include="..\lib_dec\syn_outp_fx.c" /> <ClCompile Include="..\lib_dec\tcq_core_dec.c" /> <ClCompile Include="..\lib_dec\tcq_core_dec_fx.c" /> <ClCompile Include="..\lib_dec\tcx_utils_dec.c" /> <ClCompile Include="..\lib_dec\tcx_utils_dec_fx.c" /> <ClCompile Include="..\lib_dec\tns_base_dec.c" /> <ClCompile Include="..\lib_dec\tns_base_dec_fx.c" /> <ClCompile Include="..\lib_dec\TonalComponentDetection.c" /> <ClCompile Include="..\lib_dec\TonalComponentDetection_fx.c" /> <ClCompile Include="..\lib_dec\tonalMDCTconcealment.c" /> <ClCompile Include="..\lib_dec\tonalMDCTconcealment_fx.c" /> <ClCompile Include="..\lib_dec\transition_dec.c" /> <ClCompile Include="..\lib_dec\transition_dec_fx.c" /> <ClCompile Include="..\lib_dec\updt_dec.c" /> <ClCompile Include="..\lib_dec\updt_dec_fx.c" /> <ClCompile Include="..\lib_dec\vlpc_1st_dec.c" /> <ClCompile Include="..\lib_dec\vlpc_1st_dec_fx.c" /> <ClCompile Include="..\lib_dec\vlpc_2st_dec.c" /> <ClCompile Include="..\lib_dec\vlpc_2st_dec_fx.c" /> <ClCompile Include="..\lib_dec\voiced_dec.c" /> <ClCompile Include="..\lib_dec\voiced_dec_fx.c" /> <ClCompile Include="..\lib_dec\waveadjust_fec_dec.c" /> <ClCompile Include="..\lib_dec\ivas_sns_dec.c" /> <ClCompile Include="..\lib_dec\waveadjust_fec_dec_fx.c" /> </ItemGroup> <ItemGroup> Loading
Workspace_msvc/lib_dec.vcxproj.filters +0 −295 File changed.Preview size limit exceeded, changes collapsed. Show changes
lib_com/ivas_dirac_com.c +8 −0 Original line number Diff line number Diff line Loading @@ -974,7 +974,11 @@ void computeDiffuseness_fixed( Word16 shift_qtotal; if ( shift_q < 0 ) { #ifdef FIX_USAN_ISSUES shiftEquiv = L_lshl( (Word32) 0x80000000, shift_q ); #else shiftEquiv = L_lshl( 0x80000000, shift_q ); #endif } if ( shift_q >= 0 ) { Loading Loading @@ -1020,7 +1024,11 @@ void computeDiffuseness_fixed( #ifdef FIX_1072_SPEEDUP_COMPUTEDIFUSENESS if ( shift_q < 0 ) { #ifdef FIX_USAN_ISSUES shiftEquiv = L_lshl( (Word32) 0x80000000, shift_q ); #else shiftEquiv = L_lshl( 0x80000000, shift_q ); #endif } if ( shift_q >= 0 ) { Loading
lib_com/lpc_tools_fx.c +85 −0 Original line number Diff line number Diff line Loading @@ -1210,6 +1210,91 @@ Word16 E_LPC_lsp_unweight( return 0; } /* * E_LPC_schur_ivas * * Parameters: * R I: Rh[M+1] Vector of autocorrelations (msb) * reflCoeff O: rc[M] Reflection coefficients. Q15 * epsP O: error vector * * Function: * Schur algorithm to compute * the LPC parameters from the autocorrelations of speech. * * Returns: * void */ Word32 E_LPC_schur_ivas( Word32 r[] /*Qr*/, Word16 reflCoeff[] /*Q15*/, const Word16 m ) { Word16 i, j, temp16, mMi, s; Word32 g0[M], *g1, tmp32; const Word32 min_epsP = 1; /* > 0.01f*2^27/2^30 */ Word32 tmp_epsP; s = getScaleFactor32( r, add( m, 1 ) ); IF( s != 0 ) { scale_sig32( r, add( m, 1 ), s ); /* scale in-place */ } g1 = r; Copy32( r + 1, g0, m ); /* compute g0[0]/g1[0], where g0[0] < g1[0] */ temp16 = negate( divide3232( g0[0], g1[0] ) ); reflCoeff[0] = temp16; move16(); // epsP[0] = r[0]; move32(); FOR( i = 0; i < m; i++ ) { /* g1[0] = g0[0]*temp16 + g1[0]; */ tmp32 = Mpy_32_16_1( g0[0], temp16 ); g1[0] = L_add( g1[0], tmp32 ); move32(); mMi = sub( m, i ); FOR( j = 1; j < mMi; j++ ) { /* g0[j-1] = g0[j] + g1[j]*temp16; g1[j] = g0[j]*temp16 + g1[j]; */ g0[j - 1] = L_add( g0[j], Mpy_32_16_1( g1[j], temp16 ) ); move32(); g1[j] = L_add( g1[j], Mpy_32_16_1( g0[j], temp16 ) ); move32(); } temp16 = negate( divide3232( g0[0], g1[0] ) ); reflCoeff[i + 1] = temp16; move16(); /* Prediction errors */ tmp_epsP = L_shr( g1[0], s ); if ( tmp_epsP <= 0 ) { tmp_epsP = min_epsP; move32(); } // epsP[i + 1] = tmp_epsP; move32(); } /* epsP[i+1] = g0[0]*temp16 + g1[0]; */ tmp_epsP = L_add( g1[0], Mpy_32_16_1( g0[0], temp16 ) ); tmp_epsP = L_shr( tmp_epsP, s ); if ( tmp_epsP <= 0 ) { tmp_epsP = min_epsP; move32(); } /* prediction gain = divide3232(L_shr(epsP[0], PRED_GAIN_E), g1[0]); */ return g1[0]; } /* * E_LPC_schur Loading