/external/libopus/silk/arm/ |
D | NSQ_neon.h | 37 out[15] = silk_LSHIFT32(in[0], 15); in silk_short_prediction_create_arch_coef_neon() 38 out[14] = silk_LSHIFT32(in[1], 15); in silk_short_prediction_create_arch_coef_neon() 39 out[13] = silk_LSHIFT32(in[2], 15); in silk_short_prediction_create_arch_coef_neon() 40 out[12] = silk_LSHIFT32(in[3], 15); in silk_short_prediction_create_arch_coef_neon() 41 out[11] = silk_LSHIFT32(in[4], 15); in silk_short_prediction_create_arch_coef_neon() 42 out[10] = silk_LSHIFT32(in[5], 15); in silk_short_prediction_create_arch_coef_neon() 43 out[9] = silk_LSHIFT32(in[6], 15); in silk_short_prediction_create_arch_coef_neon() 44 out[8] = silk_LSHIFT32(in[7], 15); in silk_short_prediction_create_arch_coef_neon() 45 out[7] = silk_LSHIFT32(in[8], 15); in silk_short_prediction_create_arch_coef_neon() 46 out[6] = silk_LSHIFT32(in[9], 15); in silk_short_prediction_create_arch_coef_neon() [all …]
|
D | NSQ_del_dec_neon_intr.c | 187 const int32x2_t gain_lo_s32x2 = vdup_n_s32( silk_LSHIFT32( gain & 0x0000FFFF, 15 ) ); in copy_winner_state() 578 const int32x2_t warping_Q16_s32x2 = vdup_n_s32( silk_LSHIFT32( warping_Q16, 16 ) >> 1 ); in silk_noise_shape_quantizer_del_dec_neon() 579 const opus_int32 LF_shp_Q29 = silk_LSHIFT32( LF_shp_Q14, 16 ) >> 1; in silk_noise_shape_quantizer_del_dec_neon() 602 AR_shp_Q28[i] = silk_LSHIFT32( AR_shp_Q13[i], 15 ); in silk_noise_shape_quantizer_del_dec_neon() 679 …32( n_AR_Q14_s32x4, vqdmulhq_n_s32( vld1q_s32( psDelDec->LF_AR_Q14 ), silk_LSHIFT32( Tilt_Q14, 16 … in silk_noise_shape_quantizer_del_dec_neon() 682 …32( n_LF_Q14_s32x4, vqdmulhq_n_s32( vld1q_s32( psDelDec->LF_AR_Q14 ), silk_LSHIFT32( LF_shp_Q14 >>… in silk_noise_shape_quantizer_del_dec_neon() 1047 gain_adj_Q16_s32x2 = vdup_n_s32( silk_LSHIFT32( gain_adj_Q16, 15 ) ); in silk_nsq_del_dec_scale_states_neon() 1083 gain_adj_Q16_s32x2 = vdup_n_s32( silk_LSHIFT32( gain_adj_Q16 & 0x0000FFFF, 15 ) ); in silk_nsq_del_dec_scale_states_neon()
|
/external/libopus/silk/ |
D | VQ_WMat_EC.c | 57 neg_xX_Q24[ 0 ] = -silk_LSHIFT32( xX_Q17[ 0 ], 7 ); in silk_VQ_WMat_EC_c() 58 neg_xX_Q24[ 1 ] = -silk_LSHIFT32( xX_Q17[ 1 ], 7 ); in silk_VQ_WMat_EC_c() 59 neg_xX_Q24[ 2 ] = -silk_LSHIFT32( xX_Q17[ 2 ], 7 ); in silk_VQ_WMat_EC_c() 60 neg_xX_Q24[ 3 ] = -silk_LSHIFT32( xX_Q17[ 3 ], 7 ); in silk_VQ_WMat_EC_c() 61 neg_xX_Q24[ 4 ] = -silk_LSHIFT32( xX_Q17[ 4 ], 7 ); in silk_VQ_WMat_EC_c() 77 penalty = silk_LSHIFT32( silk_max( silk_SUB32( gain_tmp_Q7, max_gain_Q7 ), 0 ), 11 ); in silk_VQ_WMat_EC_c() 84 sum2_Q24 = silk_LSHIFT32( sum2_Q24, 1 ); in silk_VQ_WMat_EC_c() 92 sum2_Q24 = silk_LSHIFT32( sum2_Q24, 1 ); in silk_VQ_WMat_EC_c() 99 sum2_Q24 = silk_LSHIFT32( sum2_Q24, 1 ); in silk_VQ_WMat_EC_c() 105 sum2_Q24 = silk_LSHIFT32( sum2_Q24, 1 ); in silk_VQ_WMat_EC_c() [all …]
|
D | resampler.c | 163 …S->invRatio_Q16 = silk_LSHIFT32( silk_DIV32( silk_LSHIFT32( Fs_Hz_in, 14 + up2x ), Fs_Hz_out ), 2 … in silk_resampler_init() 165 while( silk_SMULWW( S->invRatio_Q16, Fs_Hz_out ) < silk_LSHIFT32( Fs_Hz_in, up2x ) ) { in silk_resampler_init()
|
D | SigProc_FIX.h | 524 #define silk_LSHIFT32(a, shift) ((opus_int32)((opus_uint32)(a)<<(shift))) /* shif… macro 526 #define silk_LSHIFT(a, shift) silk_LSHIFT32(a, shift) /* shif… 535 #define silk_LSHIFT_SAT32(a, shift) (silk_LSHIFT32( silk_LIMIT( (a), silk_RSHIFT32( silk_in… 543 #define silk_ADD_LSHIFT32(a, b, shift) silk_ADD32((a), silk_LSHIFT32((b), (shift))) /* shif… 548 #define silk_SUB_LSHIFT32(a, b, shift) silk_SUB32((a), silk_LSHIFT32((b), (shift))) /* shif…
|
D | CNG.c | 134 gain_Q16 = silk_LSHIFT32( silk_SQRT_APPROX( gain_Q16 ), 16 ); in silk_CNG() 138 gain_Q16 = silk_LSHIFT32( silk_SQRT_APPROX( gain_Q16 ), 8 ); in silk_CNG()
|
D | resampler_private_IIR_FIR.c | 91 max_index_Q16 = silk_LSHIFT32( nSamplesIn, 16 + 1 ); /* + 1 because 2x upsampling */ in silk_resampler_private_IIR_FIR()
|
D | LPC_inv_pred_gain.c | 134 Atmp_QA[ k ] = silk_LSHIFT32( (opus_int32)A_Q12[ k ], QA - 12 ); in silk_LPC_inverse_pred_gain_c()
|
D | NSQ.h | 91 out = silk_LSHIFT32( out, 1 ); in silk_NSQ_noise_shape_feedback_loop_c()
|
D | NSQ_del_dec.c | 526 exc_Q14 = silk_LSHIFT32( psSS[ 0 ].Q_Q10, 4 ); in silk_noise_shape_quantizer_del_dec() 546 exc_Q14 = silk_LSHIFT32( psSS[ 1 ].Q_Q10, 4 ); in silk_noise_shape_quantizer_del_dec() 634 psDD->Pred_Q15[ *smpl_buf_idx ] = silk_LSHIFT32( psSS->LPC_exc_Q14, 1 ); in silk_noise_shape_quantizer_del_dec()
|
D | resampler_private_down_FIR.c | 174 max_index_Q16 = silk_LSHIFT32( nSamplesIn, 16 ); in silk_resampler_private_down_FIR()
|
D | VAD.c | 262 speech_nrg = silk_LSHIFT32( speech_nrg, 16 ); in silk_VAD_GetSA_Q8_c()
|
D | MacroCount.h | 336 #undef silk_LSHIFT32 337 static OPUS_INLINE opus_int32 silk_LSHIFT32(opus_int32 a, opus_int32 shift){ in silk_LSHIFT32() function
|
/external/libopus/silk/fixed/ |
D | burg_modified_FIX.c | 80 C0 = silk_LSHIFT32((opus_int32)C0_64, -rshifts ); in silk_burg_modified_c() 105 C_first_row[ n - 1 ] += silk_LSHIFT32( xcorr[ n - 1 ], -rshifts ); in silk_burg_modified_c() 124 …x1 = -silk_LSHIFT32( (opus_int32)x_ptr[ n ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_c() 125 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_c() 126 …tmp1 = silk_LSHIFT32( (opus_int32)x_ptr[ n ], QA - 16 ); /* Q(QA-16… in silk_burg_modified_c() 127 …tmp2 = silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], QA - 16 ); /* Q(QA-16… in silk_burg_modified_c() 135 …tmp1 = silk_LSHIFT32( -tmp1, 32 - QA - rshifts ); /* Q(16-rs… in silk_burg_modified_c() 136 …tmp2 = silk_LSHIFT32( -tmp2, 32 - QA - rshifts ); /* Q(16-rs… in silk_burg_modified_c() 145 …x1 = -silk_LSHIFT32( (opus_int32)x_ptr[ n ], -rshifts ); /* Q( -rsh… in silk_burg_modified_c() 146 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], -rshifts ); /* Q( -rsh… in silk_burg_modified_c() [all …]
|
D | residual_energy_FIX.c | 88 tmp32 = silk_LSHIFT32( gains[ i ], lz2 ); in silk_residual_energy_FIX() 94 …nrgs[ i ] = silk_SMMUL( tmp32, silk_LSHIFT32( nrgs[ i ], lz1 ) ); /* Q( nrgsQ[ i ] + lz1 + 2 * lz2… in silk_residual_energy_FIX()
|
D | warped_autocorrelation_FIX.c | 60 tmp1_QS = silk_LSHIFT32( (opus_int32)input[ n ], QS ); in silk_warped_autocorrelation_FIX_c()
|
D | noise_shape_analysis_FIX.c | 308 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT32( psEncCtrl->Gains_Q16[ k ], 1 ); in silk_noise_shape_analysis_FIX()
|
/external/libopus/silk/fixed/x86/ |
D | burg_modified_FIX_sse4_1.c | 80 C0 = silk_LSHIFT32( C0, rshifts - MAX_RSHIFTS ); in silk_burg_modified_sse4_1() 91 C0 = silk_LSHIFT32( C0, -rshifts_extra ); in silk_burg_modified_sse4_1() 117 C_first_row[ n - 1 ] += silk_LSHIFT32( xcorr[ n - 1 ], -rshifts ); in silk_burg_modified_sse4_1() 136 …x1 = -silk_LSHIFT32( (opus_int32)x_ptr[ n ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_sse4_1() 137 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_sse4_1() 138 …tmp1 = silk_LSHIFT32( (opus_int32)x_ptr[ n ], QA - 16 ); /* Q(QA-16… in silk_burg_modified_sse4_1() 139 …tmp2 = silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], QA - 16 ); /* Q(QA-16… in silk_burg_modified_sse4_1() 147 …tmp1 = silk_LSHIFT32( -tmp1, 32 - QA - rshifts ); /* Q(16-rs… in silk_burg_modified_sse4_1() 148 …tmp2 = silk_LSHIFT32( -tmp2, 32 - QA - rshifts ); /* Q(16-rs… in silk_burg_modified_sse4_1() 157 …x1 = -silk_LSHIFT32( (opus_int32)x_ptr[ n ], -rshifts ); /* Q( -rsh… in silk_burg_modified_sse4_1() [all …]
|
/external/libopus/silk/fixed/mips/ |
D | warped_autocorrelation_FIX_mipsr1.h | 71 tmp1_QS = silk_LSHIFT32( (opus_int32)input[ n ], QS ); in silk_warped_autocorrelation_FIX() 73 tmp3_QS = silk_LSHIFT32( (opus_int32)input[ n+1], QS ); in silk_warped_autocorrelation_FIX() 75 tmp5_QS = silk_LSHIFT32( (opus_int32)input[ n+2], QS ); in silk_warped_autocorrelation_FIX() 77 tmp7_QS = silk_LSHIFT32( (opus_int32)input[ n+3], QS ); in silk_warped_autocorrelation_FIX() 120 tmp1_QS = silk_LSHIFT32( (opus_int32)input[ n ], QS ); in silk_warped_autocorrelation_FIX()
|
D | noise_shape_analysis_FIX_mipsr1.h | 202 …psEncCtrl->Gains_Q16[ k ] = (silk_LSHIFT32( silk_LIMIT( (tmp32), silk_RSHIFT32( silk_int32_MIN, (1… in silk_noise_shape_analysis_FIX() 231 pre_nrg_Q30 = silk_LSHIFT32( silk_SMULWB( pre_nrg_Q30, SILK_FIX_CONST( 0.7, 15 ) ), 1 ); in silk_noise_shape_analysis_FIX()
|
/external/libopus/silk/mips/ |
D | NSQ_del_dec_mipsr1.h | 289 exc_Q14 = silk_LSHIFT32( psSS[ 0 ].Q_Q10, 4 ); in silk_noise_shape_quantizer_del_dec() 308 exc_Q14 = silk_LSHIFT32( psSS[ 1 ].Q_Q10, 4 ); in silk_noise_shape_quantizer_del_dec() 395 psDD->Pred_Q15[ *smpl_buf_idx ] = silk_LSHIFT32( psSS->LPC_exc_Q14, 1 ); in silk_noise_shape_quantizer_del_dec()
|
/external/libopus/silk/float/ |
D | wrappers_FLP.c | 128 …LF_shp_Q14[ i ] = silk_LSHIFT32( silk_float2int( psEncCtrl->LF_AR_shp[ i ] * 16384.0f ), 16 … in silk_NSQ_wrapper_FLP()
|
/external/libopus/silk/x86/ |
D | NSQ_del_dec_sse4_1.c | 605 exc_Q14 = silk_LSHIFT32( psSS[ 0 ].Q_Q10, 4 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 624 exc_Q14 = silk_LSHIFT32( psSS[ 1 ].Q_Q10, 4 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 711 psDD->Pred_Q15[ *smpl_buf_idx ] = silk_LSHIFT32( psSS->LPC_exc_Q14, 1 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
|
D | NSQ_sse4_1.c | 459 n_AR_Q12 = silk_LSHIFT32( n_AR_Q12, 1 ); /* Q11 -> Q12 */ in silk_noise_shape_quantizer_10_16_sse4_1() 468 tmp1 = silk_SUB32( silk_LSHIFT32( LPC_pred_Q10, 2 ), n_AR_Q12 ); /* Q12 */ in silk_noise_shape_quantizer_10_16_sse4_1()
|
/external/libopus/silk/fixed/arm/ |
D | warped_autocorrelation_FIX_neon_intr.c | 111 input_QS[ 0 ] = silk_LSHIFT32( (opus_int32)input[ n ], QS ); in silk_warped_autocorrelation_FIX_neon()
|