Lines Matching refs:psEncC
54 silk_encoder_state *psEncC, /* I/O */
59 silk_encoder_state *psEncC, /* I/O */
314 silk_encoder_state *psEncC, /* I/O */ in silk_setup_complexity() argument
323 psEncC->pitchEstimationComplexity = SILK_PE_MIN_COMPLEX; in silk_setup_complexity()
324 psEncC->pitchEstimationThreshold_Q16 = SILK_FIX_CONST( 0.8, 16 ); in silk_setup_complexity()
325 psEncC->pitchEstimationLPCOrder = 6; in silk_setup_complexity()
326 psEncC->shapingLPCOrder = 8; in silk_setup_complexity()
327 psEncC->la_shape = 3 * psEncC->fs_kHz; in silk_setup_complexity()
328 psEncC->nStatesDelayedDecision = 1; in silk_setup_complexity()
329 psEncC->useInterpolatedNLSFs = 0; in silk_setup_complexity()
330 psEncC->LTPQuantLowComplexity = 1; in silk_setup_complexity()
331 psEncC->NLSF_MSVQ_Survivors = 2; in silk_setup_complexity()
332 psEncC->warping_Q16 = 0; in silk_setup_complexity()
334 psEncC->pitchEstimationComplexity = SILK_PE_MID_COMPLEX; in silk_setup_complexity()
335 psEncC->pitchEstimationThreshold_Q16 = SILK_FIX_CONST( 0.76, 16 ); in silk_setup_complexity()
336 psEncC->pitchEstimationLPCOrder = 8; in silk_setup_complexity()
337 psEncC->shapingLPCOrder = 10; in silk_setup_complexity()
338 psEncC->la_shape = 5 * psEncC->fs_kHz; in silk_setup_complexity()
339 psEncC->nStatesDelayedDecision = 1; in silk_setup_complexity()
340 psEncC->useInterpolatedNLSFs = 0; in silk_setup_complexity()
341 psEncC->LTPQuantLowComplexity = 0; in silk_setup_complexity()
342 psEncC->NLSF_MSVQ_Survivors = 4; in silk_setup_complexity()
343 psEncC->warping_Q16 = 0; in silk_setup_complexity()
345 psEncC->pitchEstimationComplexity = SILK_PE_MID_COMPLEX; in silk_setup_complexity()
346 psEncC->pitchEstimationThreshold_Q16 = SILK_FIX_CONST( 0.74, 16 ); in silk_setup_complexity()
347 psEncC->pitchEstimationLPCOrder = 10; in silk_setup_complexity()
348 psEncC->shapingLPCOrder = 12; in silk_setup_complexity()
349 psEncC->la_shape = 5 * psEncC->fs_kHz; in silk_setup_complexity()
350 psEncC->nStatesDelayedDecision = 2; in silk_setup_complexity()
351 psEncC->useInterpolatedNLSFs = 1; in silk_setup_complexity()
352 psEncC->LTPQuantLowComplexity = 0; in silk_setup_complexity()
353 psEncC->NLSF_MSVQ_Survivors = 8; in silk_setup_complexity()
354 …psEncC->warping_Q16 = psEncC->fs_kHz * SILK_FIX_CONST( WARPING_MULTIPLIER, 16 … in silk_setup_complexity()
356 psEncC->pitchEstimationComplexity = SILK_PE_MID_COMPLEX; in silk_setup_complexity()
357 psEncC->pitchEstimationThreshold_Q16 = SILK_FIX_CONST( 0.72, 16 ); in silk_setup_complexity()
358 psEncC->pitchEstimationLPCOrder = 12; in silk_setup_complexity()
359 psEncC->shapingLPCOrder = 14; in silk_setup_complexity()
360 psEncC->la_shape = 5 * psEncC->fs_kHz; in silk_setup_complexity()
361 psEncC->nStatesDelayedDecision = 3; in silk_setup_complexity()
362 psEncC->useInterpolatedNLSFs = 1; in silk_setup_complexity()
363 psEncC->LTPQuantLowComplexity = 0; in silk_setup_complexity()
364 psEncC->NLSF_MSVQ_Survivors = 16; in silk_setup_complexity()
365 …psEncC->warping_Q16 = psEncC->fs_kHz * SILK_FIX_CONST( WARPING_MULTIPLIER, 16 … in silk_setup_complexity()
367 psEncC->pitchEstimationComplexity = SILK_PE_MAX_COMPLEX; in silk_setup_complexity()
368 psEncC->pitchEstimationThreshold_Q16 = SILK_FIX_CONST( 0.7, 16 ); in silk_setup_complexity()
369 psEncC->pitchEstimationLPCOrder = 16; in silk_setup_complexity()
370 psEncC->shapingLPCOrder = 16; in silk_setup_complexity()
371 psEncC->la_shape = 5 * psEncC->fs_kHz; in silk_setup_complexity()
372 psEncC->nStatesDelayedDecision = MAX_DEL_DEC_STATES; in silk_setup_complexity()
373 psEncC->useInterpolatedNLSFs = 1; in silk_setup_complexity()
374 psEncC->LTPQuantLowComplexity = 0; in silk_setup_complexity()
375 psEncC->NLSF_MSVQ_Survivors = 32; in silk_setup_complexity()
376 …psEncC->warping_Q16 = psEncC->fs_kHz * SILK_FIX_CONST( WARPING_MULTIPLIER, 16 … in silk_setup_complexity()
380 …psEncC->pitchEstimationLPCOrder = silk_min_int( psEncC->pitchEstimationLPCOrder, psEncC->predictLP… in silk_setup_complexity()
381 psEncC->shapeWinLength = SUB_FRAME_LENGTH_MS * psEncC->fs_kHz + 2 * psEncC->la_shape; in silk_setup_complexity()
382 psEncC->Complexity = Complexity; in silk_setup_complexity()
384 silk_assert( psEncC->pitchEstimationLPCOrder <= MAX_FIND_PITCH_LPC_ORDER ); in silk_setup_complexity()
385 silk_assert( psEncC->shapingLPCOrder <= MAX_SHAPE_LPC_ORDER ); in silk_setup_complexity()
386 silk_assert( psEncC->nStatesDelayedDecision <= MAX_DEL_DEC_STATES ); in silk_setup_complexity()
387 silk_assert( psEncC->warping_Q16 <= 32767 ); in silk_setup_complexity()
388 silk_assert( psEncC->la_shape <= LA_SHAPE_MAX ); in silk_setup_complexity()
389 silk_assert( psEncC->shapeWinLength <= SHAPE_LPC_WIN_MAX ); in silk_setup_complexity()
390 silk_assert( psEncC->NLSF_MSVQ_Survivors <= NLSF_VQ_MAX_SURVIVORS ); in silk_setup_complexity()
396 silk_encoder_state *psEncC, /* I/O */ in silk_setup_LBRR() argument
403 psEncC->LBRR_enabled = 0; in silk_setup_LBRR()
404 if( psEncC->useInBandFEC && psEncC->PacketLoss_perc > 0 ) { in silk_setup_LBRR()
405 if( psEncC->fs_kHz == 8 ) { in silk_setup_LBRR()
407 } else if( psEncC->fs_kHz == 12 ) { in silk_setup_LBRR()
412 …LBRR_rate_thres_bps = silk_SMULWB( silk_MUL( LBRR_rate_thres_bps, 125 - silk_min( psEncC->PacketLo… in silk_setup_LBRR()
416 psEncC->LBRR_enabled = 1; in silk_setup_LBRR()
417 …psEncC->LBRR_GainIncreases = silk_max_int( 7 - silk_SMULWB( (opus_int32)psEncC->PacketLoss_perc, S… in silk_setup_LBRR()