Home
last modified time | relevance | path

Searched refs:rc_Q31 (Results 1 – 5 of 5) sorted by relevance

/external/libopus/silk/fixed/
Dburg_modified_FIX.c58 opus_int32 C0, num, nrg, rc_Q31, invGain_Q30, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2; in silk_burg_modified_c() local
194 rc_Q31 = silk_DIV32_varQ( num, nrg, 31 ); in silk_burg_modified_c()
196 rc_Q31 = ( num > 0 ) ? silk_int32_MAX : silk_int32_MIN; in silk_burg_modified_c()
200 tmp1 = ( (opus_int32)1 << 30 ) - silk_SMMUL( rc_Q31, rc_Q31 ); in silk_burg_modified_c()
205rc_Q31 = silk_SQRT_APPROX( tmp2 ); /* Q15 */ in silk_burg_modified_c()
206 if( rc_Q31 > 0 ) { in silk_burg_modified_c()
208rc_Q31 = silk_RSHIFT32( rc_Q31 + silk_DIV32( tmp2, rc_Q31 ), 1 ); /* Q15 */ in silk_burg_modified_c()
209rc_Q31 = silk_LSHIFT32( rc_Q31, 16 ); /* Q31 */ in silk_burg_modified_c()
212 rc_Q31 = -rc_Q31; in silk_burg_modified_c()
225 … Af_QA[ k ] = silk_ADD_LSHIFT32( tmp1, silk_SMMUL( tmp2, rc_Q31 ), 1 ); /* QA */ in silk_burg_modified_c()
[all …]
/external/libopus/silk/
DLPC_inv_pred_gain.c48 opus_int32 invGain_Q30, rc_Q31, rc_mult1_Q30, rc_mult2, tmp1, tmp2; in LPC_inverse_pred_gain_QA_c() local
58 rc_Q31 = -silk_LSHIFT( A_QA[ k ], 31 - QA ); in LPC_inverse_pred_gain_QA_c()
61 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_c()
84 MUL32_FRAC_Q( tmp2, rc_Q31, 31 ) ), rc_mult2 ), mult2Q); in LPC_inverse_pred_gain_QA_c()
90 MUL32_FRAC_Q( tmp1, rc_Q31, 31 ) ), rc_mult2), mult2Q); in LPC_inverse_pred_gain_QA_c()
104 rc_Q31 = -silk_LSHIFT( A_QA[ 0 ], 31 - QA ); in LPC_inverse_pred_gain_QA_c()
107 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_c()
/external/libopus/silk/fixed/x86/
Dburg_modified_FIX_sse4_1.c63 opus_int32 C0, num, nrg, rc_Q31, invGain_Q30, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2; in silk_burg_modified_sse4_1() local
291 rc_Q31 = silk_DIV32_varQ( num, nrg, 31 ); in silk_burg_modified_sse4_1()
293 rc_Q31 = ( num > 0 ) ? silk_int32_MAX : silk_int32_MIN; in silk_burg_modified_sse4_1()
297 tmp1 = ( (opus_int32)1 << 30 ) - silk_SMMUL( rc_Q31, rc_Q31 ); in silk_burg_modified_sse4_1()
302rc_Q31 = silk_SQRT_APPROX( tmp2 ); /* Q15 */ in silk_burg_modified_sse4_1()
303 if( rc_Q31 > 0 ) { in silk_burg_modified_sse4_1()
305rc_Q31 = silk_RSHIFT32( rc_Q31 + silk_DIV32( tmp2, rc_Q31 ), 1 ); /* Q15 */ in silk_burg_modified_sse4_1()
306rc_Q31 = silk_LSHIFT32( rc_Q31, 16 ); /* Q31 */ in silk_burg_modified_sse4_1()
309 rc_Q31 = -rc_Q31; in silk_burg_modified_sse4_1()
322 … Af_QA[ k ] = silk_ADD_LSHIFT32( tmp1, silk_SMMUL( tmp2, rc_Q31 ), 1 ); /* QA */ in silk_burg_modified_sse4_1()
[all …]
/external/libopus/silk/arm/
DLPC_inv_pred_gain_neon_intr.c61 opus_int32 invGain_Q30, rc_Q31, rc_mult1_Q30, rc_mult2, tmp1, tmp2; in LPC_inverse_pred_gain_QA_neon() local
79 rc_Q31 = -silk_LSHIFT( A_QA[ k ], 31 - QA ); in LPC_inverse_pred_gain_QA_neon()
82 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_neon()
100 rc_Q31_s32x2 = vdup_n_s32( rc_Q31 ); in LPC_inverse_pred_gain_QA_neon()
142 MUL32_FRAC_Q( tmp2, rc_Q31, 31 ) ), rc_mult2 ), mult2Q); in LPC_inverse_pred_gain_QA_neon()
148 MUL32_FRAC_Q( tmp1, rc_Q31, 31 ) ), rc_mult2), mult2Q); in LPC_inverse_pred_gain_QA_neon()
172 rc_Q31 = -silk_LSHIFT( A_QA[ 0 ], 31 - QA ); in LPC_inverse_pred_gain_QA_neon()
175 rc_mult1_Q30 = silk_SUB32( SILK_FIX_CONST( 1, 30 ), silk_SMMUL( rc_Q31, rc_Q31 ) ); in LPC_inverse_pred_gain_QA_neon()
/external/libopus/doc/
Dopus_update.patch59 - tmp_QA = Aold_QA[ n ] - MUL32_FRAC_Q( Aold_QA[ k - n - 1 ], rc_Q31, 31 );
62 + tmp_QA = silk_SUB_SAT32( Aold_QA[ n ], MUL32_FRAC_Q( Aold_QA[ k - n - 1 ], rc_Q31, 31 …