/external/libopus/silk/ |
D | resampler_private_down_FIR.c | 92 … res_Q6 = silk_SMULWB( silk_ADD32( buf_ptr[ 0 ], buf_ptr[ 23 ] ), FIR_Coefs[ 0 ] ); in silk_resampler_private_down_FIR_INTERPOL() 93 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 1 ], buf_ptr[ 22 ] ), FIR_Coefs[ 1 ] ); in silk_resampler_private_down_FIR_INTERPOL() 94 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 2 ], buf_ptr[ 21 ] ), FIR_Coefs[ 2 ] ); in silk_resampler_private_down_FIR_INTERPOL() 95 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 3 ], buf_ptr[ 20 ] ), FIR_Coefs[ 3 ] ); in silk_resampler_private_down_FIR_INTERPOL() 96 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 4 ], buf_ptr[ 19 ] ), FIR_Coefs[ 4 ] ); in silk_resampler_private_down_FIR_INTERPOL() 97 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 5 ], buf_ptr[ 18 ] ), FIR_Coefs[ 5 ] ); in silk_resampler_private_down_FIR_INTERPOL() 98 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 6 ], buf_ptr[ 17 ] ), FIR_Coefs[ 6 ] ); in silk_resampler_private_down_FIR_INTERPOL() 99 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 7 ], buf_ptr[ 16 ] ), FIR_Coefs[ 7 ] ); in silk_resampler_private_down_FIR_INTERPOL() 100 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 8 ], buf_ptr[ 15 ] ), FIR_Coefs[ 8 ] ); in silk_resampler_private_down_FIR_INTERPOL() 101 … res_Q6 = silk_SMLAWB( res_Q6, silk_ADD32( buf_ptr[ 9 ], buf_ptr[ 14 ] ), FIR_Coefs[ 9 ] ); in silk_resampler_private_down_FIR_INTERPOL() [all …]
|
D | resampler_private_up2_HQ.c | 63 out32_1 = silk_ADD32( S[ 0 ], X ); in silk_resampler_private_up2_HQ() 64 S[ 0 ] = silk_ADD32( in32, X ); in silk_resampler_private_up2_HQ() 69 out32_2 = silk_ADD32( S[ 1 ], X ); in silk_resampler_private_up2_HQ() 70 S[ 1 ] = silk_ADD32( out32_1, X ); in silk_resampler_private_up2_HQ() 75 out32_1 = silk_ADD32( S[ 2 ], X ); in silk_resampler_private_up2_HQ() 76 S[ 2 ] = silk_ADD32( out32_2, X ); in silk_resampler_private_up2_HQ() 84 out32_1 = silk_ADD32( S[ 3 ], X ); in silk_resampler_private_up2_HQ() 85 S[ 3 ] = silk_ADD32( in32, X ); in silk_resampler_private_up2_HQ() 90 out32_2 = silk_ADD32( S[ 4 ], X ); in silk_resampler_private_up2_HQ() 91 S[ 4 ] = silk_ADD32( out32_1, X ); in silk_resampler_private_up2_HQ() [all …]
|
D | resampler_down2.c | 57 out32 = silk_ADD32( S[ 0 ], X ); in silk_resampler_down2() 58 S[ 0 ] = silk_ADD32( in32, X ); in silk_resampler_down2() 66 out32 = silk_ADD32( out32, S[ 1 ] ); in silk_resampler_down2() 67 out32 = silk_ADD32( out32, X ); in silk_resampler_down2() 68 S[ 1 ] = silk_ADD32( in32, X ); in silk_resampler_down2()
|
D | ana_filt_bank_1.c | 58 out_1 = silk_ADD32( S[ 0 ], X ); in silk_ana_filt_bank_1() 59 S[ 0 ] = silk_ADD32( in32, X ); in silk_ana_filt_bank_1() 67 out_2 = silk_ADD32( S[ 1 ], X ); in silk_ana_filt_bank_1() 68 S[ 1 ] = silk_ADD32( in32, X ); in silk_ana_filt_bank_1() 71 outL[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( silk_ADD32( out_2, out_1 ), 11 ) ); in silk_ana_filt_bank_1()
|
D | NSQ_del_dec.c | 455 tmp2 = silk_ADD32( n_LTP_Q14, LPC_pred_Q14 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec() 485 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec() 486 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec() 491 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec() 500 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec() 501 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec() 502 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec() 512 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec() 513 psSS[ 1 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd2_Q10 ); in silk_noise_shape_quantizer_del_dec() 517 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd2_Q10 ); in silk_noise_shape_quantizer_del_dec() [all …]
|
D | NLSF_VQ.c | 61 …sum_error_Q24 = silk_ADD32( sum_error_Q24, silk_abs( silk_SUB_RSHIFT32( diffw_Q24, pred_Q24, 1 ) )… in silk_NLSF_VQ() 67 …sum_error_Q24 = silk_ADD32( sum_error_Q24, silk_abs( silk_SUB_RSHIFT32( diffw_Q24, pred_Q24, 1 ) )… in silk_NLSF_VQ()
|
D | NSQ.c | 265 …n_LTP_Q13 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer() 303 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer() 304 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer() 309 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer() 318 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer() 319 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer() 320 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer()
|
D | SigProc_FIX.h | 433 #define silk_MLA(a32, b32, c32) silk_ADD32((a32),((b32) * (c32))) 442 #define silk_SMLATT(a32, b32, c32) silk_ADD32((a32),((b32) >> 16) * ((c32) >> 16)) 481 #define silk_ADD32(a, b) ((a) + (b)) macro 499 #define silk_ADD_SAT16(a, b) (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a), (b… 543 #define silk_ADD_LSHIFT32(a, b, shift) silk_ADD32((a), silk_LSHIFT32((b), (shift))) /* shif… 546 #define silk_ADD_RSHIFT32(a, b, shift) silk_ADD32((a), silk_RSHIFT32((b), (shift))) /* shif…
|
D | MacroDebug.h | 53 #undef silk_ADD32 54 #define silk_ADD32(a,b) silk_ADD32_((a), (b), __FILE__, __LINE__) macro 137 res = (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a16), (b16) ) ); in silk_ADD_SAT16_() 336 ret = silk_ADD32( a32, silk_SMULWB( b32, c32 ) ); in silk_SMLAWB_() 337 …if ( silk_ADD32( a32, silk_SMULWB( b32, c32 ) ) != silk_ADD_SAT32( a32, silk_SMULWB( b32, c32 ) ) ) in silk_SMLAWB_() 460 ret = silk_ADD32( tmp1, tmp2 ); in silk_SMULWW_() 461 fail |= silk_ADD32( tmp1, tmp2 ) != silk_ADD_SAT32( tmp1, tmp2 ); in silk_SMULWW_() 483 ret = silk_ADD32( a32, tmp ); in silk_SMLAWW_()
|
D | MacroCount.h | 500 #undef silk_ADD32 501 static OPUS_INLINE opus_int32 silk_ADD32(opus_int32 a, opus_int32 b){ in silk_ADD32() function 544 res = (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a16), (b16) ) ); in silk_ADD_SAT16()
|
/external/libopus/silk/mips/ |
D | NSQ_del_dec_mipsr1.h | 145 …n_LTP_Q14 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer_del_dec() 230 tmp1 = silk_ADD32( n_AR_Q14, n_LF_Q14 ); /* Q14 */ in silk_noise_shape_quantizer_del_dec() 231 tmp2 = silk_ADD32( n_LTP_Q14, LPC_pred_Q14 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec() 248 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec() 249 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec() 254 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec() 263 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec() 264 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec() 265 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec() 275 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec() [all …]
|
/external/libopus/silk/x86/ |
D | NSQ_del_dec_sse4_1.c | 410 …n_LTP_Q14 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer_del_dec_sse4_1() 546 … tmp1 = silk_ADD32( n_AR_Q14, n_LF_Q14 ); /* Q14 */ in silk_noise_shape_quantizer_del_dec_sse4_1() 547 … tmp2 = silk_ADD32( n_LTP_Q14, LPC_pred_Q14 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec_sse4_1() 564 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 565 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 570 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 579 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 580 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 581 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 591 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() [all …]
|
D | NSQ_sse4_1.c | 472 …n_LTP_Q13 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer_10_16_sse4_1()
|
/external/libopus/silk/fixed/ |
D | pitch_analysis_core_FIX.c | 205 …normalizer = silk_ADD32( normalizer, silk_inner_prod_aligned( basis_ptr, basis_ptr, SF_LENGTH_8KH… in silk_pitch_analysis_core() 206 normalizer = silk_ADD32( normalizer, silk_SMULBB( SF_LENGTH_8KHZ, 4000 ) ); in silk_pitch_analysis_core() 222 normalizer = silk_ADD32( normalizer, in silk_pitch_analysis_core() 331 …energy_target = silk_ADD32( silk_inner_prod_aligned( target_ptr, target_ptr, SF_LENGTH_8KHZ, arch … in silk_pitch_analysis_core() 345 silk_ADD32( energy_target, in silk_pitch_analysis_core() 505 …energy_target = silk_ADD32( silk_inner_prod_aligned( target_ptr, target_ptr, nb_subfr * sf_length,… in silk_pitch_analysis_core() 511 cross_corr = silk_ADD32( cross_corr, in silk_pitch_analysis_core() 514 energy = silk_ADD32( energy, in silk_pitch_analysis_core()
|
D | corrMatrix_FIX.c | 107 … energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr1[ -j ] ), *rshifts ) ); in silk_corrMatrix_FIX() 127 … energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr2[ -j ] ), *rshifts ) ); in silk_corrMatrix_FIX()
|
D | regularize_correlations_FIX.c | 44 matrix_ptr( &XX[ 0 ], i, i, D ) = silk_ADD32( matrix_ptr( &XX[ 0 ], i, i, D ), noise ); in silk_regularize_correlations_FIX()
|
D | burg_modified_FIX.c | 174 …nrg = silk_ADD32( CAb[ 0 ], CAf[ 0 ] ); /*… in silk_burg_modified_c() 184 nrg = silk_ADD_LSHIFT32( nrg, silk_SMMUL( silk_ADD32( CAb[ k + 1 ], CAf[ k + 1 ] ), in silk_burg_modified_c() 189 …num = silk_ADD32( num, tmp2 ); /*… in silk_burg_modified_c()
|
D | find_LPC_FIX.c | 112 res_nrg_interp = silk_ADD32( res_nrg0, res_nrg1 ); in silk_find_LPC_FIX()
|
D | noise_shape_analysis_FIX.c | 272 …auto_corr[0] = silk_ADD32( auto_corr[0], silk_max_32( silk_SMULWB( silk_RSHIFT( auto_corr[ 0 ], 4 … in silk_noise_shape_analysis_FIX()
|
/external/libopus/silk/fixed/x86/ |
D | burg_modified_FIX_sse4_1.c | 271 …nrg = silk_ADD32( CAb[ 0 ], CAf[ 0 ] ); /*… in silk_burg_modified_sse4_1() 281 nrg = silk_ADD_LSHIFT32( nrg, silk_SMMUL( silk_ADD32( CAb[ k + 1 ], CAf[ k + 1 ] ), in silk_burg_modified_sse4_1() 286 …num = silk_ADD32( num, tmp2 ); /*… in silk_burg_modified_sse4_1()
|
/external/libopus/silk/fixed/mips/ |
D | noise_shape_analysis_FIX_mipsr1.h | 140 BWExp2_Q16 = silk_ADD32( BWExp2_Q16, delta_Q16 ); in silk_noise_shape_analysis_FIX() 179 …auto_corr[0] = silk_ADD32( auto_corr[0], silk_max_32( silk_SMULWB( silk_RSHIFT( auto_corr[ 0 ], 4 … in silk_noise_shape_analysis_FIX()
|
/external/libopus/silk/arm/ |
D | NSQ_del_dec_neon_intr.c | 635 …n_LTP_Q14 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer_del_dec_neon()
|