/external/libopus/silk/ |
D | stereo_MS_to_LR.c | 65 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()
|
D | biquad_alt.c | 75 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()
|
D | ana_filt_bank_1.c | 71 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()
|
D | resampler_down2_3.c | 75 *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()
|
D | resampler_private_up2_HQ.c | 79 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()
|
D | resampler_private_down_FIR.c | 83 *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()
|
D | stereo_LR_to_MS.c | 67 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()
|
D | resampler_down2.c | 71 out[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32, 11 ) ); in silk_resampler_down2()
|
D | LPC_fit.c | 73 a_QOUT[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( a_QIN[ k ], QIN - QOUT ) ); in silk_LPC_fit()
|
D | LPC_analysis_filter.c | 105 out[ ix ] = (opus_int16)silk_SAT16( out32 ); in silk_LPC_analysis_filter()
|
D | resampler_private_IIR_FIR.c | 60 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q15, 15 ) ); in silk_resampler_private_IIR_FIR_INTERPOL()
|
D | PLC.c | 183 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()
|
D | LP_variable_cutoff.c | 69 silk_assert( fac_Q16 - ( 1 << 16 ) == silk_SAT16( fac_Q16 - ( 1 << 16 ) ) ); in silk_LP_interpolate_filter_taps()
|
D | MacroCount.h | 275 #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()
|
D | SigProc_FIX.h | 490 #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…
|
D | MacroDebug.h | 137 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/ |
D | sigproc_fix_mipsr1.h | 31 #undef silk_SAT16 32 static inline short int silk_SAT16(int a) in silk_SAT16() function
|
/external/libopus/silk/fixed/ |
D | pitch_analysis_core_FIX.c | 374 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()
|
D | find_pitch_lags_FIX.c | 104 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()
|
D | LTP_analysis_filter_FIX.c | 77 LTP_res_ptr[ i ] = (opus_int16)silk_SAT16( (opus_int32)x_ptr[ i ] - LTP_est ); in silk_LTP_analysis_filter_FIX()
|
D | schur_FIX.c | 87 rc_tmp_Q15 = silk_SAT16( rc_tmp_Q15 ); in silk_schur()
|
D | find_pred_coefs_FIX.c | 67 silk_assert( invGains_Q16[ i ] == silk_SAT16( invGains_Q16[ i ] ) ); in silk_find_pred_coefs_FIX()
|
/external/libopus/silk/fixed/mips/ |
D | prefilter_FIX_mipsr1.h | 154 …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()
|
D | noise_shape_analysis_FIX_mipsr1.h | 239 …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/ |
D | SigProc_FLP.h | 170 out[k] = silk_SAT16( (opus_int32)float2int( in[k] ) ); in silk_float2short_array()
|