Changeset 2601 for pjproject/trunk/third_party/g7221/encode/dct4_a.c
- Timestamp:
- Apr 15, 2009 2:45:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/g7221/encode/dct4_a.c
r2563 r2601 226 226 sum = L_mac(sum, pair_ptr[i],dct_core_a[i][k]); 227 227 } 228 buffer_swap[k] = round(sum);228 buffer_swap[k] = itu_round(sum); 229 229 } 230 230 /* address arithmetic */ … … 313 313 neg_msin_even = negate(msin_even); 314 314 sum=L_mac(sum,neg_msin_even,in_high_even); 315 out_low_even = round(sum);315 out_low_even = itu_round(sum); 316 316 317 317 sum = 0L; 318 318 sum=L_mac(sum,msin_even,in_low_even); 319 319 sum=L_mac(sum,cos_even,in_high_even); 320 out_high_even= round(sum);320 out_high_even= itu_round(sum); 321 321 322 322 sum = 0L; 323 323 sum=L_mac(sum,cos_odd,in_low_odd); 324 324 sum=L_mac(sum,msin_odd,in_high_odd); 325 out_low_odd= round(sum);325 out_low_odd= itu_round(sum); 326 326 327 327 sum = 0L; … … 329 329 neg_cos_odd = negate(cos_odd); 330 330 sum=L_mac(sum,neg_cos_odd,in_high_odd); 331 out_high_odd= round(sum);331 out_high_odd= itu_round(sum); 332 332 333 333 *out_ptr_low++ = out_low_even;
Note: See TracChangeset
for help on using the changeset viewer.