From 345cd27b4a25e0c326ed1efc6f7f8372bde4ed6b Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 18 Apr 2009 14:29:28 +0000 Subject: More ticket #774: optimization for siren7/siren14 codecs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2616 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/g7221/encode/sam2coef.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'third_party/g7221/encode/sam2coef.c') diff --git a/third_party/g7221/encode/sam2coef.c b/third_party/g7221/encode/sam2coef.c index 57c8fce8..fc369e0c 100644 --- a/third_party/g7221/encode/sam2coef.c +++ b/third_party/g7221/encode/sam2coef.c @@ -84,7 +84,7 @@ Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coe Word16 temp2; Word16 temp5; - half_dct_size = shr(dct_length,1); + half_dct_size = shr_nocheck(dct_length,1); /*++++++++++++++++++++++++++++++++++++++++++++*/ /* Get the first half of the windowed samples */ @@ -208,7 +208,7 @@ Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coe move16(); } accb = L_mult(temp,9587); - acca = L_shr(accb,20); + acca = L_shr_nocheck(accb,20); temp5 = extract_l(acca); temp = norm_s(temp5); test(); @@ -230,7 +230,7 @@ Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coe acca = L_add(acca,temp); } - acca = L_shr(acca,7); + acca = L_shr_nocheck(acca,7); test(); if (temp1 < acca) @@ -243,7 +243,7 @@ Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coe { for(index=0;index