Ignore:
Timestamp:
Apr 15, 2009 2:45:41 PM (15 years ago)
Author:
nanang
Message:

Ticket #774:

  • Added build config for GNU autoconf & make.
  • Fixed some G.722.1 codes for linux & mingw32 targets, e.g: types

defs, collision function name 'round'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/g7221/encode/dct4_a.c

    r2563 r2601  
    226226                sum = L_mac(sum, pair_ptr[i],dct_core_a[i][k]); 
    227227            } 
    228             buffer_swap[k] = round(sum); 
     228            buffer_swap[k] = itu_round(sum); 
    229229        } 
    230230        /* address arithmetic */ 
     
    313313                neg_msin_even = negate(msin_even); 
    314314                sum=L_mac(sum,neg_msin_even,in_high_even); 
    315                 out_low_even = round(sum); 
     315                out_low_even = itu_round(sum); 
    316316 
    317317                sum = 0L; 
    318318                sum=L_mac(sum,msin_even,in_low_even); 
    319319                sum=L_mac(sum,cos_even,in_high_even); 
    320                 out_high_even= round(sum); 
     320                out_high_even= itu_round(sum); 
    321321 
    322322                sum = 0L; 
    323323                sum=L_mac(sum,cos_odd,in_low_odd); 
    324324                sum=L_mac(sum,msin_odd,in_high_odd); 
    325                 out_low_odd= round(sum); 
     325                out_low_odd= itu_round(sum); 
    326326 
    327327                sum = 0L; 
     
    329329                neg_cos_odd = negate(cos_odd); 
    330330                sum=L_mac(sum,neg_cos_odd,in_high_odd); 
    331                 out_high_odd= round(sum); 
     331                out_high_odd= itu_round(sum); 
    332332 
    333333                *out_ptr_low++  = out_low_even; 
Note: See TracChangeset for help on using the changeset viewer.