Changeset 2616 for pjproject/trunk/third_party/g7221/decode/coef2sam.c
- Timestamp:
- Apr 18, 2009 2:29:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/g7221/decode/coef2sam.c
r2601 r2616 89 89 90 90 91 half_dct_size = shr (dct_length,1);91 half_dct_size = shr_nocheck(dct_length,1); 92 92 93 93 /* Perform a Type IV (inverse) DCT on the coefficients */ … … 99 99 for(index=0;index<dct_length;index++) 100 100 { 101 new_samples[index] = shr (new_samples[index],mag_shift);101 new_samples[index] = shr_nocheck(new_samples[index],mag_shift); 102 102 move16(); 103 103 } … … 111 111 for(index=0;index<dct_length;index++) 112 112 { 113 new_samples[index] = shl (new_samples[index],mag_shift);113 new_samples[index] = shl_nocheck(new_samples[index],mag_shift); 114 114 move16(); 115 115 } … … 148 148 sum = L_mac(sum,*win_new++, *--new_ptr); 149 149 sum = L_mac(sum,*--win_old, *old_ptr++); 150 *out_ptr++ = itu_round(L_shl (sum,2));150 *out_ptr++ = itu_round(L_shl_nocheck(sum,2)); 151 151 move16(); 152 152 … … 161 161 sum = L_mac(sum,*win_new++, *new_ptr++); 162 162 sum = L_mac(sum,negate(*--win_old), *--old_ptr); 163 *out_ptr++ = itu_round(L_shl (sum,2));163 *out_ptr++ = itu_round(L_shl_nocheck(sum,2)); 164 164 move16(); 165 165 }
Note: See TracChangeset
for help on using the changeset viewer.