Loading Workspace_msvc/lib_enc.vcxproj +0 −3 Original line number Diff line number Diff line Loading @@ -401,10 +401,7 @@ <ClCompile Include="..\lib_enc\qlpc_avq.c" /> <ClCompile Include="..\lib_enc\q_gain2p.c" /> <ClCompile Include="..\lib_enc\rom_enc.c" /> <ClCompile Include="..\lib_enc\rst_enc.c" /> <ClCompile Include="..\lib_enc\setmodeindex.c" /> <ClCompile Include="..\lib_enc\set_impulse.c" /> <ClCompile Include="..\lib_enc\sig_clas.c" /> <ClCompile Include="..\lib_enc\ivas_sns_enc.c" /> <ClCompile Include="..\lib_enc\spec_center.c" /> <ClCompile Include="..\lib_enc\spec_flatness.c" /> Loading Workspace_msvc/lib_enc.vcxproj.filters +0 −9 Original line number Diff line number Diff line Loading @@ -292,18 +292,9 @@ <ClCompile Include="..\lib_enc\rom_enc.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\rst_enc.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\set_impulse.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\setmodeindex.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\sig_clas.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\spec_center.c"> <Filter>enc_all_c</Filter> </ClCompile> Loading lib_com/prot.h +19 −25 Original line number Diff line number Diff line Loading @@ -2994,31 +2994,25 @@ void speech_music_classif( int16_t *high_lpn_flag, /* o : sp/mus LPN flag */ const int16_t flag_spitch /* i : flag to indicate very short stable pitch */ ); void ivas_find_wsp( const Word16 L_frame, /* i : length of the frame */ const Word16 L_subfr, /* i : length of subframe */ const Word16 nb_subfr, /* i : number of subframes */ const Word16 *A_fx, /* i : A(z) filter coefficients */ Word16 *Aw_fx, /* o : weighted A(z) filter coefficients */ const Word16 *speech_fx, /* i : pointer to the denoised speech frame */ const Word16 tilt_fact, /* i : tilt factor */ Word16 *wsp_fx, /* o : poitnter to the weighted speech frame */ Word16 *mem_wsp_fx, /* i/o: W(Z) denominator memory */ const Word16 gamma, /* i : weighting factor */ const Word16 L_look /* i : look-ahead */ ); void find_wsp( const int16_t L_frame, /* i : length of the frame */ const int16_t L_subfr, /* i : length of subframe */ const int16_t nb_subfr, /* i : number of subframes */ const float *A, /* i : A(z) filter coefficients */ float *Aw, /* o : weighted A(z) filter coefficients */ const float *speech, /* i : pointer to the denoised speech frame */ const float tilt_fact, /* i : tilt factor */ float *wsp, /* o : poitnter to the weighted speech frame */ float *mem_wsp, /* i/o: W(Z) denominator memory */ const float gamma, /* i : weighting factor */ const int16_t L_look /* i : look-ahead */ void ivas_find_wsp_fx( const Word16 L_frame, /* i : length of the frame Q0*/ const Word16 L_subfr, /* i : length of subframe Q0*/ const Word16 nb_subfr, /* i : number of subframes Q0*/ const Word16 *A_fx, /* i : A(z) filter coefficients */ // Q12 Word16 *Aw_fx, /* o : weighted A(z) filter coefficients */ // Q12 const Word16 *speech_fx, /* i : pointer to the denoised speech frame */ // Q_new const Word16 tilt_fact, /* i : tilt factor */ // Q15 Word16 *wsp_fx, /* o : poitnter to the weighted speech frame */ // Q_new Word16 *mem_wsp_fx, /* i/o: W(Z) denominator memory */ // Q_new const Word16 gamma, /* i : weighting factor */ // Q15 const Word16 L_look /* i : look-ahead Q0*/ ); void gain_enc_amr_wb( Loading lib_com/prot_fx.h +3 −3 Original line number Diff line number Diff line Loading @@ -11026,9 +11026,9 @@ Word16 getTcxonly_ivas_fx( void SetModeIndex_ivas_fx( Encoder_State *st, /* i : Encoder state */ const Word32 last_total_brate, /* i : last total bitrate */ const Word16 last_element_mode, /* i : last IVAS element mode */ const Word16 MCT_flag /* i : hMCT handle allocated (1) or not (0) */ const Word32 last_total_brate, /* i : last total bitrate Q0*/ const Word16 last_element_mode, /* i : last IVAS element mode Q0*/ const Word16 MCT_flag /* i : hMCT handle allocated (1) or not (0) Q0*/ ); void IGFEncSetMode_ivas_fx( lib_enc/cng_enc_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1968,7 +1968,7 @@ void CNG_enc_ivas_fx( { L_tmp1 = L_mult0( hTdCngEnc->CNG_att_fx, 26214 /* 1/20.0f in Q19 */ ); // Q26 (7 + 19) L_tmp1 = BASOP_Util_fPow( 1342177280 /*10 in Q27 */, 4, L_tmp1, 5, &exp ); att = extract_h( L_shl( L_tmp1, exp ) ); // Q15 att = extract_h( L_shl( L_sub( L_tmp1, EPSILON_FX ), exp ) ); // Q15 // Subtracting by EPSILON_FX to avoid assertion when L_tmp1 value is 1073741824 and exp =1 v_multc_fixed_16_16( res1, att, res1, st_fx->L_frame ); /* Q_new */ } ELSE IF( st_fx->bwidth != NB ) Loading Loading
Workspace_msvc/lib_enc.vcxproj +0 −3 Original line number Diff line number Diff line Loading @@ -401,10 +401,7 @@ <ClCompile Include="..\lib_enc\qlpc_avq.c" /> <ClCompile Include="..\lib_enc\q_gain2p.c" /> <ClCompile Include="..\lib_enc\rom_enc.c" /> <ClCompile Include="..\lib_enc\rst_enc.c" /> <ClCompile Include="..\lib_enc\setmodeindex.c" /> <ClCompile Include="..\lib_enc\set_impulse.c" /> <ClCompile Include="..\lib_enc\sig_clas.c" /> <ClCompile Include="..\lib_enc\ivas_sns_enc.c" /> <ClCompile Include="..\lib_enc\spec_center.c" /> <ClCompile Include="..\lib_enc\spec_flatness.c" /> Loading
Workspace_msvc/lib_enc.vcxproj.filters +0 −9 Original line number Diff line number Diff line Loading @@ -292,18 +292,9 @@ <ClCompile Include="..\lib_enc\rom_enc.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\rst_enc.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\set_impulse.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\setmodeindex.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\sig_clas.c"> <Filter>enc_all_c</Filter> </ClCompile> <ClCompile Include="..\lib_enc\spec_center.c"> <Filter>enc_all_c</Filter> </ClCompile> Loading
lib_com/prot.h +19 −25 Original line number Diff line number Diff line Loading @@ -2994,31 +2994,25 @@ void speech_music_classif( int16_t *high_lpn_flag, /* o : sp/mus LPN flag */ const int16_t flag_spitch /* i : flag to indicate very short stable pitch */ ); void ivas_find_wsp( const Word16 L_frame, /* i : length of the frame */ const Word16 L_subfr, /* i : length of subframe */ const Word16 nb_subfr, /* i : number of subframes */ const Word16 *A_fx, /* i : A(z) filter coefficients */ Word16 *Aw_fx, /* o : weighted A(z) filter coefficients */ const Word16 *speech_fx, /* i : pointer to the denoised speech frame */ const Word16 tilt_fact, /* i : tilt factor */ Word16 *wsp_fx, /* o : poitnter to the weighted speech frame */ Word16 *mem_wsp_fx, /* i/o: W(Z) denominator memory */ const Word16 gamma, /* i : weighting factor */ const Word16 L_look /* i : look-ahead */ ); void find_wsp( const int16_t L_frame, /* i : length of the frame */ const int16_t L_subfr, /* i : length of subframe */ const int16_t nb_subfr, /* i : number of subframes */ const float *A, /* i : A(z) filter coefficients */ float *Aw, /* o : weighted A(z) filter coefficients */ const float *speech, /* i : pointer to the denoised speech frame */ const float tilt_fact, /* i : tilt factor */ float *wsp, /* o : poitnter to the weighted speech frame */ float *mem_wsp, /* i/o: W(Z) denominator memory */ const float gamma, /* i : weighting factor */ const int16_t L_look /* i : look-ahead */ void ivas_find_wsp_fx( const Word16 L_frame, /* i : length of the frame Q0*/ const Word16 L_subfr, /* i : length of subframe Q0*/ const Word16 nb_subfr, /* i : number of subframes Q0*/ const Word16 *A_fx, /* i : A(z) filter coefficients */ // Q12 Word16 *Aw_fx, /* o : weighted A(z) filter coefficients */ // Q12 const Word16 *speech_fx, /* i : pointer to the denoised speech frame */ // Q_new const Word16 tilt_fact, /* i : tilt factor */ // Q15 Word16 *wsp_fx, /* o : poitnter to the weighted speech frame */ // Q_new Word16 *mem_wsp_fx, /* i/o: W(Z) denominator memory */ // Q_new const Word16 gamma, /* i : weighting factor */ // Q15 const Word16 L_look /* i : look-ahead Q0*/ ); void gain_enc_amr_wb( Loading
lib_com/prot_fx.h +3 −3 Original line number Diff line number Diff line Loading @@ -11026,9 +11026,9 @@ Word16 getTcxonly_ivas_fx( void SetModeIndex_ivas_fx( Encoder_State *st, /* i : Encoder state */ const Word32 last_total_brate, /* i : last total bitrate */ const Word16 last_element_mode, /* i : last IVAS element mode */ const Word16 MCT_flag /* i : hMCT handle allocated (1) or not (0) */ const Word32 last_total_brate, /* i : last total bitrate Q0*/ const Word16 last_element_mode, /* i : last IVAS element mode Q0*/ const Word16 MCT_flag /* i : hMCT handle allocated (1) or not (0) Q0*/ ); void IGFEncSetMode_ivas_fx(
lib_enc/cng_enc_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1968,7 +1968,7 @@ void CNG_enc_ivas_fx( { L_tmp1 = L_mult0( hTdCngEnc->CNG_att_fx, 26214 /* 1/20.0f in Q19 */ ); // Q26 (7 + 19) L_tmp1 = BASOP_Util_fPow( 1342177280 /*10 in Q27 */, 4, L_tmp1, 5, &exp ); att = extract_h( L_shl( L_tmp1, exp ) ); // Q15 att = extract_h( L_shl( L_sub( L_tmp1, EPSILON_FX ), exp ) ); // Q15 // Subtracting by EPSILON_FX to avoid assertion when L_tmp1 value is 1073741824 and exp =1 v_multc_fixed_16_16( res1, att, res1, st_fx->L_frame ); /* Q_new */ } ELSE IF( st_fx->bwidth != NB ) Loading