/external/libopus/silk/ |
D | VQ_WMat_EC.c | 60 diff_Q14[ 0 ] = in_Q14[ 0 ] - silk_LSHIFT( cb_row_Q7[ 0 ], 7 ); in silk_VQ_WMat_EC() 61 diff_Q14[ 1 ] = in_Q14[ 1 ] - silk_LSHIFT( cb_row_Q7[ 1 ], 7 ); in silk_VQ_WMat_EC() 62 diff_Q14[ 2 ] = in_Q14[ 2 ] - silk_LSHIFT( cb_row_Q7[ 2 ], 7 ); in silk_VQ_WMat_EC() 63 diff_Q14[ 3 ] = in_Q14[ 3 ] - silk_LSHIFT( cb_row_Q7[ 3 ], 7 ); in silk_VQ_WMat_EC() 64 diff_Q14[ 4 ] = in_Q14[ 4 ] - silk_LSHIFT( cb_row_Q7[ 4 ], 7 ); in silk_VQ_WMat_EC() 79 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC() 87 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC() 94 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC() 100 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC()
|
D | stereo_MS_to_LR.c | 62 … sum = silk_LSHIFT( silk_ADD_LSHIFT( x1[ n ] + x1[ n + 2 ], x1[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_MS_to_LR() 63 … sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR() 64 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR() 70 … sum = silk_LSHIFT( silk_ADD_LSHIFT( x1[ n ] + x1[ n + 2 ], x1[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_MS_to_LR() 71 … sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR() 72 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR()
|
D | NLSF2A.c | 53 out[0] = silk_LSHIFT( 1, QA ); in silk_NLSF2A_find_poly() 57 …out[k+1] = silk_LSHIFT( out[k-1], 1 ) - (opus_int32)silk_RSHIFT_ROUND64( silk_SMULL( ftmp, out[k] … in silk_NLSF2A_find_poly() 100 f_frac = NLSF[k] - silk_LSHIFT( f_int, 15 - 7 ); in silk_NLSF2A() 110 …cos_LSF_QA[ordering[k]] = silk_RSHIFT_ROUND( silk_LSHIFT( cos_val, 8 ) + silk_MUL( delta, f_frac )… in silk_NLSF2A() 145 … sc_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_NLSF2A() 157 a32_QA1[ k ] = silk_LSHIFT( (opus_int32)a_Q12[ k ], QA + 1 - 12 ); in silk_NLSF2A() 169 silk_bwexpander_32( a32_QA1, d, 65536 - silk_LSHIFT( 2, i ) ); in silk_NLSF2A()
|
D | HP_variable_cutoff.c | 50 …pitch_freq_Hz_Q16 = silk_DIV32_16( silk_LSHIFT( silk_MUL( psEncC1->fs_kHz, 1000 ), 16 ), psEncC1->… in silk_HP_variable_cutoff() 55 …pitch_freq_log_Q7 = silk_SMLAWB( pitch_freq_log_Q7, silk_SMULWB( silk_LSHIFT( -quality_Q15, 2 ), q… in silk_HP_variable_cutoff() 74 silk_LSHIFT( silk_lin2log( VARIABLE_HP_MIN_CUTOFF_HZ ), 8 ), in silk_HP_variable_cutoff() 75 silk_LSHIFT( silk_lin2log( VARIABLE_HP_MAX_CUTOFF_HZ ), 8 ) ); in silk_HP_variable_cutoff()
|
D | A2NLSF.c | 58 p[ k - 2 ] -= silk_LSHIFT( p[ k ], 1 ); in silk_A2NLSF_trans_poly() 73 x_Q16 = silk_LSHIFT( x, 4 ); in silk_A2NLSF_eval_poly() 90 P[dd] = silk_LSHIFT( 1, 16 ); in silk_A2NLSF_init() 91 Q[dd] = silk_LSHIFT( 1, 16 ); in silk_A2NLSF_init() 191 nom = silk_LSHIFT( ylo, 8 - BIN_DIV_STEPS_A2NLSF_FIX ) + silk_RSHIFT( den, 1 ); in silk_A2NLSF() 199 …NLSF[ root_ix ] = (opus_int16)silk_min_32( silk_LSHIFT( (opus_int32)k, 8 ) + ffrac, silk_int16_MAX… in silk_A2NLSF() 213 ylo = silk_LSHIFT( 1 - ( root_ix & 2 ), 12 ); in silk_A2NLSF()
|
D | Inlines.h | 111 …a32_nrm = silk_LSHIFT(a32, a_headrm); /* Q: a_headrm … in silk_DIV32_varQ() 113 …b32_nrm = silk_LSHIFT(b32, b_headrm); /* Q: b_headrm … in silk_DIV32_varQ() 156 …b32_nrm = silk_LSHIFT(b32, b_headrm); /* Q: b_headrm … in silk_INVERSE32_varQ() 162 …result = silk_LSHIFT(b32_inv, 16); /* Q: 61 - b_headrm … in silk_INVERSE32_varQ() 165 …err_Q32 = silk_LSHIFT( ((opus_int32)1<<29) - silk_SMULWB(b32_nrm, b32_inv), 3 ); /* Q32 … in silk_INVERSE32_varQ()
|
D | NLSF_decode.c | 48 out_Q10 = silk_LSHIFT( indices[ i ], 10 ); in silk_NLSF_residual_dequant() 80 pNLSF_Q15[ i ] = silk_LSHIFT( (opus_int16)pCB_element[ i ], 7 ); in silk_NLSF_decode() 94 W_tmp_Q9 = silk_SQRT_APPROX( silk_LSHIFT( (opus_int32)W_tmp_QW[ i ], 18 - NLSF_W_Q ) ); in silk_NLSF_decode() 95 …NLSF_Q15_tmp = silk_ADD32( pNLSF_Q15[ i ], silk_DIV32_16( silk_LSHIFT( (opus_int32)res_Q10[ i ], 1… in silk_NLSF_decode()
|
D | stereo_LR_to_MS.c | 122 width_Q14 = silk_DIV32_varQ( silk_LSHIFT( mid_side_rates_bps[ 1 ], 1 ) - min_mid_rate_bps, in silk_stereo_LR_to_MS() 201 w_Q24 = silk_LSHIFT( state->width_prev_Q14, 10 ); in silk_stereo_LR_to_MS() 205 deltaw_Q24 = silk_LSHIFT( silk_SMULWB( width_Q14 - state->width_prev_Q14, denom_Q16 ), 10 ); in silk_stereo_LR_to_MS() 210 … sum = silk_LSHIFT( silk_ADD_LSHIFT( mid[ n ] + mid[ n + 2 ], mid[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_LR_to_MS() 212 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)mid[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS() 218 w_Q24 = silk_LSHIFT( width_Q14, 10 ); in silk_stereo_LR_to_MS() 220 … sum = silk_LSHIFT( silk_ADD_LSHIFT( mid[ n ] + mid[ n + 2 ], mid[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_LR_to_MS() 222 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)mid[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()
|
D | LPC_inv_pred_gain.c | 60 rc_Q31 = -silk_LSHIFT( Anew_QA[ k ], 31 - QA ); in LPC_inverse_pred_gain_QA() 73 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA() 94 rc_Q31 = -silk_LSHIFT( Anew_QA[ 0 ], 31 - QA ); in LPC_inverse_pred_gain_QA() 101 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA()
|
D | PLC.c | 57 psDec->sPLC.pitchL_Q8 = silk_LSHIFT( psDec->frame_length, 8 - 1 ); in silk_PLC_Reset() 125 psPLC->pitchL_Q8 = silk_LSHIFT( psDecCtrl->pitchL[ psDec->nb_subfr - 1 - j ], 8 ); in silk_PLC_update() 137 tmp = silk_LSHIFT( V_PITCH_GAIN_START_MIN_Q14, 10 ); in silk_PLC_update() 146 tmp = silk_LSHIFT( V_PITCH_GAIN_START_MAX_Q14, 14 ); in silk_PLC_update() 153 psPLC->pitchL_Q8 = silk_LSHIFT( silk_SMULBB( psDec->fs_kHz, 18 ), 8 ); in silk_PLC_update() 260 down_scale_Q30 = silk_LSHIFT( down_scale_Q30, LOG2_INV_LPC_GAIN_HIGH_THRES ); in silk_PLC_conceal() 314 …psPLC->pitchL_Q8 = silk_min_32( psPLC->pitchL_Q8, silk_LSHIFT( silk_SMULBB( MAX_PITCH_LAG_MS, psDe… in silk_PLC_conceal() 402 psPLC->conc_energy = silk_LSHIFT( psPLC->conc_energy, LZ ); in silk_PLC_glue_frames() 407 gain_Q16 = silk_LSHIFT( silk_SQRT_APPROX( frac_Q24 ), 4 ); in silk_PLC_glue_frames() 410 slope_Q16 = silk_LSHIFT( slope_Q16, 2 ); in silk_PLC_glue_frames()
|
/external/chromium_org/third_party/opus/src/silk/ |
D | VQ_WMat_EC.c | 60 diff_Q14[ 0 ] = in_Q14[ 0 ] - silk_LSHIFT( cb_row_Q7[ 0 ], 7 ); in silk_VQ_WMat_EC() 61 diff_Q14[ 1 ] = in_Q14[ 1 ] - silk_LSHIFT( cb_row_Q7[ 1 ], 7 ); in silk_VQ_WMat_EC() 62 diff_Q14[ 2 ] = in_Q14[ 2 ] - silk_LSHIFT( cb_row_Q7[ 2 ], 7 ); in silk_VQ_WMat_EC() 63 diff_Q14[ 3 ] = in_Q14[ 3 ] - silk_LSHIFT( cb_row_Q7[ 3 ], 7 ); in silk_VQ_WMat_EC() 64 diff_Q14[ 4 ] = in_Q14[ 4 ] - silk_LSHIFT( cb_row_Q7[ 4 ], 7 ); in silk_VQ_WMat_EC() 79 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC() 87 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC() 94 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC() 100 sum2_Q16 = silk_LSHIFT( sum2_Q16, 1 ); in silk_VQ_WMat_EC()
|
D | stereo_MS_to_LR.c | 62 … sum = silk_LSHIFT( silk_ADD_LSHIFT( x1[ n ] + x1[ n + 2 ], x1[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_MS_to_LR() 63 … sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR() 64 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR() 70 … sum = silk_LSHIFT( silk_ADD_LSHIFT( x1[ n ] + x1[ n + 2 ], x1[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_MS_to_LR() 71 … sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR() 72 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR()
|
D | NLSF2A.c | 53 out[0] = silk_LSHIFT( 1, QA ); in silk_NLSF2A_find_poly() 57 …out[k+1] = silk_LSHIFT( out[k-1], 1 ) - (opus_int32)silk_RSHIFT_ROUND64( silk_SMULL( ftmp, out[k] … in silk_NLSF2A_find_poly() 100 f_frac = NLSF[k] - silk_LSHIFT( f_int, 15 - 7 ); in silk_NLSF2A() 110 …cos_LSF_QA[ordering[k]] = silk_RSHIFT_ROUND( silk_LSHIFT( cos_val, 8 ) + silk_MUL( delta, f_frac )… in silk_NLSF2A() 145 … sc_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_NLSF2A() 157 a32_QA1[ k ] = silk_LSHIFT( (opus_int32)a_Q12[ k ], QA + 1 - 12 ); in silk_NLSF2A() 169 silk_bwexpander_32( a32_QA1, d, 65536 - silk_LSHIFT( 2, i ) ); in silk_NLSF2A()
|
D | HP_variable_cutoff.c | 50 …pitch_freq_Hz_Q16 = silk_DIV32_16( silk_LSHIFT( silk_MUL( psEncC1->fs_kHz, 1000 ), 16 ), psEncC1->… in silk_HP_variable_cutoff() 55 …pitch_freq_log_Q7 = silk_SMLAWB( pitch_freq_log_Q7, silk_SMULWB( silk_LSHIFT( -quality_Q15, 2 ), q… in silk_HP_variable_cutoff() 74 silk_LSHIFT( silk_lin2log( VARIABLE_HP_MIN_CUTOFF_HZ ), 8 ), in silk_HP_variable_cutoff() 75 silk_LSHIFT( silk_lin2log( VARIABLE_HP_MAX_CUTOFF_HZ ), 8 ) ); in silk_HP_variable_cutoff()
|
D | A2NLSF.c | 58 p[ k - 2 ] -= silk_LSHIFT( p[ k ], 1 ); in silk_A2NLSF_trans_poly() 73 x_Q16 = silk_LSHIFT( x, 4 ); in silk_A2NLSF_eval_poly() 90 P[dd] = silk_LSHIFT( 1, 16 ); in silk_A2NLSF_init() 91 Q[dd] = silk_LSHIFT( 1, 16 ); in silk_A2NLSF_init() 191 nom = silk_LSHIFT( ylo, 8 - BIN_DIV_STEPS_A2NLSF_FIX ) + silk_RSHIFT( den, 1 ); in silk_A2NLSF() 199 …NLSF[ root_ix ] = (opus_int16)silk_min_32( silk_LSHIFT( (opus_int32)k, 8 ) + ffrac, silk_int16_MAX… in silk_A2NLSF() 213 ylo = silk_LSHIFT( 1 - ( root_ix & 2 ), 12 ); in silk_A2NLSF()
|
D | Inlines.h | 111 …a32_nrm = silk_LSHIFT(a32, a_headrm); /* Q: a_headrm … in silk_DIV32_varQ() 113 …b32_nrm = silk_LSHIFT(b32, b_headrm); /* Q: b_headrm … in silk_DIV32_varQ() 156 …b32_nrm = silk_LSHIFT(b32, b_headrm); /* Q: b_headrm … in silk_INVERSE32_varQ() 162 …result = silk_LSHIFT(b32_inv, 16); /* Q: 61 - b_headrm … in silk_INVERSE32_varQ() 165 …err_Q32 = silk_LSHIFT( ((opus_int32)1<<29) - silk_SMULWB(b32_nrm, b32_inv), 3 ); /* Q32 … in silk_INVERSE32_varQ()
|
D | NLSF_decode.c | 48 out_Q10 = silk_LSHIFT( indices[ i ], 10 ); in silk_NLSF_residual_dequant() 80 pNLSF_Q15[ i ] = silk_LSHIFT( (opus_int16)pCB_element[ i ], 7 ); in silk_NLSF_decode() 94 W_tmp_Q9 = silk_SQRT_APPROX( silk_LSHIFT( (opus_int32)W_tmp_QW[ i ], 18 - NLSF_W_Q ) ); in silk_NLSF_decode() 95 …NLSF_Q15_tmp = silk_ADD32( pNLSF_Q15[ i ], silk_DIV32_16( silk_LSHIFT( (opus_int32)res_Q10[ i ], 1… in silk_NLSF_decode()
|
D | stereo_LR_to_MS.c | 122 width_Q14 = silk_DIV32_varQ( silk_LSHIFT( mid_side_rates_bps[ 1 ], 1 ) - min_mid_rate_bps, in silk_stereo_LR_to_MS() 201 w_Q24 = silk_LSHIFT( state->width_prev_Q14, 10 ); in silk_stereo_LR_to_MS() 205 deltaw_Q24 = silk_LSHIFT( silk_SMULWB( width_Q14 - state->width_prev_Q14, denom_Q16 ), 10 ); in silk_stereo_LR_to_MS() 210 … sum = silk_LSHIFT( silk_ADD_LSHIFT( mid[ n ] + mid[ n + 2 ], mid[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_LR_to_MS() 212 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)mid[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS() 218 w_Q24 = silk_LSHIFT( width_Q14, 10 ); in silk_stereo_LR_to_MS() 220 … sum = silk_LSHIFT( silk_ADD_LSHIFT( mid[ n ] + mid[ n + 2 ], mid[ n + 1 ], 1 ), 9 ); /* Q11 */ in silk_stereo_LR_to_MS() 222 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)mid[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()
|
D | LPC_inv_pred_gain.c | 60 rc_Q31 = -silk_LSHIFT( Anew_QA[ k ], 31 - QA ); in LPC_inverse_pred_gain_QA() 73 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA() 94 rc_Q31 = -silk_LSHIFT( Anew_QA[ 0 ], 31 - QA ); in LPC_inverse_pred_gain_QA() 101 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA()
|
D | PLC.c | 57 psDec->sPLC.pitchL_Q8 = silk_LSHIFT( psDec->frame_length, 8 - 1 ); in silk_PLC_Reset() 125 psPLC->pitchL_Q8 = silk_LSHIFT( psDecCtrl->pitchL[ psDec->nb_subfr - 1 - j ], 8 ); in silk_PLC_update() 137 tmp = silk_LSHIFT( V_PITCH_GAIN_START_MIN_Q14, 10 ); in silk_PLC_update() 146 tmp = silk_LSHIFT( V_PITCH_GAIN_START_MAX_Q14, 14 ); in silk_PLC_update() 153 psPLC->pitchL_Q8 = silk_LSHIFT( silk_SMULBB( psDec->fs_kHz, 18 ), 8 ); in silk_PLC_update() 260 down_scale_Q30 = silk_LSHIFT( down_scale_Q30, LOG2_INV_LPC_GAIN_HIGH_THRES ); in silk_PLC_conceal() 314 …psPLC->pitchL_Q8 = silk_min_32( psPLC->pitchL_Q8, silk_LSHIFT( silk_SMULBB( MAX_PITCH_LAG_MS, psDe… in silk_PLC_conceal() 402 psPLC->conc_energy = silk_LSHIFT( psPLC->conc_energy, LZ ); in silk_PLC_glue_frames() 407 gain_Q16 = silk_LSHIFT( silk_SQRT_APPROX( frac_Q24 ), 4 ); in silk_PLC_glue_frames() 410 slope_Q16 = silk_LSHIFT( slope_Q16, 2 ); in silk_PLC_glue_frames()
|
/external/libopus/silk/fixed/ |
D | schur_FIX.c | 61 C[ k ][ 0 ] = C[ k ][ 1 ] = silk_LSHIFT( c[ k ], lz ); in silk_schur() 95 C[ n + k + 1 ][ 0 ] = silk_SMLAWB( Ctmp1, silk_LSHIFT( Ctmp2, 1 ), rc_tmp_Q15 ); in silk_schur() 96 C[ n ][ 1 ] = silk_SMLAWB( Ctmp2, silk_LSHIFT( Ctmp1, 1 ), rc_tmp_Q15 ); in silk_schur()
|
D | noise_shape_analysis_FIX.c | 184 b_Q8 = silk_SMULWB( silk_LSHIFT( b_Q8, 8 ), b_Q8 ); in silk_noise_shape_analysis_FIX() 210 nSamples = silk_LSHIFT( psEnc->sCmn.fs_kHz, 1 ); in silk_noise_shape_analysis_FIX() 252 BWExp1_Q16 = silk_DIV32_16( silk_LSHIFT( BWExp1_Q16, 14 ), silk_RSHIFT( BWExp2_Q16, 2 ) ); in silk_noise_shape_analysis_FIX() 386 …psEncCtrl->LF_shp_Q14[ k ] = silk_LSHIFT( SILK_FIX_CONST( 1.0, 14 ) - b_Q14 - silk_SMULWB( streng… in silk_noise_shape_analysis_FIX() 396 psEncCtrl->LF_shp_Q14[ 0 ] = silk_LSHIFT( SILK_FIX_CONST( 1.0, 14 ) - b_Q14 - in silk_noise_shape_analysis_FIX() 409 …HarmBoost_Q16 = silk_SMULWB( silk_SMULWB( SILK_FIX_CONST( 1.0, 17 ) - silk_LSHIFT( psEncCtrl->codi… in silk_noise_shape_analysis_FIX() 414 …SILK_FIX_CONST( 1.0, 16 ) - silk_LSHIFT( psEncCtrl->input_quality_Q14, 2 ), SILK_FIX_CONST( LOW_IN… in silk_noise_shape_analysis_FIX() 419 …SILK_FIX_CONST( 1.0, 16 ) - silk_SMULWB( SILK_FIX_CONST( 1.0, 18 ) - silk_LSHIFT( psEncCtrl->codin… in silk_noise_shape_analysis_FIX() 423 HarmShapeGain_Q16 = silk_SMULWB( silk_LSHIFT( HarmShapeGain_Q16, 1 ), in silk_noise_shape_analysis_FIX() 424 silk_SQRT_APPROX( silk_LSHIFT( psEnc->LTPCorr_Q15, 15 ) ) ); in silk_noise_shape_analysis_FIX()
|
D | k2a_FIX.c | 49 … A_Q24[ n ] = silk_SMLAWB( A_Q24[ n ], silk_LSHIFT( Atmp[ k - n - 1 ], 1 ), rc_Q15[ k ] ); in silk_k2a() 51 A_Q24[ k ] = -silk_LSHIFT( (opus_int32)rc_Q15[ k ], 9 ); in silk_k2a()
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
D | schur_FIX.c | 61 C[ k ][ 0 ] = C[ k ][ 1 ] = silk_LSHIFT( c[ k ], lz ); in silk_schur() 95 C[ n + k + 1 ][ 0 ] = silk_SMLAWB( Ctmp1, silk_LSHIFT( Ctmp2, 1 ), rc_tmp_Q15 ); in silk_schur() 96 C[ n ][ 1 ] = silk_SMLAWB( Ctmp2, silk_LSHIFT( Ctmp1, 1 ), rc_tmp_Q15 ); in silk_schur()
|
D | noise_shape_analysis_FIX.c | 184 b_Q8 = silk_SMULWB( silk_LSHIFT( b_Q8, 8 ), b_Q8 ); in silk_noise_shape_analysis_FIX() 210 nSamples = silk_LSHIFT( psEnc->sCmn.fs_kHz, 1 ); in silk_noise_shape_analysis_FIX() 252 BWExp1_Q16 = silk_DIV32_16( silk_LSHIFT( BWExp1_Q16, 14 ), silk_RSHIFT( BWExp2_Q16, 2 ) ); in silk_noise_shape_analysis_FIX() 386 …psEncCtrl->LF_shp_Q14[ k ] = silk_LSHIFT( SILK_FIX_CONST( 1.0, 14 ) - b_Q14 - silk_SMULWB( streng… in silk_noise_shape_analysis_FIX() 396 psEncCtrl->LF_shp_Q14[ 0 ] = silk_LSHIFT( SILK_FIX_CONST( 1.0, 14 ) - b_Q14 - in silk_noise_shape_analysis_FIX() 409 …HarmBoost_Q16 = silk_SMULWB( silk_SMULWB( SILK_FIX_CONST( 1.0, 17 ) - silk_LSHIFT( psEncCtrl->codi… in silk_noise_shape_analysis_FIX() 414 …SILK_FIX_CONST( 1.0, 16 ) - silk_LSHIFT( psEncCtrl->input_quality_Q14, 2 ), SILK_FIX_CONST( LOW_IN… in silk_noise_shape_analysis_FIX() 419 …SILK_FIX_CONST( 1.0, 16 ) - silk_SMULWB( SILK_FIX_CONST( 1.0, 18 ) - silk_LSHIFT( psEncCtrl->codin… in silk_noise_shape_analysis_FIX() 423 HarmShapeGain_Q16 = silk_SMULWB( silk_LSHIFT( HarmShapeGain_Q16, 1 ), in silk_noise_shape_analysis_FIX() 424 silk_SQRT_APPROX( silk_LSHIFT( psEnc->LTPCorr_Q15, 15 ) ) ); in silk_noise_shape_analysis_FIX()
|