Home
last modified time | relevance | path

Searched refs:silk_SUB32 (Results 1 – 18 of 18) 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.c261 tmp1 = silk_SUB32( silk_LSHIFT32( LPC_pred_Q10, 2 ), n_AR_Q12 ); /* Q12 */ in silk_noise_shape_quantizer()
262 tmp1 = silk_SUB32( tmp1, n_LF_Q12 ); /* Q12 */ in silk_noise_shape_quantizer()
270 tmp2 = silk_SUB32( LTP_pred_Q13, n_LTP_Q13 ); /* Q13 */ in silk_noise_shape_quantizer()
277 … r_Q10 = silk_SUB32( x_sc_Q10[ i ], tmp1 ); /* residual error Q10 */ in silk_noise_shape_quantizer()
286 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer()
302 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer()
314 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer()
324 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer()
326 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()
DLPC_inv_pred_gain.c61 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_c()
107 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_c()
DNSQ_del_dec.c459 …r_Q10 = silk_SUB32( x_Q10[ i ], tmp1 ); /* residual error Q10 … in silk_noise_shape_quantizer_del_dec()
468 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec()
484 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
496 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec()
506 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer_del_dec()
508 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer_del_dec()
537 sLF_AR_shp_Q14 = silk_SUB32( psSS[ 0 ].Diff_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
557 sLF_AR_shp_Q14 = silk_SUB32( psSS[ 1 ].Diff_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec()
DSigProc_FIX.h485 #define silk_SUB32(a, b) ((a) - (b)) macro
504 #define silk_SUB_SAT16(a, b) (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a), (b…
548 #define silk_SUB_LSHIFT32(a, b, shift) silk_SUB32((a), silk_LSHIFT32((b), (shift))) /* shif…
549 #define silk_SUB_RSHIFT32(a, b, shift) silk_SUB32((a), silk_RSHIFT32((b), (shift))) /* shif…
DVQ_WMat_EC.c77 penalty = silk_LSHIFT32( silk_max( silk_SUB32( gain_tmp_Q7, max_gain_Q7 ), 0 ), 11 ); in silk_VQ_WMat_EC_c()
DMacroCount.h524 #undef silk_SUB32
525 static OPUS_INLINE opus_int32 silk_SUB32(opus_int32 a, opus_int32 b){ in silk_SUB32() function
573 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/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/fixed/
DcorrMatrix_FIX.c106 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), *rshifts … in silk_corrMatrix_FIX()
126 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ), *rshifts … in silk_corrMatrix_FIX()
141 energy = silk_SUB32( energy, silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ) ); in silk_corrMatrix_FIX()
/external/libopus/silk/x86/
DNSQ_del_dec_sse4_1.c548 … tmp1 = silk_SUB32( tmp2, tmp1 ); /* Q13 */ in silk_noise_shape_quantizer_del_dec_sse4_1()
551 …r_Q10 = silk_SUB32( x_Q10[ i ], tmp1 ); /* residual error Q10 … in silk_noise_shape_quantizer_del_dec_sse4_1()
560 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
563 q1_Q10 = silk_SUB32( silk_LSHIFT( q1_Q0, 10 ), QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
575 q1_Q10 = silk_SUB32( q2_Q10, 1024 - QUANT_LEVEL_ADJUST_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
585 rr_Q10 = silk_SUB32( r_Q10, q1_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
587 rr_Q10 = silk_SUB32( r_Q10, q2_Q10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
615 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
616 psSS[ 0 ].sLTP_shp_Q14 = silk_SUB32( sLF_AR_shp_Q14, n_LF_Q14 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
635 sLF_AR_shp_Q14 = silk_SUB32( xq_Q14, n_AR_Q14 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
[all …]
DNSQ_sse4_1.c468 tmp1 = silk_SUB32( silk_LSHIFT32( LPC_pred_Q10, 2 ), n_AR_Q12 ); /* Q12 */ in silk_noise_shape_quantizer_10_16_sse4_1()
469 tmp1 = silk_SUB32( tmp1, n_LF_Q12 ); /* Q12 */ in silk_noise_shape_quantizer_10_16_sse4_1()
477 tmp2 = silk_SUB32( LTP_pred_Q13, n_LTP_Q13 ); /* Q13 */ in silk_noise_shape_quantizer_10_16_sse4_1()
484 … r_Q10 = silk_SUB32( x_sc_Q10[ i ], tmp1 ); /* residual error Q10 */ in silk_noise_shape_quantizer_10_16_sse4_1()
496 q1_Q10 = silk_SUB32( r_Q10, offset_Q10 ); in silk_noise_shape_quantizer_10_16_sse4_1()
DVQ_WMat_EC_sse4_1.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()
/external/libopus/silk/arm/
DLPC_inv_pred_gain_neon_intr.c82 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_neon()
175 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_neon()