Loading lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,6 @@ #define FIX_1904_HARM_GSC_ENC /* VA: #1904 Harmonization of EVS and IVAS GSC code */ #define FIX_1478_UNINIT_ON_BFI /* VA: Fix issue 1478 where a vector is partly un-initialized during bfi */ #define FIX_2318_CLANG_DECODER /* VA: basop issue 2318: Initialize command-line parameter arg.non_diegetic_pan_gain_fx */ #define HARM_CORECODER_UPDT /* VA: basop issue 2342: Remove duplicated code in core-coder common update functions */ #define HARM_CORE_SW /* VA: basop issue 2314: Remove duplicated code in the core switching */ #define HARM_PREPROC /* VA: basop issue 2339: Remove duplicated code in the core-coder DTX */ #define HARM_NON_LINEARITY /* VA: basop issue 2345: Remove duplicated code in core-coder: non_linearity_fx() and LP CNG */ Loading lib_com/prot_fx.h +0 −30 Original line number Diff line number Diff line Loading @@ -5282,15 +5282,6 @@ Word32 sign_l( const Word32 x /* i : input value of x */ ); #ifndef HARM_CORECODER_UPDT void ivas_updt_dec_common_fx( Decoder_State *st_fx, /* i/o: decoder state structure */ Word16 hq_core_type_fx, /* i : HQ core type */ const Word16 concealWholeFrameTmp, /* i : concealWholeFrameTmp flag */ const Word32 *synth, /* i : decoded synthesis */ const Word16 Qpostd /* i : Synthesis Q value */ ); #endif /* Random generator with Gaussian distribution with mean 0 and std 1 */ Word32 rand_gauss( Word16 *seed ); Loading Loading @@ -7754,23 +7745,12 @@ void updt_IO_switch_dec_fx( Decoder_State *st_fx /* o : Decoder static variables structure */ ); #ifndef HARM_CORECODER_UPDT void updt_bw_switching_fx( Decoder_State *st_fx, /* i/o: decoder state structure */ const Word16 *synth, /* i : synthesis signal Qpost */ const Word16 Qpost /* i : Synthesis Q value */ ); #endif void updt_dec_common_fx( Decoder_State *st_fx, /* i/o: decoder state structure */ Word16 hq_core_type_fx, /* i : HQ core type */ const Word16 concealWholeFrameTmp, /* i : concealWholeFrameTmp flag */ #ifdef HARM_CORECODER_UPDT const Word16 *synth16, /* i : decoded synthesis Qpostd */ const Word32 *synth, /* i : decoded synthesis Qpostd */ #else const Word16 *synth, /* i : decoded synthesis */ #endif const Word16 Qpostd /* i : Synthesis Q value */ ); Loading Loading @@ -10437,16 +10417,6 @@ void swb_pre_proc_ivas_fx( CPE_ENC_HANDLE hCPE /* i/o: CPE encoder structure */ ); #ifndef HARM_CORECODER_UPDT void core_encode_update_ivas_fx( Encoder_State *st /* i/o: Encoder state structure */ ); void updt_enc_common_ivas_fx( Encoder_State *st, /* i/o: encoder state structure */ const Word16 Q_new /* i : CUrrent frame scaling */ ); #endif /* o : Q(2x - 31 - gb) */ Word32 sum2_f_32_fx( const Word32 *vec, /* i : input vector, Qx */ Loading lib_dec/amr_wb_dec_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -997,11 +997,7 @@ ivas_error amr_wb_dec_fx( st_fx->last_flag_cna = flag_cna; move16(); #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st_fx, -1, -1, NULL, NULL, 0 ); #else updt_dec_common_fx( st_fx, -1, -1, NULL, 0 ); #endif /*----------------------------------------------------------------* * Overlap of ACELP synthesis with old MDCT memory Loading lib_dec/evs_dec_fx.c +0 −8 Original line number Diff line number Diff line Loading @@ -1387,11 +1387,7 @@ ivas_error evs_dec_fx( move16(); } #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st_fx, -1, concealWholeFrameTmp, output_sp, NULL, Qpostd ); #else updt_dec_common_fx( st_fx, -1, concealWholeFrameTmp, output_sp, Qpostd ); #endif } ELSE { Loading @@ -1401,11 +1397,7 @@ ivas_error evs_dec_fx( move16(); } #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st_fx, hq_core_type, concealWholeFrameTmp, output_sp, NULL, Qpostd ); #else updt_dec_common_fx( st_fx, hq_core_type, concealWholeFrameTmp, output_sp, Qpostd ); #endif } pop_wmops(); Loading lib_dec/ivas_core_dec_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -1525,11 +1525,7 @@ ivas_error ivas_core_dec_fx( save_synthesis_hq_fec_fx( st, NULL, output_fx_loc, output_frame, 0, hCPE ); /* Updates */ #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st, NORMAL_HQ_CORE, -1, NULL, output_32_fx[n], Q11 ); #else ivas_updt_dec_common_fx( st, NORMAL_HQ_CORE, -1, output_32_fx[n], Q11 ); #endif Scale_sig( st->delay_buf_out_fx, NS2SA_FX2( st->output_Fs, DELAY_CLDFB_NS ), negate( exp_max ) ); // Q0 Loading Loading
lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,6 @@ #define FIX_1904_HARM_GSC_ENC /* VA: #1904 Harmonization of EVS and IVAS GSC code */ #define FIX_1478_UNINIT_ON_BFI /* VA: Fix issue 1478 where a vector is partly un-initialized during bfi */ #define FIX_2318_CLANG_DECODER /* VA: basop issue 2318: Initialize command-line parameter arg.non_diegetic_pan_gain_fx */ #define HARM_CORECODER_UPDT /* VA: basop issue 2342: Remove duplicated code in core-coder common update functions */ #define HARM_CORE_SW /* VA: basop issue 2314: Remove duplicated code in the core switching */ #define HARM_PREPROC /* VA: basop issue 2339: Remove duplicated code in the core-coder DTX */ #define HARM_NON_LINEARITY /* VA: basop issue 2345: Remove duplicated code in core-coder: non_linearity_fx() and LP CNG */ Loading
lib_com/prot_fx.h +0 −30 Original line number Diff line number Diff line Loading @@ -5282,15 +5282,6 @@ Word32 sign_l( const Word32 x /* i : input value of x */ ); #ifndef HARM_CORECODER_UPDT void ivas_updt_dec_common_fx( Decoder_State *st_fx, /* i/o: decoder state structure */ Word16 hq_core_type_fx, /* i : HQ core type */ const Word16 concealWholeFrameTmp, /* i : concealWholeFrameTmp flag */ const Word32 *synth, /* i : decoded synthesis */ const Word16 Qpostd /* i : Synthesis Q value */ ); #endif /* Random generator with Gaussian distribution with mean 0 and std 1 */ Word32 rand_gauss( Word16 *seed ); Loading Loading @@ -7754,23 +7745,12 @@ void updt_IO_switch_dec_fx( Decoder_State *st_fx /* o : Decoder static variables structure */ ); #ifndef HARM_CORECODER_UPDT void updt_bw_switching_fx( Decoder_State *st_fx, /* i/o: decoder state structure */ const Word16 *synth, /* i : synthesis signal Qpost */ const Word16 Qpost /* i : Synthesis Q value */ ); #endif void updt_dec_common_fx( Decoder_State *st_fx, /* i/o: decoder state structure */ Word16 hq_core_type_fx, /* i : HQ core type */ const Word16 concealWholeFrameTmp, /* i : concealWholeFrameTmp flag */ #ifdef HARM_CORECODER_UPDT const Word16 *synth16, /* i : decoded synthesis Qpostd */ const Word32 *synth, /* i : decoded synthesis Qpostd */ #else const Word16 *synth, /* i : decoded synthesis */ #endif const Word16 Qpostd /* i : Synthesis Q value */ ); Loading Loading @@ -10437,16 +10417,6 @@ void swb_pre_proc_ivas_fx( CPE_ENC_HANDLE hCPE /* i/o: CPE encoder structure */ ); #ifndef HARM_CORECODER_UPDT void core_encode_update_ivas_fx( Encoder_State *st /* i/o: Encoder state structure */ ); void updt_enc_common_ivas_fx( Encoder_State *st, /* i/o: encoder state structure */ const Word16 Q_new /* i : CUrrent frame scaling */ ); #endif /* o : Q(2x - 31 - gb) */ Word32 sum2_f_32_fx( const Word32 *vec, /* i : input vector, Qx */ Loading
lib_dec/amr_wb_dec_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -997,11 +997,7 @@ ivas_error amr_wb_dec_fx( st_fx->last_flag_cna = flag_cna; move16(); #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st_fx, -1, -1, NULL, NULL, 0 ); #else updt_dec_common_fx( st_fx, -1, -1, NULL, 0 ); #endif /*----------------------------------------------------------------* * Overlap of ACELP synthesis with old MDCT memory Loading
lib_dec/evs_dec_fx.c +0 −8 Original line number Diff line number Diff line Loading @@ -1387,11 +1387,7 @@ ivas_error evs_dec_fx( move16(); } #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st_fx, -1, concealWholeFrameTmp, output_sp, NULL, Qpostd ); #else updt_dec_common_fx( st_fx, -1, concealWholeFrameTmp, output_sp, Qpostd ); #endif } ELSE { Loading @@ -1401,11 +1397,7 @@ ivas_error evs_dec_fx( move16(); } #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st_fx, hq_core_type, concealWholeFrameTmp, output_sp, NULL, Qpostd ); #else updt_dec_common_fx( st_fx, hq_core_type, concealWholeFrameTmp, output_sp, Qpostd ); #endif } pop_wmops(); Loading
lib_dec/ivas_core_dec_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -1525,11 +1525,7 @@ ivas_error ivas_core_dec_fx( save_synthesis_hq_fec_fx( st, NULL, output_fx_loc, output_frame, 0, hCPE ); /* Updates */ #ifdef HARM_CORECODER_UPDT updt_dec_common_fx( st, NORMAL_HQ_CORE, -1, NULL, output_32_fx[n], Q11 ); #else ivas_updt_dec_common_fx( st, NORMAL_HQ_CORE, -1, output_32_fx[n], Q11 ); #endif Scale_sig( st->delay_buf_out_fx, NS2SA_FX2( st->output_Fs, DELAY_CLDFB_NS ), negate( exp_max ) ); // Q0 Loading