Home
last modified time | relevance | path

Searched refs:silk_SAT16 (Results 1 – 25 of 35) sorted by relevance

12

/external/libopus/silk/
Dstereo_MS_to_LR.c65 x2[ n + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); in silk_stereo_MS_to_LR()
73 x2[ n + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); in silk_stereo_MS_to_LR()
82 x1[ n + 1 ] = (opus_int16)silk_SAT16( sum ); in silk_stereo_MS_to_LR()
83 x2[ n + 1 ] = (opus_int16)silk_SAT16( diff ); in silk_stereo_MS_to_LR()
Dbiquad_alt.c75 out[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT( out32_Q14 + (1<<14) - 1, 14 ) ); in silk_biquad_alt_stride1()
118 … out[ 2 * k + 0 ] = (opus_int16)silk_SAT16( silk_RSHIFT( out32_Q14[ 0 ] + (1<<14) - 1, 14 ) ); in silk_biquad_alt_stride2_c()
119 … out[ 2 * k + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT( out32_Q14[ 1 ] + (1<<14) - 1, 14 ) ); in silk_biquad_alt_stride2_c()
Dana_filt_bank_1.c71 outL[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( silk_ADD32( out_2, out_1 ), 11 ) ); 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()
Dresampler_down2_3.c75 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); in silk_resampler_down2_3()
83 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); in silk_resampler_down2_3()
Dresampler_private_up2_HQ.c79 out[ 2 * k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32_1, 10 ) ); in silk_resampler_private_up2_HQ()
100 out[ 2 * k + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32_1, 10 ) ); in silk_resampler_private_up2_HQ()
Dresampler_private_down_FIR.c83 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); in silk_resampler_private_down_FIR_INTERPOL()
106 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); in silk_resampler_private_down_FIR_INTERPOL()
135 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); in silk_resampler_private_down_FIR_INTERPOL()
Dstereo_LR_to_MS.c67 side[ n ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( diff, 1 ) ); in silk_stereo_LR_to_MS()
213 x2[ n - 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); in silk_stereo_LR_to_MS()
223 x2[ n - 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); in silk_stereo_LR_to_MS()
Dresampler_down2.c71 out[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32, 11 ) ); in silk_resampler_down2()
DLPC_fit.c73 a_QOUT[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( a_QIN[ k ], QIN - QOUT ) ); in silk_LPC_fit()
DLPC_analysis_filter.c105 out[ ix ] = (opus_int16)silk_SAT16( out32 ); in silk_LPC_analysis_filter()
Dresampler_private_IIR_FIR.c60 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q15, 15 ) ); in silk_resampler_private_IIR_FIR_INTERPOL()
DPLC.c183 exc_buf_ptr[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT( in silk_PLC_energy()
372 …frame[ i ] = (opus_int16)silk_SAT16( silk_SAT16( silk_RSHIFT_ROUND( silk_SMULWW( sLPC_Q14_ptr[ MAX… in silk_PLC_conceal()
DLP_variable_cutoff.c69 silk_assert( fac_Q16 - ( 1 << 16 ) == silk_SAT16( fac_Q16 - ( 1 << 16 ) ) ); in silk_LP_interpolate_filter_taps()
DMacroCount.h275 #undef silk_SAT16
276 static OPUS_INLINE opus_int16 silk_SAT16(opus_int64 a){ in silk_SAT16() function
544 res = (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a16), (b16) ) ); in silk_ADD_SAT16()
573 res = (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a16), (b16) ) ); in silk_SUB_SAT16()
DSigProc_FIX.h490 #define silk_SAT16(a) ((a) > silk_int16_MAX ? silk_int16_MAX : \ macro
499 #define silk_ADD_SAT16(a, b) (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a), (b…
504 #define silk_SUB_SAT16(a, b) (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a), (b…
DMacroDebug.h137 res = (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a16), (b16) ) ); in silk_ADD_SAT16_()
138 if ( res != silk_SAT16( (opus_int32)a16 + (opus_int32)b16 ) ) in silk_ADD_SAT16_()
198 res = (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a16), (b16) ) ); in silk_SUB_SAT16_()
199 if ( res != silk_SAT16( (opus_int32)a16 - (opus_int32)b16 ) ) in silk_SUB_SAT16_()
/external/libopus/silk/mips/
Dsigproc_fix_mipsr1.h31 #undef silk_SAT16
32 static inline short int silk_SAT16(int a) in silk_SAT16() function
/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c374 silk_assert( search_thres2_Q13 == silk_SAT16( search_thres2_Q13 ) ); in silk_pitch_analysis_core()
417 silk_assert( lag_log2_Q7 == silk_SAT16( lag_log2_Q7 ) ); in silk_pitch_analysis_core()
418 …silk_assert( nb_subfr * SILK_FIX_CONST( PE_SHORTLAG_BIAS, 13 ) == silk_SAT16( nb_subfr * SILK_FIX_… in silk_pitch_analysis_core()
422 …silk_assert( nb_subfr * SILK_FIX_CONST( PE_PREVLAG_BIAS, 13 ) == silk_SAT16( nb_subfr * SILK_FIX_C… in silk_pitch_analysis_core()
425 silk_assert( delta_lag_log2_sqr_Q7 == silk_SAT16( delta_lag_log2_sqr_Q7 ) ); in silk_pitch_analysis_core()
462 silk_assert( lag == silk_SAT16( lag ) ); in silk_pitch_analysis_core()
501 silk_assert( lag == silk_SAT16( lag ) ); in silk_pitch_analysis_core()
523 silk_assert( diff == silk_SAT16( diff ) ); in silk_pitch_analysis_core()
Dfind_pitch_lags_FIX.c104 A_Q12[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT( A_Q24[ i ], 12 ) ); in silk_find_pitch_lags_FIX()
122 thrhld_Q13 = silk_SAT16( thrhld_Q13 ); in silk_find_pitch_lags_FIX()
DLTP_analysis_filter_FIX.c77 LTP_res_ptr[ i ] = (opus_int16)silk_SAT16( (opus_int32)x_ptr[ i ] - LTP_est ); in silk_LTP_analysis_filter_FIX()
Dschur_FIX.c87 rc_tmp_Q15 = silk_SAT16( rc_tmp_Q15 ); in silk_schur()
Dfind_pred_coefs_FIX.c67 silk_assert( invGains_Q16[ i ] == silk_SAT16( invGains_Q16[ i ] ) ); in silk_find_pred_coefs_FIX()
/external/libopus/silk/fixed/mips/
Dprefilter_FIX_mipsr1.h154 …LTP_shp_buf[ LTP_shp_buf_idx ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sLF_MA_shp_Q12, 12 ) ); in silk_prefilt_FIX()
172 …LTP_shp_buf[ LTP_shp_buf_idx ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sLF_MA_shp_Q12, 12 ) ); in silk_prefilt_FIX()
Dnoise_shape_analysis_FIX_mipsr1.h239 …psEncCtrl->AR1_Q13[ k * MAX_SHAPE_LPC_ORDER + i ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( AR1… in silk_noise_shape_analysis_FIX()
240 …psEncCtrl->AR2_Q13[ k * MAX_SHAPE_LPC_ORDER + i ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( AR2… in silk_noise_shape_analysis_FIX()
/external/libopus/silk/float/
DSigProc_FLP.h170 out[k] = silk_SAT16( (opus_int32)float2int( in[k] ) ); in silk_float2short_array()

12