/external/libopus/silk/ |
D | NLSF_VQ_weights_laroia.c | 56 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()
|
D | control_audio_bandwidth.c | 55 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()
|
D | Inlines.h | 116 …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()
|
D | enc_API.c | 268 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()
|
D | VAD.c | 58 … 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()
|
D | resampler.c | 107 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()
|
D | stereo_decode_pred.c | 45 ix[ 0 ][ 2 ] = silk_DIV32_16( n, 5 ); in silk_stereo_decode_pred()
|
D | stereo_quant_pred.c | 66 ix[ n ][ 2 ] = silk_DIV32_16( ix[ n ][ 0 ], 3 ); in silk_stereo_quant_pred()
|
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()
|
D | NLSF_decode.c | 87 …NLSF_Q15_tmp = silk_ADD_LSHIFT32( silk_DIV32_16( silk_LSHIFT( (opus_int32)res_Q10[ i ], 14 ), pCB_… in silk_NLSF_decode()
|
D | LP_variable_cutoff.c | 117 …fac_Q16 = silk_DIV32_16( silk_LSHIFT( TRANSITION_FRAMES - psLP->transition_frame_no, 16 ), TRANSIT… in silk_LP_variable_cutoff()
|
D | stereo_MS_to_LR.c | 56 denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS * fs_kHz ); in silk_stereo_MS_to_LR()
|
D | control_codec.c | 175 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()
|
D | encode_indices.c | 134 … pitch_high_bits = silk_DIV32_16( psIndices->lagIndex, silk_RSHIFT( psEncC->fs_kHz, 1 ) ); in silk_encode_indices()
|
D | A2NLSF.c | 240 NLSF[ 0 ] = (opus_int16)silk_DIV32_16( 1 << 15, d + 1 ); in silk_A2NLSF()
|
D | CNG.c | 68 NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX, psDec->LPC_order + 1 ); in silk_CNG_Reset()
|
D | stereo_LR_to_MS.c | 202 denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS * fs_kHz ); in silk_stereo_LR_to_MS()
|
D | MacroCount.h | 260 #undef silk_DIV32_16 261 static OPUS_INLINE opus_int32 silk_DIV32_16(opus_int32 a32, opus_int32 b32){ in silk_DIV32_16() function
|
D | MacroDebug.h | 519 #undef silk_DIV32_16 520 #define silk_DIV32_16(a,b) silk_DIV32_16_((a), (b), __FILE__, __LINE__) macro
|
/external/libopus/silk/fixed/mips/ |
D | noise_shape_analysis_FIX_mipsr1.h | 142 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/ |
D | noise_shape_analysis_FIX.c | 354 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()
|
D | schur_FIX.c | 84 … rc_tmp_Q15 = -silk_DIV32_16( C[ k + 1 ][ 0 ], silk_max_32( silk_RSHIFT( C[ 0 ][ 1 ], 15 ), 1 ) ); in silk_schur()
|
D | process_gains_FIX.c | 57 InvMaxSqrVal_Q16 = silk_DIV32_16( silk_log2lin( in silk_process_gains_FIX()
|
D | pitch_analysis_core_FIX.c | 366 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/ |
D | VAD_sse4_1.c | 212 sumSquared = silk_DIV32_16( sumSquared, VAD_N_BANDS ); /* Q14 */ in silk_VAD_GetSA_Q8_sse4_1()
|