/external/libopus/silk/ |
D | resampler.c | 117 …if( Fs_Hz_out == silk_MUL( Fs_Hz_in, 2 ) ) { /* Fs_out : Fs_in = 2 : 1 … in silk_resampler_init() 128 …if( silk_MUL( Fs_Hz_out, 4 ) == silk_MUL( Fs_Hz_in, 3 ) ) { /* Fs_out : Fs_in = 3 : 4 … in silk_resampler_init() 132 …} else if( silk_MUL( Fs_Hz_out, 3 ) == silk_MUL( Fs_Hz_in, 2 ) ) { /* Fs_out : Fs_in = 2 : 3 … in silk_resampler_init() 136 …} else if( silk_MUL( Fs_Hz_out, 2 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 2 … in silk_resampler_init() 140 …} else if( silk_MUL( Fs_Hz_out, 3 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 3 … in silk_resampler_init() 144 …} else if( silk_MUL( Fs_Hz_out, 4 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 4 … in silk_resampler_init() 148 …} else if( silk_MUL( Fs_Hz_out, 6 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 6 … in silk_resampler_init()
|
D | bwexpander.c | 47 … ar[ i ] = (opus_int16)silk_RSHIFT_ROUND( silk_MUL( chirp_Q16, ar[ i ] ), 16 ); in silk_bwexpander() 48 chirp_Q16 += silk_RSHIFT_ROUND( silk_MUL( chirp_Q16, chirp_minus_one_Q16 ), 16 ); in silk_bwexpander() 50 ar[ d - 1 ] = (opus_int16)silk_RSHIFT_ROUND( silk_MUL( chirp_Q16, ar[ d - 1 ] ), 16 ); in silk_bwexpander()
|
D | HP_variable_cutoff.c | 50 …pitch_freq_Hz_Q16 = silk_DIV32_16( silk_LSHIFT( silk_MUL( psEncC1->fs_kHz, 1000 ), 16 ), psEncC1->… in silk_HP_variable_cutoff() 62 delta_freq_Q7 = silk_MUL( delta_freq_Q7, 3 ); in silk_HP_variable_cutoff()
|
D | NLSF2A.c | 110 …cos_LSF_QA[ordering[k]] = silk_RSHIFT_ROUND( silk_LSHIFT( cos_val, 8 ) + silk_MUL( delta, f_frac )… in silk_NLSF2A() 146 silk_RSHIFT32( silk_MUL( maxabs, idx + 1), 2 ) ); in silk_NLSF2A()
|
D | lin2log.c | 44 …return silk_LSHIFT( 31 - lz, 7 ) + silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 ); in silk_lin2log()
|
D | bwexpander_32.c | 46 chirp_Q16 += silk_RSHIFT_ROUND( silk_MUL( chirp_Q16, chirp_minus_one_Q16 ), 16 ); in silk_bwexpander_32()
|
D | log2lin.c | 52 …out = silk_ADD_RSHIFT32( out, silk_MUL( out, silk_SMLAWB( frac_Q7, silk_SMULBB( frac_Q7, 128 - fra… in silk_log2lin()
|
D | control_SNR.c | 69 …psEncC->SNR_dB_Q7 = silk_LSHIFT( silk_SNR_table_Q1[ k - 1 ], 6 ) + silk_MUL( frac_Q6, silk_SNR_tab… in silk_control_SNR()
|
D | decode_parameters.c | 67 …pNLSF0_Q15[ i ] = psDec->prevNLSF_Q15[ i ] + silk_RSHIFT( silk_MUL( psDec->indices.NLSFInterpCoef_… in silk_decode_parameters()
|
D | enc_API.c | 384 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode() 398 …TargetRate_bps -= silk_DIV32_16( silk_MUL( psEnc->nBitsExceeded, 1000 ), BITRESERVOIR_DECAY_TIME_M… in silk_Encode() 514 …psEnc->nBitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms )… in silk_Encode()
|
D | SigProc_FIX.h | 394 #define silk_MUL(a32, b32) ((a32) * (b32)) macro 397 #define silk_MUL_uint(a32, b32) silk_MUL(a32, b32)
|
D | VAD.c | 61 psSilk_VAD->NL[ b ] = silk_MUL( 100, psSilk_VAD->NoiseLevelBias[ b ] ); in silk_VAD_Init()
|
D | stereo_LR_to_MS.c | 115 frac_3_Q16 = silk_MUL( 3, frac_Q16 ); in silk_stereo_LR_to_MS()
|
D | MacroDebug.h | 255 #undef silk_MUL 256 #define silk_MUL(a,b) silk_MUL_((a), (b), __FILE__, __LINE__) macro 455 tmp2 = silk_MUL( a32, tmp1 ); in silk_SMULWW_()
|
D | MacroCount.h | 53 #undef silk_MUL 54 static OPUS_INLINE opus_int32 silk_MUL(opus_int32 a32, opus_int32 b32){ in silk_MUL() function
|
D | control_codec.c | 412 …LBRR_rate_thres_bps = silk_SMULWB( silk_MUL( LBRR_rate_thres_bps, 125 - silk_min( psEncC->PacketLo… in silk_setup_LBRR()
|
/external/libopus/silk/fixed/ |
D | prefilter_FIX.c | 142 … x_filt_Q12[ 0 ] = silk_MLA( silk_MUL( st_res_Q2[ 0 ], B_Q10[ 0 ] ), P->sHarmHP_Q2, B_Q10[ 1 ] ); in silk_prefilter_FIX() 144 …x_filt_Q12[ j ] = silk_MLA( silk_MUL( st_res_Q2[ j ], B_Q10[ 0 ] ), st_res_Q2[ j - 1 ], B_Q10[ 1 ]… in silk_prefilter_FIX()
|
D | find_LTP_FIX.c | 159 …silk_assert( *LTPredCodGain_Q7 == ( opus_int )silk_SAT16( silk_MUL( 3, silk_lin2log( div_Q16 ) - (… in silk_find_LTP_FIX() 215 g_Q26 = silk_MUL( in silk_find_LTP_FIX()
|
D | residual_energy16_FIX.c | 65 …Qxtra = silk_min_int( Qxtra, silk_CLZ32( silk_MUL( D, silk_RSHIFT( silk_SMULWB( w_max, c_max ), 4 … in silk_residual_energy16_covar_FIX()
|
D | noise_shape_analysis_FIX.c | 117 silk_MUL( maxabs_Q24, ind + 1 ), 22 ); in limit_warped_coefs() 376 …strength_Q16 = silk_MUL( SILK_FIX_CONST( LOW_FREQ_SHAPING, 4 ), silk_SMLAWB( SILK_FIX_CONST( 1.0, … in silk_noise_shape_analysis_FIX() 378 strength_Q16 = silk_RSHIFT( silk_MUL( strength_Q16, psEnc->sCmn.speech_activity_Q8 ), 8 ); in silk_noise_shape_analysis_FIX()
|
D | pitch_analysis_core_FIX.c | 434 …prev_lag_bias_Q13 = silk_DIV32( silk_MUL( prev_lag_bias_Q13, delta_lag_log2_sqr_Q7 ), delta_lag_lo… in silk_pitch_analysis_core() 546 diff = silk_int16_MAX - silk_MUL( contour_bias_Q15, j ); /* Q15 */ in silk_pitch_analysis_core()
|
D | encode_frame_FIX.c | 277 …gainMult_Q8 = gainMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits -… in silk_encode_frame_FIX()
|
/external/libopus/src/ |
D | opus_encoder.c | 329 r_Q28 = SILK_FIX_CONST( 1.0, 28 ) - silk_MUL( SILK_FIX_CONST( 0.92, 9 ), Fc_Q19 ); in hp_cutoff()
|