Home
last modified time | relevance | path

Searched refs:silk_SUB32 (Results 1 – 19 of 19) sorted by relevance

/external/libopus/silk/
Dresampler_private_up2_HQ.c61 Y = silk_SUB32( in32, S[ 0 ] ); in silk_resampler_private_up2_HQ()
67 Y = silk_SUB32( out32_1, S[ 1 ] ); in silk_resampler_private_up2_HQ()
73 Y = silk_SUB32( out32_2, S[ 2 ] ); in silk_resampler_private_up2_HQ()
82 Y = silk_SUB32( in32, S[ 3 ] ); in silk_resampler_private_up2_HQ()
88 Y = silk_SUB32( out32_1, S[ 4 ] ); in silk_resampler_private_up2_HQ()
94 Y = silk_SUB32( out32_2, S[ 5 ] ); in silk_resampler_private_up2_HQ()
Dana_filt_bank_1.c56 Y = silk_SUB32( in32, S[ 0 ] ); in silk_ana_filt_bank_1()
65 Y = silk_SUB32( in32, S[ 1 ] ); in silk_ana_filt_bank_1()
72 outH[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( silk_SUB32( out_2, out_1 ), 11 ) ); in silk_ana_filt_bank_1()
DNSQ.c263 tmp1 = silk_SUB32( silk_LSHIFT32( LPC_pred_Q10, 2 ), n_AR_Q12 ); /* Q12 */ in silk_noise_shape_quantizer()
264 tmp1 = silk_SUB32( tmp1, n_LF_Q12 ); /* Q12 */ in silk_noise_shape_quantizer()
272 tmp2 = silk_SUB32( LTP_pred_Q13, n_LTP_Q13 ); /* Q13 */ in silk_noise_shape_quantizer()
279 … r_Q10 = silk_SUB32( x_sc_Q10[ i ], tmp1 ); /* residual error Q10 */ in silk_noise_shape_quantizer()
288 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer()
291 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer()
303 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer()
313 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer()
315 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer()
DNSQ_del_dec.c451 tmp1 = silk_SUB32( tmp2, tmp1 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec()
454 …r_Q10 = silk_SUB32( x_Q10[ i ], tmp1 ); /* residual error Q10 … in silk_noise_shape_quantizer_del_dec()
463 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec()
466 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
478 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
488 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer_del_dec()
490 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer_del_dec()
518 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
519 psSS[ 0 ].sLTP_shp_Q14 = silk_SUB32( sLF_AR_shp_Q14, n_LF_Q14 ); in silk_noise_shape_quantizer_del_dec()
538 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
[all …]
Dresampler_down2.c55 Y = silk_SUB32( in32, S[ 0 ] ); in silk_resampler_down2()
64 Y = silk_SUB32( in32, S[ 1 ] ); in silk_resampler_down2()
DSigProc_FIX.h444 #define silk_SUB32(a, b) ((a) - (b)) macro
463 #define silk_SUB_SAT16(a, b) (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a), (b…
503 #define silk_SUB_LSHIFT32(a, b, shift) silk_SUB32((a), silk_LSHIFT32((b), (shift))) /* shif…
504 #define silk_SUB_RSHIFT32(a, b, shift) silk_SUB32((a), silk_RSHIFT32((b), (shift))) /* shif…
DVQ_WMat_EC.c70 …sum1_Q14 = silk_ADD_LSHIFT32( sum1_Q14, silk_max( silk_SUB32( gain_tmp_Q7, max_gain_Q7 ), 0 ), 10 … in silk_VQ_WMat_EC_c()
DMacroCount.h532 #undef silk_SUB32
533 static OPUS_INLINE opus_int32 silk_SUB32(opus_int32 a, opus_int32 b){ in silk_SUB32() function
581 res = (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a16), (b16) ) ); in silk_SUB_SAT16()
DMacroDebug.h101 #undef silk_SUB32
102 #define silk_SUB32(a,b) silk_SUB32_((a), (b), __FILE__, __LINE__) macro
198 res = (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a16), (b16) ) ); in silk_SUB_SAT16_()
/external/libopus/silk/mips/
DNSQ_del_dec_mipsr1.h232 tmp1 = silk_SUB32( tmp2, tmp1 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec()
235 …r_Q10 = silk_SUB32( x_Q10[ i ], tmp1 ); /* residual error Q10 … in silk_noise_shape_quantizer_del_dec()
244 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec()
247 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
259 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
269 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer_del_dec()
271 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer_del_dec()
299 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
300 psSS[ 0 ].sLTP_shp_Q14 = silk_SUB32( sLF_AR_shp_Q14, n_LF_Q14 ); in silk_noise_shape_quantizer_del_dec()
319 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
[all …]
/external/libopus/silk/fixed/
Dsolve_LS_FIX.c142 tmp_32 = silk_SUB32( matrix_ptr( A, j, j, M ), tmp_32 ); in silk_LDL_factorize_FIX()
145 tmp_32 = silk_SUB32( silk_SMULBB( loop_count + 1, diag_min_value ), tmp_32 ); in silk_LDL_factorize_FIX()
158 … err = silk_SUB32( (opus_int32)1 << 24, silk_SMULWW( tmp_32, one_div_diag_Q40 ) ); /* Q24 */ in silk_LDL_factorize_FIX()
173 tmp_32 = silk_SUB32( ptr1[ i ], tmp_32 ); /* always < max(Correlation) */ in silk_LDL_factorize_FIX()
225 x_Q16[ i ] = silk_SUB32( b[ i ], tmp_32 ); in silk_LS_SolveFirst_FIX()
247 x_Q16[ i ] = silk_SUB32( b[ i ], tmp_32 ); in silk_LS_SolveLast_FIX()
DcorrMatrix_FIX.c114 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX()
133 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX()
148 energy = silk_SUB32( energy, silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ) ); in silk_corrMatrix_FIX()
Dprefilter_FIX.c207 sLF_AR_shp_Q12 = silk_SUB32( st_res_Q12[ i ], silk_LSHIFT( n_Tilt_Q10, 2 ) ); in silk_prefilt_FIX()
208 sLF_MA_shp_Q12 = silk_SUB32( sLF_AR_shp_Q12, silk_LSHIFT( n_LF_Q10, 2 ) ); in silk_prefilt_FIX()
213 xw_Q3[i] = silk_RSHIFT_ROUND( silk_SUB32( sLF_MA_shp_Q12, n_LTP_Q12 ), 9 ); in silk_prefilt_FIX()
Dnoise_shape_analysis_FIX.c254 BWExp1_Q16 = silk_SUB32( BWExp1_Q16, delta_Q16 ); in silk_noise_shape_analysis_FIX()
/external/libopus/silk/fixed/mips/
Dprefilter_FIX_mipsr1.h150 sLF_AR_shp_Q12 = silk_SUB32( st_res_Q12[ i ], silk_LSHIFT( n_Tilt_Q10, 2 ) ); in silk_prefilt_FIX()
151 sLF_MA_shp_Q12 = silk_SUB32( sLF_AR_shp_Q12, silk_LSHIFT( n_LF_Q10, 2 ) ); in silk_prefilt_FIX()
156 xw_Q3[i] = silk_RSHIFT_ROUND( silk_SUB32( sLF_MA_shp_Q12, n_LTP_Q12 ), 9 ); in silk_prefilt_FIX()
168 sLF_AR_shp_Q12 = silk_SUB32( st_res_Q12[ i ], silk_LSHIFT( n_Tilt_Q10, 2 ) ); in silk_prefilt_FIX()
169 sLF_MA_shp_Q12 = silk_SUB32( sLF_AR_shp_Q12, silk_LSHIFT( n_LF_Q10, 2 ) ); in silk_prefilt_FIX()
Dnoise_shape_analysis_FIX_mipsr1.h139 BWExp1_Q16 = silk_SUB32( BWExp1_Q16, delta_Q16 ); in silk_noise_shape_analysis_FIX()
/external/libopus/silk/x86/
DNSQ_del_dec_sse.c547 … tmp1 = silk_SUB32( tmp2, tmp1 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec_sse4_1()
550 …r_Q10 = silk_SUB32( x_Q10[ i ], tmp1 ); /* residual error Q10 … in silk_noise_shape_quantizer_del_dec_sse4_1()
559 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
562 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
574 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
584 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
586 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
614 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
615 psSS[ 0 ].sLTP_shp_Q14 = silk_SUB32( sLF_AR_shp_Q14, n_LF_Q14 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
634 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
[all …]
DNSQ_sse.c469 tmp1 = silk_SUB32( silk_LSHIFT32( LPC_pred_Q10, 2 ), n_AR_Q12 ); /* Q12 */ in silk_noise_shape_quantizer_10_16_sse4_1()
470 tmp1 = silk_SUB32( tmp1, n_LF_Q12 ); /* Q12 */ in silk_noise_shape_quantizer_10_16_sse4_1()
478 tmp2 = silk_SUB32( LTP_pred_Q13, n_LTP_Q13 ); /* Q13 */ in silk_noise_shape_quantizer_10_16_sse4_1()
485 … r_Q10 = silk_SUB32( x_sc_Q10[ i ], tmp1 ); /* residual error Q10 */ in silk_noise_shape_quantizer_10_16_sse4_1()
497 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_10_16_sse4_1()
DVQ_WMat_EC_sse.c81 …sum1_Q14 = silk_ADD_LSHIFT32( sum1_Q14, silk_max( silk_SUB32( gain_tmp_Q7, max_gain_Q7 ), 0 ), 10 … in silk_VQ_WMat_EC_sse4_1()