Home
last modified time | relevance | path

Searched refs:silk_DIV32_16 (Results 1 – 25 of 29) sorted by relevance

12

/external/libopus/silk/
DNLSF_VQ_weights_laroia.c56 tmp1_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp1_int ); in silk_NLSF_VQ_weights_laroia()
58 tmp2_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp2_int ); in silk_NLSF_VQ_weights_laroia()
65 tmp1_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp1_int ); in silk_NLSF_VQ_weights_laroia()
70 tmp2_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp2_int ); in silk_NLSF_VQ_weights_laroia()
77 tmp1_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp1_int ); in silk_NLSF_VQ_weights_laroia()
Dcontrol_audio_bandwidth.c55 fs_kHz = silk_DIV32_16( fs_Hz, 1000 ); in silk_control_audio_bandwidth()
61 fs_kHz = silk_DIV32_16( fs_Hz, 1000 ); in silk_control_audio_bandwidth()
DInlines.h116 …b32_inv = silk_DIV32_16( silk_int32_MAX >> 2, silk_RSHIFT(b32_nrm, 16) ); /* Q: 29 + 16 - b_head… in silk_DIV32_varQ()
159 …b32_inv = silk_DIV32_16( silk_int32_MAX >> 2, silk_RSHIFT(b32_nrm, 16) ); /* Q: 29 + 16 - b_head… in silk_INVERSE32_varQ()
Denc_API.c268 silk_DIV32_16( nSamplesToBufferMax * in silk_Encode()
275 …nSamplesFromInput = silk_DIV32_16( nSamplesToBuffer * psEnc->state_Fxx[ 0 ].sCmn.API_fs_Hz, psEnc-… in silk_Encode()
396 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
402 nBits = silk_DIV32_16( nBits, psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket ); in silk_Encode()
410 …TargetRate_bps -= silk_DIV32_16( silk_MUL( psEnc->nBitsExceeded, 1000 ), BITRESERVOIR_DECAY_TIME_M… in silk_Encode()
414 … TargetRate_bps -= silk_DIV32_16( silk_MUL( bitsBalance, 1000 ), BITRESERVOIR_DECAY_TIME_MS ); in silk_Encode()
530 …psEnc->nBitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms )… in silk_Encode()
DVAD.c58 … psSilk_VAD->NoiseLevelBias[ b ] = silk_max_32( silk_DIV32_16( VAD_NOISE_LEVELS_BIAS, b + 1 ), 1 ); in silk_VAD_Init()
231 sumSquared = silk_DIV32_16( sumSquared, VAD_N_BANDS ); /* Q14 */ in silk_VAD_GetSA_Q8_c()
314 min_coef = silk_DIV32_16( silk_int16_MAX, silk_RSHIFT( psSilk_VAD->counter, 4 ) + 1 ); in silk_VAD_GetNoiseLevels()
Dresampler.c107 S->Fs_in_kHz = silk_DIV32_16( Fs_Hz_in, 1000 ); in silk_resampler_init()
108 S->Fs_out_kHz = silk_DIV32_16( Fs_Hz_out, 1000 ); in silk_resampler_init()
Dstereo_decode_pred.c45 ix[ 0 ][ 2 ] = silk_DIV32_16( n, 5 ); in silk_stereo_decode_pred()
Dstereo_quant_pred.c66 ix[ n ][ 2 ] = silk_DIV32_16( ix[ n ][ 0 ], 3 ); in silk_stereo_quant_pred()
DHP_variable_cutoff.c50 …pitch_freq_Hz_Q16 = silk_DIV32_16( silk_LSHIFT( silk_MUL( psEncC1->fs_kHz, 1000 ), 16 ), psEncC1->… in silk_HP_variable_cutoff()
DNLSF_decode.c87 …NLSF_Q15_tmp = silk_ADD_LSHIFT32( silk_DIV32_16( silk_LSHIFT( (opus_int32)res_Q10[ i ], 14 ), pCB_… in silk_NLSF_decode()
DLP_variable_cutoff.c117 …fac_Q16 = silk_DIV32_16( silk_LSHIFT( TRANSITION_FRAMES - psLP->transition_frame_no, 16 ), TRANSIT… in silk_LP_variable_cutoff()
Dstereo_MS_to_LR.c56 denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS * fs_kHz ); in silk_stereo_MS_to_LR()
Dcontrol_codec.c175 api_buf_samples = buf_length_ms * silk_DIV32_16( psEnc->sCmn.API_fs_Hz, 1000 ); in silk_setup_resamplers()
226 psEnc->sCmn.nFramesPerPacket = silk_DIV32_16( PacketSize_ms, MAX_FRAME_LENGTH_MS ); in silk_setup_fs()
Dencode_indices.c134 … pitch_high_bits = silk_DIV32_16( psIndices->lagIndex, silk_RSHIFT( psEncC->fs_kHz, 1 ) ); in silk_encode_indices()
DA2NLSF.c240 NLSF[ 0 ] = (opus_int16)silk_DIV32_16( 1 << 15, d + 1 ); in silk_A2NLSF()
DCNG.c68 NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX, psDec->LPC_order + 1 ); in silk_CNG_Reset()
Dstereo_LR_to_MS.c202 denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS * fs_kHz ); in silk_stereo_LR_to_MS()
DMacroCount.h260 #undef silk_DIV32_16
261 static OPUS_INLINE opus_int32 silk_DIV32_16(opus_int32 a32, opus_int32 b32){ in silk_DIV32_16() function
DMacroDebug.h519 #undef silk_DIV32_16
520 #define silk_DIV32_16(a,b) silk_DIV32_16_((a), (b), __FILE__, __LINE__) macro
/external/libopus/silk/fixed/mips/
Dnoise_shape_analysis_FIX_mipsr1.h142 BWExp1_Q16 = silk_DIV32_16( silk_LSHIFT( BWExp1_Q16, 14 ), silk_RSHIFT( BWExp2_Q16, 2 ) ); in silk_noise_shape_analysis_FIX()
273 opus_int fs_kHz_inv = silk_DIV32_16( SILK_FIX_CONST( 0.2, 14 ), psEnc->sCmn.fs_kHz ); in silk_noise_shape_analysis_FIX()
275 b_Q14 = fs_kHz_inv + silk_DIV32_16( SILK_FIX_CONST( 3.0, 14 ), psEncCtrl->pitchL[ k ] ); in silk_noise_shape_analysis_FIX()
285 b_Q14 = silk_DIV32_16( 21299, psEnc->sCmn.fs_kHz ); /* 1.3_Q0 = 21299_Q14*/ in silk_noise_shape_analysis_FIX()
/external/libopus/silk/fixed/
Dnoise_shape_analysis_FIX.c354 opus_int fs_kHz_inv = silk_DIV32_16( SILK_FIX_CONST( 0.2, 14 ), psEnc->sCmn.fs_kHz ); in silk_noise_shape_analysis_FIX()
356 b_Q14 = fs_kHz_inv + silk_DIV32_16( SILK_FIX_CONST( 3.0, 14 ), psEncCtrl->pitchL[ k ] ); in silk_noise_shape_analysis_FIX()
366 b_Q14 = silk_DIV32_16( 21299, psEnc->sCmn.fs_kHz ); /* 1.3_Q0 = 21299_Q14*/ in silk_noise_shape_analysis_FIX()
Dschur_FIX.c84 … rc_tmp_Q15 = -silk_DIV32_16( C[ k + 1 ][ 0 ], silk_max_32( silk_RSHIFT( C[ 0 ][ 1 ], 15 ), 1 ) ); in silk_schur()
Dprocess_gains_FIX.c57 InvMaxSqrVal_Q16 = silk_DIV32_16( silk_log2lin( in silk_process_gains_FIX()
Dpitch_analysis_core_FIX.c366 prevLag = silk_DIV32_16( silk_LSHIFT( prevLag, 1 ), 3 ); in silk_pitch_analysis_core()
454 *LTPCorr_Q15 = (opus_int)silk_LSHIFT( silk_DIV32_16( CCmax, nb_subfr ), 2 ); in silk_pitch_analysis_core()
502 contour_bias_Q15 = silk_DIV32_16( SILK_FIX_CONST( PE_FLATCONTOUR_BIAS, 15 ), lag ); in silk_pitch_analysis_core()
/external/libopus/silk/x86/
DVAD_sse4_1.c212 sumSquared = silk_DIV32_16( sumSquared, VAD_N_BANDS ); /* Q14 */ in silk_VAD_GetSA_Q8_sse4_1()

12