Searched refs:invGain_Q30 (Results 1 – 5 of 5) sorted by relevance
/external/libopus/silk/ |
D | LPC_inv_pred_gain.c | 48 opus_int32 invGain_Q30, rc_Q31, rc_mult1_Q30, rc_mult2, tmp1, tmp2; in LPC_inverse_pred_gain_QA_c() local 50 invGain_Q30 = SILK_FIX_CONST( 1, 30 ); in LPC_inverse_pred_gain_QA_c() 67 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA_c() 68 silk_assert( invGain_Q30 >= 0 ); in LPC_inverse_pred_gain_QA_c() 69 silk_assert( invGain_Q30 <= ( 1 << 30 ) ); in LPC_inverse_pred_gain_QA_c() 70 if( invGain_Q30 < SILK_FIX_CONST( 1.0f / MAX_PREDICTION_POWER_GAIN, 30 ) ) { in LPC_inverse_pred_gain_QA_c() 111 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA_c() 112 silk_assert( invGain_Q30 >= 0 ); in LPC_inverse_pred_gain_QA_c() 113 silk_assert( invGain_Q30 <= ( 1 << 30 ) ); in LPC_inverse_pred_gain_QA_c() 114 if( invGain_Q30 < SILK_FIX_CONST( 1.0f / MAX_PREDICTION_POWER_GAIN, 30 ) ) { in LPC_inverse_pred_gain_QA_c() [all …]
|
D | PLC.c | 276 opus_int32 invGain_Q30, down_scale_Q30; in silk_PLC_conceal() local 278 invGain_Q30 = silk_LPC_inverse_pred_gain( psPLC->prevLPC_Q12, psDec->LPC_order, arch ); in silk_PLC_conceal() 280 …Q30 = silk_min_32( silk_RSHIFT( (opus_int32)1 << 30, LOG2_INV_LPC_GAIN_HIGH_THRES ), invGain_Q30 ); in silk_PLC_conceal()
|
/external/libopus/silk/arm/ |
D | LPC_inv_pred_gain_neon_intr.c | 61 opus_int32 invGain_Q30, rc_Q31, rc_mult1_Q30, rc_mult2, tmp1, tmp2; in LPC_inverse_pred_gain_QA_neon() local 68 invGain_Q30 = SILK_FIX_CONST( 1, 30 ); in LPC_inverse_pred_gain_QA_neon() 88 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA_neon() 89 silk_assert( invGain_Q30 >= 0 ); in LPC_inverse_pred_gain_QA_neon() 90 silk_assert( invGain_Q30 <= ( 1 << 30 ) ); in LPC_inverse_pred_gain_QA_neon() 91 if( invGain_Q30 < SILK_FIX_CONST( 1.0f / MAX_PREDICTION_POWER_GAIN, 30 ) ) { in LPC_inverse_pred_gain_QA_neon() 179 invGain_Q30 = silk_LSHIFT( silk_SMMUL( invGain_Q30, rc_mult1_Q30 ), 2 ); in LPC_inverse_pred_gain_QA_neon() 180 silk_assert( invGain_Q30 >= 0 ); in LPC_inverse_pred_gain_QA_neon() 181 silk_assert( invGain_Q30 <= ( 1 << 30 ) ); in LPC_inverse_pred_gain_QA_neon() 182 if( invGain_Q30 < SILK_FIX_CONST( 1.0f / MAX_PREDICTION_POWER_GAIN, 30 ) ) { in LPC_inverse_pred_gain_QA_neon() [all …]
|
/external/libopus/silk/fixed/ |
D | burg_modified_FIX.c | 58 opus_int32 C0, num, nrg, rc_Q31, invGain_Q30, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2; in silk_burg_modified_c() local 114 invGain_Q30 = (opus_int32)1 << 30; in silk_burg_modified_c() 201 tmp1 = silk_LSHIFT( silk_SMMUL( invGain_Q30, tmp1 ), 2 ); in silk_burg_modified_c() 204 …tmp2 = ( (opus_int32)1 << 30 ) - silk_DIV32_varQ( minInvGain_Q30, invGain_Q30, 30 ); /*… in silk_burg_modified_c() 215 invGain_Q30 = minInvGain_Q30; in silk_burg_modified_c() 218 invGain_Q30 = tmp1; in silk_burg_modified_c() 265 *res_nrg = silk_LSHIFT( silk_SMMUL( invGain_Q30, C0 ), 2 ); in silk_burg_modified_c()
|
/external/libopus/silk/fixed/x86/ |
D | burg_modified_FIX_sse4_1.c | 63 opus_int32 C0, num, nrg, rc_Q31, invGain_Q30, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2; in silk_burg_modified_sse4_1() local 126 invGain_Q30 = (opus_int32)1 << 30; in silk_burg_modified_sse4_1() 298 tmp1 = silk_LSHIFT( silk_SMMUL( invGain_Q30, tmp1 ), 2 ); in silk_burg_modified_sse4_1() 301 …tmp2 = ( (opus_int32)1 << 30 ) - silk_DIV32_varQ( minInvGain_Q30, invGain_Q30, 30 ); /*… in silk_burg_modified_sse4_1() 312 invGain_Q30 = minInvGain_Q30; in silk_burg_modified_sse4_1() 315 invGain_Q30 = tmp1; in silk_burg_modified_sse4_1() 362 *res_nrg = silk_LSHIFT( silk_SMMUL( invGain_Q30, C0 ), 2 ); in silk_burg_modified_sse4_1()
|