/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 | 392 …n_LTP_Q14 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer_del_dec() 449 tmp1 = silk_ADD32( n_AR_Q14, n_LF_Q14 ); /* Q14 */ in silk_noise_shape_quantizer_del_dec() 450 tmp2 = silk_ADD32( n_LTP_Q14, LPC_pred_Q14 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec() 467 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec() 468 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec() 473 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec() 482 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec() 483 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec() 484 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec() 494 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec() [all …]
|
D | NSQ.c | 267 …n_LTP_Q13 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer() 292 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer() 293 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer() 298 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer() 307 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer() 308 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer() 309 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer()
|
D | SigProc_FIX.h | 408 #define silk_MLA(a32, b32, c32) silk_ADD32((a32),((b32) * (c32))) 417 #define silk_SMLATT(a32, b32, c32) silk_ADD32((a32),((b32) >> 16) * ((c32) >> 16)) 440 #define silk_ADD32(a, b) ((a) + (b)) macro 458 #define silk_ADD_SAT16(a, b) (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a), (b… 498 #define silk_ADD_LSHIFT32(a, b, shift) silk_ADD32((a), silk_LSHIFT32((b), (shift))) /* shif… 501 #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 | NLSF_decode.c | 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 | MacroCount.h | 508 #undef silk_ADD32 509 static OPUS_INLINE opus_int32 silk_ADD32(opus_int32 a, opus_int32 b){ in silk_ADD32() function 552 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_sse.c | 409 …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() 545 … tmp1 = silk_ADD32( n_AR_Q14, n_LF_Q14 ); /* Q14 */ in silk_noise_shape_quantizer_del_dec_sse4_1() 546 … tmp2 = silk_ADD32( n_LTP_Q14, LPC_pred_Q14 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec_sse4_1() 563 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 564 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 569 q2_Q10 = silk_ADD32( q1_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 578 q1_Q10 = silk_ADD32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 579 q1_Q10 = silk_ADD32( q1_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 580 q2_Q10 = silk_ADD32( q1_Q10, 1024 ); in silk_noise_shape_quantizer_del_dec_sse4_1() 590 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1() [all …]
|
D | NSQ_sse.c | 473 …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 | find_LTP_FIX.c | 152 …LPC_res_nrg = silk_ADD32( LPC_res_nrg, silk_RSHIFT( silk_ADD32( silk_SMULWB( rr[ k ], Wgh… in silk_find_LTP_FIX() 153 …LPC_LTP_res_nrg = silk_ADD32( LPC_LTP_res_nrg, silk_RSHIFT( silk_ADD32( silk_SMULWB( nrg[ k ], Wgh… in silk_find_LTP_FIX() 202 …temp32 = silk_ADD32( temp32, silk_RSHIFT( w[ k ], maxRshifts_wxtra - corr_rshi… in silk_find_LTP_FIX() 203 …wd = silk_ADD32( wd, silk_LSHIFT( silk_SMULWW( silk_RSHIFT( w[ k ], maxRshifts_wxtra - corr_rs… in silk_find_LTP_FIX()
|
D | pitch_analysis_core_FIX.c | 200 …normalizer = silk_ADD32( normalizer, silk_inner_prod_aligned( basis_ptr, basis_ptr, SF_LENGTH_8KH… in silk_pitch_analysis_core() 201 normalizer = silk_ADD32( normalizer, silk_SMULBB( SF_LENGTH_8KHZ, 4000 ) ); in silk_pitch_analysis_core() 217 normalizer = silk_ADD32( normalizer, in silk_pitch_analysis_core() 338 …energy_target = silk_ADD32( silk_inner_prod_aligned( target_ptr, target_ptr, SF_LENGTH_8KHZ, arch … in silk_pitch_analysis_core() 352 silk_ADD32( energy_target, in silk_pitch_analysis_core() 530 …energy_target = silk_ADD32( silk_inner_prod_aligned( target_ptr, target_ptr, nb_subfr * sf_length,… in silk_pitch_analysis_core() 536 cross_corr = silk_ADD32( cross_corr, in silk_pitch_analysis_core() 539 energy = silk_ADD32( energy, in silk_pitch_analysis_core()
|
D | solve_LS_FIX.c | 148 matrix_ptr( A, i, i, M ) = silk_ADD32( matrix_ptr( A, i, i, M ), tmp_32 ); in silk_LDL_factorize_FIX() 176 matrix_ptr( L_Q16, i, j, M ) = silk_ADD32( silk_SMMUL( tmp_32, one_div_diag_Q48 ), in silk_LDL_factorize_FIX() 203 …T[ i ] = silk_ADD32( silk_SMMUL( tmp_32, one_div_diag_Q48 ), silk_RSHIFT( silk_SMULWW( tmp_32, one… in silk_LS_divide_Q16_FIX()
|
D | corrMatrix_FIX.c | 115 …energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr1[ -j ] ), rshifts_local )… in silk_corrMatrix_FIX() 134 …energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr2[ -j ] ), rshifts_local )… 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 | 255 BWExp2_Q16 = silk_ADD32( BWExp2_Q16, delta_Q16 ); in silk_noise_shape_analysis_FIX() 294 …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_sse.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()
|