Loading lib_com/rom_com.h +24 −42 Original line number Diff line number Diff line Loading @@ -397,15 +397,9 @@ extern const Word16 CBbits[]; // Q0 extern const Word16 CBbits_p[]; // Q0 extern const Word16 vals_fx[NO_LEADERS][MAX_NO_VALS]; // Q1 extern const Word16 no_vals[NO_LEADERS]; // Q0 // extern const Word16 no_vals_fx[NO_LEADERS]; extern const Word16 no_vals_ind[NO_LEADERS][MAX_NO_VALS]; // Q0 // extern const Word16 no_vals_ind_fx[NO_LEADERS][MAX_NO_VALS]; extern const Word16 C_VQ[LATTICE_DIM + 1][LATTICE_DIM + 1]; // Q0 // extern const Word16 C_VQ_fx[LATTICE_DIM + 1][LATTICE_DIM + 1]; extern const Word16 BitsVQ[]; // Q0 extern const Word16 BitsVQ_p[]; // Q0 Loading @@ -422,26 +416,21 @@ extern const Word16 scales_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 scales_ivas_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 scales_p_ivas_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 scales_p_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 predmode_tab_float[][6]; extern const Word16 predmode_tab[][6]; // Q0 extern const Word16 pl_HQ_fx[]; // Q1 extern const Word16 pi0[]; // Q0 // extern const Word16 pi0_fx[]; extern const UWord32 table_no_cv[]; // Q0 extern const Word32 table_no_cv_fx[]; // Q0 extern const Word16 pl_par[]; // Q0 // extern const Word16 pl_par_fx[]; /* 1 if even number of signs */ extern const Word16 *const Quantizers_p_fx[]; // Qlog2(2.56) extern const Word16 *const Quantizers_fx[]; // Qlog2(2.56) extern const Word16 cng_sort[]; // Q0 // extern const Word16 cng_sort_fx[]; extern const Word16 perm_MSLVQ[][4]; // Q0 // extern const Word16 perm_MSLVQ_fx[][4]; extern const Word16 min_lat_bits_SN[]; extern const Word16 min_lat_bits_SN_fx[]; // Q0 Loading Loading @@ -656,9 +645,7 @@ extern const Word16 fb_bwe_sm_subband[]; // Q0 extern const Word16 swb_inv_bwe_subband_width_fx[]; // Q15 extern const Word16 swb_bwe_sm_subband[]; // Q0 extern const Word16 smooth_factor_fx[]; // Q15 extern const Word16 fb_bwe_subband_float[]; // Q0 extern const Word16 fb_inv_bwe_subband_width_fx[]; // Q15 extern const Word16 fb_bwe_sm_subband_float[]; // Q0 extern const Word16 fb_smooth_factor_fx[]; // Q15 extern const Word16 EnvCdbk11_fx[]; /*Q8 */ extern const Word16 EnvCdbk1st_fx[]; /*Q8 */ Loading @@ -673,6 +660,7 @@ extern const Word16 w_NOR_fx[]; // Q15 extern const Word16 Mean_env_fx[]; // Q8 extern const Word16 Mean_env_fb_fx[]; /*Q8 */ extern const Word16 Mean_env_tr_fx[]; /*Q8 */ /*------------------------------------------------------------------------------* * ACEPL/HQ core switching tables *------------------------------------------------------------------------------*/ Loading @@ -685,8 +673,8 @@ extern const Word16 hp12800_16000_fx[]; // Q15 extern const Word16 cu15_fx[28][3]; // Q13 extern const Word16 cu4_fx[6][3]; // Q13 extern const Word16 ct2[7][13]; // Q0 extern const Word16 ct2_fx[7][14]; // Q13 /*------------------------------------------------------------------------------* * HQ core tables *------------------------------------------------------------------------------*/ Loading @@ -709,7 +697,6 @@ extern const Word16 band_end_HQ[]; // Q0 extern const Word16 band_len_wb[]; // Q0 extern const Word16 band_start_wb[]; // Q0 extern const Word16 band_end_wb[]; // Q0 extern const Word16 band_len_harm_float[]; extern const Word16 band_start_harm[]; // Q0 extern const Word16 band_end_harm[]; // Q0 extern const Word16 rat_fx[SFM_N_WB]; // Q14 Loading @@ -731,7 +718,6 @@ extern const Word32 thren_pg_fx[44]; extern const Word32 dicn_fx[40]; /*Q14 */ extern const Word32 thren_HQ_fx[39]; /*Q14 */ extern const Word16 dicnlg2_float[40]; // Q0 extern const Word16 huffnorm[32]; // Q0 extern const Word16 huffsizn[32]; // Q0 extern const Word16 huffcoef[60]; // Q0 Loading Loading @@ -909,6 +895,7 @@ extern const Word16 att_step_fx[4]; // Q13 extern const Word16 gain_cb_size[]; extern const Word16 stab_trans_fx[]; // Q15 extern const Word16 env_stab_tp_fx[2][2]; // Q15 /*----------------------------------------------------------------------------------* * SWB BWE for LR MDCT core *----------------------------------------------------------------------------------*/ Loading Loading @@ -1010,6 +997,7 @@ extern const Word16 hvq_cp_huff_tab[52]; // Q0 /*------------------------------------------------------------------------------* * GSC mode *------------------------------------------------------------------------------*/ extern const Word16 sin_table256_fx[]; // Q15 extern const Word16 gsc_sfm_start[]; // Q0 extern const Word16 gsc_sfm_end[]; // Q0 Loading Loading @@ -1091,6 +1079,7 @@ extern const Word16 Ip_fft4[6]; // Q0 /*----------------------------------------------------------------------------------* * FEC for HQ core *----------------------------------------------------------------------------------*/ extern const Word16 Asr_LP32_fx[41]; // Q15 extern const Word16 Asr_LP16_fx[21]; // Q15 extern const Word16 Asr_LP48_fx[61]; // Q15 Loading Loading @@ -1132,10 +1121,8 @@ extern const Word16 cldfb_anaScale[]; // Q0 extern const Word16 cldfb_synScale[]; // Q0 extern const Word16 cldfb_synGain[]; // Q0 extern const Word16 *cldfb_protoFilter_2_5ms[]; // extern const Word16 *cldfb_protoFilter_5_0ms[]; extern const Word16 cldfb_scale_2_5ms[7]; // Q8 extern const Word32 rot_vec_syn_re_L10_fx[5]; // Q31 extern const Word32 rot_vec_syn_im_L10_fx[5]; // Q31 extern const Word32 rot_vec_syn_re_L16_fx[8]; // Q31 Loading Loading @@ -1174,11 +1161,9 @@ extern const SCALE_SETUP scaleTableMono[SIZE_SCALE_TABLE_MONO]; extern const SCALE_SETUP scaleTable_cn_only[SIZE_SCALE_TABLE_CN]; // Q14 extern const SCALE_SETUP scaleTable_cn_dirac[15]; // Q14 extern const Word16 scaleTable_cn_only_amrwbio[SIZE_SCALE_TABLE_CN_AMRWB][2]; // Q14 extern const Word32 scaleTable_cn_only_amrwbio_fx_by_10f[SIZE_SCALE_TABLE_CN_AMRWB][2]; // Q29 extern const Word16 sidparts_encoder_noise_est[SIZE_SIDPARTS_ENC_NOISE_EST]; // Q0 extern const FD_CNG_SETUP FdCngSetup_nb; extern const FD_CNG_SETUP FdCngSetup_wb1; extern const FD_CNG_SETUP FdCngSetup_wb2; Loading Loading @@ -1214,7 +1199,6 @@ extern const Word16 *stage1_dct_col_syn_shift[]; // Q0 extern const Word16 cdk1r_tr_midQ_truncQ_fx[]; // Q10 extern const Word32 fdcng_dct_scaleF_fx[]; // Q31 extern const Word16 unique_idctT2_24coeffsQ16[]; // Q16 extern const Word8 idctT2_24_compressed_idx[]; Loading Loading @@ -1413,12 +1397,10 @@ extern const Word32 LastCoefPred_0bit_fx[18]; // Q31 extern const Word32 LastCoefPred_1bit_fx[36]; // Q31 extern const Word16 config_LSF_BWE[]; // Q0 // basops extern const Word32 BASOP_util_normReciprocal[CHEAP_NORM_SIZE]; // Q31 extern const Word16 f_atan_expand_range[MAXSFTAB - ( MINSFTAB - 1 )]; // Q15 extern const Word16 Grid[]; // Q15 extern const Word16 pwAlpha[10]; // Q15 extern const Word8 Ind_Guess[256]; Loading Loading @@ -1464,6 +1446,7 @@ extern const Word16 InvIntTable[65]; // Q15 extern const Word16 TecLowBandTable[]; // Q0 extern const Word16 TecSC_Fx[]; // Q15 extern const Word16 sqrt_table_pitch_search[256 + 1]; // Q11 /* fft_evs.c */ extern const Word16 RotVector_32[2 * 20]; // Q15 extern const Word16 RotVector_256[2 * ( 256 - 32 )]; // Q15 Loading Loading @@ -1505,7 +1488,6 @@ extern const Word16 phs_tbl_dec[]; // Q15 extern const Word16 Low_H_phasedisp[L_SUBFR]; // Q15 extern const Word16 Mid_H_phasedisp[L_SUBFR]; // Q15 // ACcontextMapping_dec_fx.c extern const Word16 Tab_esc_nb[4]; // Q0 extern const Word16 pow2tab[15]; // Q0 Loading lib_com/rom_com_fx.c +0 −56 Original line number Diff line number Diff line Loading @@ -7016,12 +7016,6 @@ const Word16 scaleTable_cn_only_amrwbio[3][2] = { ACELP_8k85, 16306/*0.9952622652 Q14*/ }, { ACELP_12k65, 9583/*0.5848932266 Q14*/ }, }; const Word32 scaleTable_cn_only_amrwbio_fx_by_10f[SIZE_SCALE_TABLE_CN_AMRWB][2] =//Q29 { { ACELP_6k60, 858993459 }, { ACELP_8k85, 644245094 }, { ACELP_12k65, 429496729 } }; const Word16 sidparts_encoder_noise_est[SIZE_SIDPARTS_ENC_NOISE_EST] = { 4, 8, 12, 16, 20, 24, 30, 36, 42, 50, 58, 68, 80, 92, 108, 126, 148, 176, 212, 255, 259, 264, 269, 279 }; // Q0 Loading Loading @@ -11874,14 +11868,6 @@ const Word16 BitsVQ_p[]= }; // Q0 const Word16 predmode_tab_float[][6] = { {1,1,2,2,0,2}, {1,1,2,2,0,2}, {1,-1,2,1,0,1}, {1,1,2,1,0,1} /* should check how is the cb for audio mode at 13.2*/ }; const Word16 predmode_tab[][6] = { {1,1,2,2,0,2}, Loading Loading @@ -12583,19 +12569,6 @@ const Word16 C_VQ[LATTICE_DIM+1][LATTICE_DIM+1] = {1,8,28,56,70,56,28,8,1} }; const Word16 C_VQ_fx[LATTICE_DIM + 1][LATTICE_DIM + 1] = { {1,0,0,0,0,0,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,2,1,0,0,0,0,0,0}, {1,3,3,1,0,0,0,0,0}, {1,4,6,4,1,0,0,0,0}, {1,5,10,10,5,1,0,0,0}, {1,6,15,20,15,6,1,0,0}, {1,7,21,35,35,21,7,1,0}, {1,8,28,56,70,56,28,8,1} }; // Q0 const UWord32 table_no_cv[] = //Q0 { 0, 112, 240, 1360, 1376, 2400, 4192, 5536, 9120, 9376, 18336, 18448, 25616, 26640, 33808, 40528, 40752, Loading Loading @@ -15557,10 +15530,7 @@ const Word16 fb_bwe_sm_subband[DIM_FB] = { 656, 696, 760 }; // Q0 const Word16 swb_inv_bwe_subband_width_fx[SWB_FENV] = { 2048,1365,2048,1365,2048,1365,2048,1365,1365,1365,1365,1365,1024,1024 };//Q15 const Word16 swb_bwe_sm_subband[SWB_FENV] = {248, 268, 288, 308, 328, 348, 368, 388, 412, 436, 460, 484, 512, 544}; // Q0 const Word16 smooth_factor_fx[SWB_FENV - 1] = { 1638, 1638, 1638, 1638, 1638, 1638, 1638, 1366, 1366, 1366, 1366, 1024, 1024 };//Q15 const Word16 fb_bwe_subband_float[DIM_FB+1] = {640, 680, 720, 800}; // Q0 const Word16 fb_inv_bwe_subband_width_fx[DIM_FB] = { 819, 819, 409 };//Q15 const Word16 fb_bwe_sm_subband_float[DIM_FB] = {656, 696, 760}; // Q0 const Word16 fb_smooth_factor_fx[DIM_FB] = { 1024, 819, 512 };//Q15 Loading Loading @@ -16381,13 +16351,6 @@ const Word16 pgain_huffsizn[32] = 4, 4, 4, 4, 4, 4, 5, 5, 6, 7, 7, 8, 10, 10, 12, 12 }; // Q0 const Word16 dicnlg2_float[40] = { 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5 }; // Q0 /*** Table for quantization of MLT coefficients ***/ const Word16 norm_order_48[NB_SFM] = Loading Loading @@ -16460,11 +16423,6 @@ const Word16 band_len_wb[26] = 8, 8, 8, 8, 16, 16, 16, 16, 16, 16, 16, 16, 32, 32 }; // Q0 const Word16 band_len_harm_float[SFM_N_HARM_FB] = // Q0 { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 16, 16, 16, 16, 16, 16, 32, 32, 32, 48, 48, 48, 48, 64, 64, 64, 96 }; const Word16 band_start_harm[SFM_N_HARM_FB] =//Q0 { Loading Loading @@ -19691,20 +19649,6 @@ const Word16 hp16000_48000_fx[49] =//Q15 175, 138, -0, -83, -64, -0, 39, 33, -0 }; const Word16 ct2[7][13] = { /* accepted configurations */ /*input 12.8, output :*/ /*8*/ {30, 22, 30, 16, 25, 30, 19, 30, 30, 0, 8, 4, 15}, /*16*/ {25, 22, 19, 16, 16, 0, 0, 0, 12, 1, 4, 4, 15}, /*32*/ {19, 16, 19, 16, 16, 0, 0, 0, 6, 2, 2, 4, 15}, /*48*/ {17, 14, 15, 16, 16, 0, 0, 0, 4, 3, 4, 4, 15}, /*input 16, output :*/ /*12*/ { 9, 3, 4, 5, 9, 0, 0, 0, 5, 0, 5, 5, 4}, /*32*/ { 4, 4, 4, 4, 4, 0, 0, 0, 2, 1, 1, 4, 4}, /*48*/ {18, 18, 18, 18, 18, 0, 0, 0, 5, 2, 1, 4, 15}, }; // Q0 const Word16 ct2_fx[7][14] = { /* accepted configurations */ lib_dec/rom_dec.h +0 −2 Original line number Diff line number Diff line Loading @@ -56,7 +56,6 @@ extern const Word16 lsf_tab_fx[LPC_SHB_ORDER]; // Q15 extern const Word16 POW_ATT_TABLE0[]; // Q15 extern const Word16 POW_ATT_TABLE1[]; // Q15 extern const Word16 gw[LGW_MAX]; // Q0 extern const Word16 gw_fx[LGW_MAX]; // Q0 extern const Word16 gw_len_inv_fx[LGW_MAX - 1]; // Q15 extern const Word16 GR_POW_HEADROOM[]; extern const Word16 ivas_gwlpr[LGW_MAX]; Loading @@ -66,7 +65,6 @@ extern const Word16 w_hamm16k_2_fx[]; // Q15 extern const Word16 swb_hr_inv_frm_len[4]; /* in Q19 */ extern const Word16 inv_tbl_2n_minus1[]; extern const Word16 w_hamm_sana48k_2_fx[]; // Q15 extern const Word16 w_hamm_sana32k_2_fx[]; // Q15 extern const Word16 w_hamm_sana16k_2_fx[]; // Q15 Loading lib_dec/rom_dec_fx.c +0 −2 Original line number Diff line number Diff line Loading @@ -149,8 +149,6 @@ const Word16 POW_ATT_TABLE1[OFF_FRAMES_LIMIT + 1] = /* Q15 */ /* 125 375 750 1250 2000 4000 8000 16000 24000 */ const Word16 gw[LGW_MAX] = { 1, 3, 6, 10, 16, 32, 64, 128, 192 }; const Word16 gw_fx[LGW_MAX] = { 1, 3, 6, 10, 16, 32, 64, 128, 192 }; /* Q0 frequency group start bins for transient analysis */ const Word16 gw_len_inv_fx[LGW_MAX - 1] = /* Q15 */ { 16384, 10923, 8192, 5461, Loading lib_enc/SNR_calc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -253,7 +253,7 @@ void snr_calc( set_zero_fx( snr_tmpidx, 12 ); SNR_sb_num = SNR_SUB_BAND_NUM[bwidth - CLDFBVAD_NB_ID]; /* Q0 */ SNR_sb_num = ENERGY_BAND_NUM[bwidth - CLDFBVAD_NB_ID]; /* Q0 */ move16(); sb_bg_energy = hVAD_CLDFB->sb_bg_energy; frame_sb_energy = hVAD_CLDFB->frame_sb_energy; Loading Loading
lib_com/rom_com.h +24 −42 Original line number Diff line number Diff line Loading @@ -397,15 +397,9 @@ extern const Word16 CBbits[]; // Q0 extern const Word16 CBbits_p[]; // Q0 extern const Word16 vals_fx[NO_LEADERS][MAX_NO_VALS]; // Q1 extern const Word16 no_vals[NO_LEADERS]; // Q0 // extern const Word16 no_vals_fx[NO_LEADERS]; extern const Word16 no_vals_ind[NO_LEADERS][MAX_NO_VALS]; // Q0 // extern const Word16 no_vals_ind_fx[NO_LEADERS][MAX_NO_VALS]; extern const Word16 C_VQ[LATTICE_DIM + 1][LATTICE_DIM + 1]; // Q0 // extern const Word16 C_VQ_fx[LATTICE_DIM + 1][LATTICE_DIM + 1]; extern const Word16 BitsVQ[]; // Q0 extern const Word16 BitsVQ_p[]; // Q0 Loading @@ -422,26 +416,21 @@ extern const Word16 scales_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 scales_ivas_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 scales_p_ivas_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 scales_p_fx[][MAX_NO_SCALES * 2]; // Q11 extern const Word16 predmode_tab_float[][6]; extern const Word16 predmode_tab[][6]; // Q0 extern const Word16 pl_HQ_fx[]; // Q1 extern const Word16 pi0[]; // Q0 // extern const Word16 pi0_fx[]; extern const UWord32 table_no_cv[]; // Q0 extern const Word32 table_no_cv_fx[]; // Q0 extern const Word16 pl_par[]; // Q0 // extern const Word16 pl_par_fx[]; /* 1 if even number of signs */ extern const Word16 *const Quantizers_p_fx[]; // Qlog2(2.56) extern const Word16 *const Quantizers_fx[]; // Qlog2(2.56) extern const Word16 cng_sort[]; // Q0 // extern const Word16 cng_sort_fx[]; extern const Word16 perm_MSLVQ[][4]; // Q0 // extern const Word16 perm_MSLVQ_fx[][4]; extern const Word16 min_lat_bits_SN[]; extern const Word16 min_lat_bits_SN_fx[]; // Q0 Loading Loading @@ -656,9 +645,7 @@ extern const Word16 fb_bwe_sm_subband[]; // Q0 extern const Word16 swb_inv_bwe_subband_width_fx[]; // Q15 extern const Word16 swb_bwe_sm_subband[]; // Q0 extern const Word16 smooth_factor_fx[]; // Q15 extern const Word16 fb_bwe_subband_float[]; // Q0 extern const Word16 fb_inv_bwe_subband_width_fx[]; // Q15 extern const Word16 fb_bwe_sm_subband_float[]; // Q0 extern const Word16 fb_smooth_factor_fx[]; // Q15 extern const Word16 EnvCdbk11_fx[]; /*Q8 */ extern const Word16 EnvCdbk1st_fx[]; /*Q8 */ Loading @@ -673,6 +660,7 @@ extern const Word16 w_NOR_fx[]; // Q15 extern const Word16 Mean_env_fx[]; // Q8 extern const Word16 Mean_env_fb_fx[]; /*Q8 */ extern const Word16 Mean_env_tr_fx[]; /*Q8 */ /*------------------------------------------------------------------------------* * ACEPL/HQ core switching tables *------------------------------------------------------------------------------*/ Loading @@ -685,8 +673,8 @@ extern const Word16 hp12800_16000_fx[]; // Q15 extern const Word16 cu15_fx[28][3]; // Q13 extern const Word16 cu4_fx[6][3]; // Q13 extern const Word16 ct2[7][13]; // Q0 extern const Word16 ct2_fx[7][14]; // Q13 /*------------------------------------------------------------------------------* * HQ core tables *------------------------------------------------------------------------------*/ Loading @@ -709,7 +697,6 @@ extern const Word16 band_end_HQ[]; // Q0 extern const Word16 band_len_wb[]; // Q0 extern const Word16 band_start_wb[]; // Q0 extern const Word16 band_end_wb[]; // Q0 extern const Word16 band_len_harm_float[]; extern const Word16 band_start_harm[]; // Q0 extern const Word16 band_end_harm[]; // Q0 extern const Word16 rat_fx[SFM_N_WB]; // Q14 Loading @@ -731,7 +718,6 @@ extern const Word32 thren_pg_fx[44]; extern const Word32 dicn_fx[40]; /*Q14 */ extern const Word32 thren_HQ_fx[39]; /*Q14 */ extern const Word16 dicnlg2_float[40]; // Q0 extern const Word16 huffnorm[32]; // Q0 extern const Word16 huffsizn[32]; // Q0 extern const Word16 huffcoef[60]; // Q0 Loading Loading @@ -909,6 +895,7 @@ extern const Word16 att_step_fx[4]; // Q13 extern const Word16 gain_cb_size[]; extern const Word16 stab_trans_fx[]; // Q15 extern const Word16 env_stab_tp_fx[2][2]; // Q15 /*----------------------------------------------------------------------------------* * SWB BWE for LR MDCT core *----------------------------------------------------------------------------------*/ Loading Loading @@ -1010,6 +997,7 @@ extern const Word16 hvq_cp_huff_tab[52]; // Q0 /*------------------------------------------------------------------------------* * GSC mode *------------------------------------------------------------------------------*/ extern const Word16 sin_table256_fx[]; // Q15 extern const Word16 gsc_sfm_start[]; // Q0 extern const Word16 gsc_sfm_end[]; // Q0 Loading Loading @@ -1091,6 +1079,7 @@ extern const Word16 Ip_fft4[6]; // Q0 /*----------------------------------------------------------------------------------* * FEC for HQ core *----------------------------------------------------------------------------------*/ extern const Word16 Asr_LP32_fx[41]; // Q15 extern const Word16 Asr_LP16_fx[21]; // Q15 extern const Word16 Asr_LP48_fx[61]; // Q15 Loading Loading @@ -1132,10 +1121,8 @@ extern const Word16 cldfb_anaScale[]; // Q0 extern const Word16 cldfb_synScale[]; // Q0 extern const Word16 cldfb_synGain[]; // Q0 extern const Word16 *cldfb_protoFilter_2_5ms[]; // extern const Word16 *cldfb_protoFilter_5_0ms[]; extern const Word16 cldfb_scale_2_5ms[7]; // Q8 extern const Word32 rot_vec_syn_re_L10_fx[5]; // Q31 extern const Word32 rot_vec_syn_im_L10_fx[5]; // Q31 extern const Word32 rot_vec_syn_re_L16_fx[8]; // Q31 Loading Loading @@ -1174,11 +1161,9 @@ extern const SCALE_SETUP scaleTableMono[SIZE_SCALE_TABLE_MONO]; extern const SCALE_SETUP scaleTable_cn_only[SIZE_SCALE_TABLE_CN]; // Q14 extern const SCALE_SETUP scaleTable_cn_dirac[15]; // Q14 extern const Word16 scaleTable_cn_only_amrwbio[SIZE_SCALE_TABLE_CN_AMRWB][2]; // Q14 extern const Word32 scaleTable_cn_only_amrwbio_fx_by_10f[SIZE_SCALE_TABLE_CN_AMRWB][2]; // Q29 extern const Word16 sidparts_encoder_noise_est[SIZE_SIDPARTS_ENC_NOISE_EST]; // Q0 extern const FD_CNG_SETUP FdCngSetup_nb; extern const FD_CNG_SETUP FdCngSetup_wb1; extern const FD_CNG_SETUP FdCngSetup_wb2; Loading Loading @@ -1214,7 +1199,6 @@ extern const Word16 *stage1_dct_col_syn_shift[]; // Q0 extern const Word16 cdk1r_tr_midQ_truncQ_fx[]; // Q10 extern const Word32 fdcng_dct_scaleF_fx[]; // Q31 extern const Word16 unique_idctT2_24coeffsQ16[]; // Q16 extern const Word8 idctT2_24_compressed_idx[]; Loading Loading @@ -1413,12 +1397,10 @@ extern const Word32 LastCoefPred_0bit_fx[18]; // Q31 extern const Word32 LastCoefPred_1bit_fx[36]; // Q31 extern const Word16 config_LSF_BWE[]; // Q0 // basops extern const Word32 BASOP_util_normReciprocal[CHEAP_NORM_SIZE]; // Q31 extern const Word16 f_atan_expand_range[MAXSFTAB - ( MINSFTAB - 1 )]; // Q15 extern const Word16 Grid[]; // Q15 extern const Word16 pwAlpha[10]; // Q15 extern const Word8 Ind_Guess[256]; Loading Loading @@ -1464,6 +1446,7 @@ extern const Word16 InvIntTable[65]; // Q15 extern const Word16 TecLowBandTable[]; // Q0 extern const Word16 TecSC_Fx[]; // Q15 extern const Word16 sqrt_table_pitch_search[256 + 1]; // Q11 /* fft_evs.c */ extern const Word16 RotVector_32[2 * 20]; // Q15 extern const Word16 RotVector_256[2 * ( 256 - 32 )]; // Q15 Loading Loading @@ -1505,7 +1488,6 @@ extern const Word16 phs_tbl_dec[]; // Q15 extern const Word16 Low_H_phasedisp[L_SUBFR]; // Q15 extern const Word16 Mid_H_phasedisp[L_SUBFR]; // Q15 // ACcontextMapping_dec_fx.c extern const Word16 Tab_esc_nb[4]; // Q0 extern const Word16 pow2tab[15]; // Q0 Loading
lib_com/rom_com_fx.c +0 −56 Original line number Diff line number Diff line Loading @@ -7016,12 +7016,6 @@ const Word16 scaleTable_cn_only_amrwbio[3][2] = { ACELP_8k85, 16306/*0.9952622652 Q14*/ }, { ACELP_12k65, 9583/*0.5848932266 Q14*/ }, }; const Word32 scaleTable_cn_only_amrwbio_fx_by_10f[SIZE_SCALE_TABLE_CN_AMRWB][2] =//Q29 { { ACELP_6k60, 858993459 }, { ACELP_8k85, 644245094 }, { ACELP_12k65, 429496729 } }; const Word16 sidparts_encoder_noise_est[SIZE_SIDPARTS_ENC_NOISE_EST] = { 4, 8, 12, 16, 20, 24, 30, 36, 42, 50, 58, 68, 80, 92, 108, 126, 148, 176, 212, 255, 259, 264, 269, 279 }; // Q0 Loading Loading @@ -11874,14 +11868,6 @@ const Word16 BitsVQ_p[]= }; // Q0 const Word16 predmode_tab_float[][6] = { {1,1,2,2,0,2}, {1,1,2,2,0,2}, {1,-1,2,1,0,1}, {1,1,2,1,0,1} /* should check how is the cb for audio mode at 13.2*/ }; const Word16 predmode_tab[][6] = { {1,1,2,2,0,2}, Loading Loading @@ -12583,19 +12569,6 @@ const Word16 C_VQ[LATTICE_DIM+1][LATTICE_DIM+1] = {1,8,28,56,70,56,28,8,1} }; const Word16 C_VQ_fx[LATTICE_DIM + 1][LATTICE_DIM + 1] = { {1,0,0,0,0,0,0,0,0}, {1,1,0,0,0,0,0,0,0}, {1,2,1,0,0,0,0,0,0}, {1,3,3,1,0,0,0,0,0}, {1,4,6,4,1,0,0,0,0}, {1,5,10,10,5,1,0,0,0}, {1,6,15,20,15,6,1,0,0}, {1,7,21,35,35,21,7,1,0}, {1,8,28,56,70,56,28,8,1} }; // Q0 const UWord32 table_no_cv[] = //Q0 { 0, 112, 240, 1360, 1376, 2400, 4192, 5536, 9120, 9376, 18336, 18448, 25616, 26640, 33808, 40528, 40752, Loading Loading @@ -15557,10 +15530,7 @@ const Word16 fb_bwe_sm_subband[DIM_FB] = { 656, 696, 760 }; // Q0 const Word16 swb_inv_bwe_subband_width_fx[SWB_FENV] = { 2048,1365,2048,1365,2048,1365,2048,1365,1365,1365,1365,1365,1024,1024 };//Q15 const Word16 swb_bwe_sm_subband[SWB_FENV] = {248, 268, 288, 308, 328, 348, 368, 388, 412, 436, 460, 484, 512, 544}; // Q0 const Word16 smooth_factor_fx[SWB_FENV - 1] = { 1638, 1638, 1638, 1638, 1638, 1638, 1638, 1366, 1366, 1366, 1366, 1024, 1024 };//Q15 const Word16 fb_bwe_subband_float[DIM_FB+1] = {640, 680, 720, 800}; // Q0 const Word16 fb_inv_bwe_subband_width_fx[DIM_FB] = { 819, 819, 409 };//Q15 const Word16 fb_bwe_sm_subband_float[DIM_FB] = {656, 696, 760}; // Q0 const Word16 fb_smooth_factor_fx[DIM_FB] = { 1024, 819, 512 };//Q15 Loading Loading @@ -16381,13 +16351,6 @@ const Word16 pgain_huffsizn[32] = 4, 4, 4, 4, 4, 4, 5, 5, 6, 7, 7, 8, 10, 10, 12, 12 }; // Q0 const Word16 dicnlg2_float[40] = { 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5 }; // Q0 /*** Table for quantization of MLT coefficients ***/ const Word16 norm_order_48[NB_SFM] = Loading Loading @@ -16460,11 +16423,6 @@ const Word16 band_len_wb[26] = 8, 8, 8, 8, 16, 16, 16, 16, 16, 16, 16, 16, 32, 32 }; // Q0 const Word16 band_len_harm_float[SFM_N_HARM_FB] = // Q0 { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 16, 16, 16, 16, 16, 16, 32, 32, 32, 48, 48, 48, 48, 64, 64, 64, 96 }; const Word16 band_start_harm[SFM_N_HARM_FB] =//Q0 { Loading Loading @@ -19691,20 +19649,6 @@ const Word16 hp16000_48000_fx[49] =//Q15 175, 138, -0, -83, -64, -0, 39, 33, -0 }; const Word16 ct2[7][13] = { /* accepted configurations */ /*input 12.8, output :*/ /*8*/ {30, 22, 30, 16, 25, 30, 19, 30, 30, 0, 8, 4, 15}, /*16*/ {25, 22, 19, 16, 16, 0, 0, 0, 12, 1, 4, 4, 15}, /*32*/ {19, 16, 19, 16, 16, 0, 0, 0, 6, 2, 2, 4, 15}, /*48*/ {17, 14, 15, 16, 16, 0, 0, 0, 4, 3, 4, 4, 15}, /*input 16, output :*/ /*12*/ { 9, 3, 4, 5, 9, 0, 0, 0, 5, 0, 5, 5, 4}, /*32*/ { 4, 4, 4, 4, 4, 0, 0, 0, 2, 1, 1, 4, 4}, /*48*/ {18, 18, 18, 18, 18, 0, 0, 0, 5, 2, 1, 4, 15}, }; // Q0 const Word16 ct2_fx[7][14] = { /* accepted configurations */
lib_dec/rom_dec.h +0 −2 Original line number Diff line number Diff line Loading @@ -56,7 +56,6 @@ extern const Word16 lsf_tab_fx[LPC_SHB_ORDER]; // Q15 extern const Word16 POW_ATT_TABLE0[]; // Q15 extern const Word16 POW_ATT_TABLE1[]; // Q15 extern const Word16 gw[LGW_MAX]; // Q0 extern const Word16 gw_fx[LGW_MAX]; // Q0 extern const Word16 gw_len_inv_fx[LGW_MAX - 1]; // Q15 extern const Word16 GR_POW_HEADROOM[]; extern const Word16 ivas_gwlpr[LGW_MAX]; Loading @@ -66,7 +65,6 @@ extern const Word16 w_hamm16k_2_fx[]; // Q15 extern const Word16 swb_hr_inv_frm_len[4]; /* in Q19 */ extern const Word16 inv_tbl_2n_minus1[]; extern const Word16 w_hamm_sana48k_2_fx[]; // Q15 extern const Word16 w_hamm_sana32k_2_fx[]; // Q15 extern const Word16 w_hamm_sana16k_2_fx[]; // Q15 Loading
lib_dec/rom_dec_fx.c +0 −2 Original line number Diff line number Diff line Loading @@ -149,8 +149,6 @@ const Word16 POW_ATT_TABLE1[OFF_FRAMES_LIMIT + 1] = /* Q15 */ /* 125 375 750 1250 2000 4000 8000 16000 24000 */ const Word16 gw[LGW_MAX] = { 1, 3, 6, 10, 16, 32, 64, 128, 192 }; const Word16 gw_fx[LGW_MAX] = { 1, 3, 6, 10, 16, 32, 64, 128, 192 }; /* Q0 frequency group start bins for transient analysis */ const Word16 gw_len_inv_fx[LGW_MAX - 1] = /* Q15 */ { 16384, 10923, 8192, 5461, Loading
lib_enc/SNR_calc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -253,7 +253,7 @@ void snr_calc( set_zero_fx( snr_tmpidx, 12 ); SNR_sb_num = SNR_SUB_BAND_NUM[bwidth - CLDFBVAD_NB_ID]; /* Q0 */ SNR_sb_num = ENERGY_BAND_NUM[bwidth - CLDFBVAD_NB_ID]; /* Q0 */ move16(); sb_bg_energy = hVAD_CLDFB->sb_bg_energy; frame_sb_energy = hVAD_CLDFB->frame_sb_energy; Loading