More ticket #774: optimization for siren7/siren14 codecs

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2616 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/third_party/g7221/encode/sam2coef.c b/third_party/g7221/encode/sam2coef.c
index 57c8fce..fc369e0 100644
--- a/third_party/g7221/encode/sam2coef.c
+++ b/third_party/g7221/encode/sam2coef.c
@@ -84,7 +84,7 @@
     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 @@
             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 @@
         acca = L_add(acca,temp);
     }
     
-    acca = L_shr(acca,7);
+    acca = L_shr_nocheck(acca,7);
     
     test();
     if (temp1 < acca)
@@ -243,7 +243,7 @@
     {
         for(index=0;index<dct_length;index++)
         {
-            windowed_data[index] = shl(windowed_data[index],mag_shift);
+            windowed_data[index] = shl_nocheck(windowed_data[index],mag_shift);
         }
     }
     else 
@@ -254,7 +254,7 @@
             n = negate(mag_shift);
             for(index=0;index<dct_length;index++)
             {
-                windowed_data[index] = shr(windowed_data[index],n);
+                windowed_data[index] = shr_nocheck(windowed_data[index],n);
                 move16();
             }
         }