Loading lib_com/hq_tools_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -2024,7 +2024,7 @@ Word16 calc_nor_delta_hf_fx( max_delta = -100; move16(); calc_norm_fx( t_audio, 12, ynrm_t, normqlg2_t, 0, nb_sfm, sfmsize, sfm_start ); calc_norm_fx( t_audio, Q12, ynrm_t, normqlg2_t, 0, nb_sfm, sfmsize, sfm_start ); add_bits_denv = 0; move16(); FOR( i = num_env_bands; i < nb_sfm; ++i ) Loading lib_com/logqnorm_fx.c +8 −3 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ * * Log quantization for norms of sub-vectors *--------------------------------------------------------------------------*/ void logqnorm_ivas_fx( const Word32 *x_fx, /* i : coefficient vector Qq*/ const Word16 q, /* i : q of coefficient vector */ Loading Loading @@ -129,8 +130,11 @@ void logqnorm_ivas_fx( *k_fx = j2; move16(); } return; } void logqnorm_fx( const Word32 *L_x, /* i : coefficient vector Qx */ const Word16 qx, /* i : Q value of input */ Loading Loading @@ -276,6 +280,7 @@ void logqnorm_2_fx( * * Calculate the norms for the spectral envelope *--------------------------------------------------------------------------*/ void calc_norm_ivas_fx( const Word32 *x_fx, /* i : Input vector.(Qin) */ Word16 *norm, /* o : Quantization indices for norms Q0 */ Loading lib_enc/hq_hr_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ void hq_hr_enc_fx( *------------------------------------------------------------------*/ /* calculate and quantize norms */ calc_norm_fx( t_audio, 12, ynrm, normqlg2, start_norm, num_env_bands, sfmsize, sfm_start ); calc_norm_fx( t_audio, Q12, ynrm, normqlg2, start_norm, num_env_bands, sfmsize, sfm_start ); /* create differential code of quantized norm indices */ diff_envelope_coding_fx( is_transient, num_env_bands, start_norm, ynrm, normqlg2, difidx ); Loading Loading
lib_com/hq_tools_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -2024,7 +2024,7 @@ Word16 calc_nor_delta_hf_fx( max_delta = -100; move16(); calc_norm_fx( t_audio, 12, ynrm_t, normqlg2_t, 0, nb_sfm, sfmsize, sfm_start ); calc_norm_fx( t_audio, Q12, ynrm_t, normqlg2_t, 0, nb_sfm, sfmsize, sfm_start ); add_bits_denv = 0; move16(); FOR( i = num_env_bands; i < nb_sfm; ++i ) Loading
lib_com/logqnorm_fx.c +8 −3 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ * * Log quantization for norms of sub-vectors *--------------------------------------------------------------------------*/ void logqnorm_ivas_fx( const Word32 *x_fx, /* i : coefficient vector Qq*/ const Word16 q, /* i : q of coefficient vector */ Loading Loading @@ -129,8 +130,11 @@ void logqnorm_ivas_fx( *k_fx = j2; move16(); } return; } void logqnorm_fx( const Word32 *L_x, /* i : coefficient vector Qx */ const Word16 qx, /* i : Q value of input */ Loading Loading @@ -276,6 +280,7 @@ void logqnorm_2_fx( * * Calculate the norms for the spectral envelope *--------------------------------------------------------------------------*/ void calc_norm_ivas_fx( const Word32 *x_fx, /* i : Input vector.(Qin) */ Word16 *norm, /* o : Quantization indices for norms Q0 */ Loading
lib_enc/hq_hr_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ void hq_hr_enc_fx( *------------------------------------------------------------------*/ /* calculate and quantize norms */ calc_norm_fx( t_audio, 12, ynrm, normqlg2, start_norm, num_env_bands, sfmsize, sfm_start ); calc_norm_fx( t_audio, Q12, ynrm, normqlg2, start_norm, num_env_bands, sfmsize, sfm_start ); /* create differential code of quantized norm indices */ diff_envelope_coding_fx( is_transient, num_env_bands, start_norm, ynrm, normqlg2, difidx ); Loading