Home
last modified time | relevance | path

Searched refs:silk_SUB32 (Results 1 – 13 of 13) 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.c280 tmp1 = silk_SUB32( silk_LSHIFT32( LPC_pred_Q10, 2 ), n_AR_Q12 ); /* Q12 */ in silk_noise_shape_quantizer()
281 tmp1 = silk_SUB32( tmp1, n_LF_Q12 ); /* Q12 */ in silk_noise_shape_quantizer()
289 tmp2 = silk_SUB32( LTP_pred_Q13, n_LTP_Q13 ); /* Q13 */ in silk_noise_shape_quantizer()
296 … r_Q10 = silk_SUB32( x_sc_Q10[ i ], tmp1 ); /* residual error Q10 */ in silk_noise_shape_quantizer()
305 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer()
308 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer()
320 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer()
330 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer()
332 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer()
Dresampler_down2.c55 Y = silk_SUB32( in32, S[ 0 ] ); in silk_resampler_down2()
64 Y = silk_SUB32( in32, S[ 1 ] ); in silk_resampler_down2()
DNSQ_del_dec.c455 tmp1 = silk_SUB32( tmp2, tmp1 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec()
458 …r_Q10 = silk_SUB32( x_Q10[ i ], tmp1 ); /* residual error Q10 … in silk_noise_shape_quantizer_del_dec()
467 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec()
470 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
482 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
492 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer_del_dec()
494 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer_del_dec()
522 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
523 psSS[ 0 ].sLTP_shp_Q14 = silk_SUB32( sLF_AR_shp_Q14, n_LF_Q14 ); in silk_noise_shape_quantizer_del_dec()
542 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
[all …]
DSigProc_FIX.h436 #define silk_SUB32(a, b) ((a) - (b)) macro
455 #define silk_SUB_SAT16(a, b) (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a), (b…
495 #define silk_SUB_LSHIFT32(a, b, shift) silk_SUB32((a), silk_LSHIFT32((b), (shift))) /* shif…
496 #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()
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/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.c112 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX()
131 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX()
146 energy = silk_SUB32( energy, silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ) ); in silk_corrMatrix_FIX()
Dprefilter_FIX.c196 sLF_AR_shp_Q12 = silk_SUB32( st_res_Q12[ i ], silk_LSHIFT( n_Tilt_Q10, 2 ) ); in silk_prefilt_FIX()
197 sLF_MA_shp_Q12 = silk_SUB32( sLF_AR_shp_Q12, silk_LSHIFT( n_LF_Q10, 2 ) ); in silk_prefilt_FIX()
202 xw_Q3[i] = silk_RSHIFT_ROUND( silk_SUB32( sLF_MA_shp_Q12, n_LTP_Q12 ), 9 ); in silk_prefilt_FIX()
Dnoise_shape_analysis_FIX.c249 BWExp1_Q16 = silk_SUB32( BWExp1_Q16, delta_Q16 ); in silk_noise_shape_analysis_FIX()