Ignore:
Timestamp:
Apr 18, 2009 2:29:28 PM (15 years ago)
Author:
bennylp
Message:

More ticket #774: optimization for siren7/siren14 codecs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/g7221/decode/coef2sam.c

    r2601 r2616  
    8989     
    9090 
    91     half_dct_size = shr(dct_length,1); 
     91    half_dct_size = shr_nocheck(dct_length,1); 
    9292     
    9393    /* Perform a Type IV (inverse) DCT on the coefficients */ 
     
    9999        for(index=0;index<dct_length;index++) 
    100100        { 
    101             new_samples[index] = shr(new_samples[index],mag_shift); 
     101            new_samples[index] = shr_nocheck(new_samples[index],mag_shift); 
    102102            move16(); 
    103103        } 
     
    111111            for(index=0;index<dct_length;index++) 
    112112            { 
    113                 new_samples[index] = shl(new_samples[index],mag_shift); 
     113                new_samples[index] = shl_nocheck(new_samples[index],mag_shift); 
    114114                move16(); 
    115115            } 
     
    148148        sum = L_mac(sum,*win_new++, *--new_ptr); 
    149149        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)); 
    151151        move16(); 
    152152 
     
    161161        sum = L_mac(sum,*win_new++, *new_ptr++); 
    162162        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)); 
    164164        move16(); 
    165165    } 
Note: See TracChangeset for help on using the changeset viewer.