Ignore:
Timestamp:
Apr 20, 2009 2:19:11 PM (11 years ago)
Author:
bennylp
Message:

More ticket #774: added option to shift PCM input to encoder right by some value (default is 1) to make it compatible with some other app

File:
1 edited

Legend:

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

    r2616 r2620  
    6666***************************************************************************/ 
    6767 
    68 Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coefs,Word16 dct_length) 
     68Word16 samples_to_rmlt_coefs(const Word16 *new_samples,Word16 *old_samples,Word16 *coefs,Word16 dct_length) 
    6969{ 
    7070 
    7171    Word16      index, vals_left,mag_shift,n; 
    7272    Word16      windowed_data[MAX_DCT_LENGTH]; 
    73     Word16      *new_ptr, *old_ptr, *sam_low, *sam_high; 
     73    Word16      *old_ptr; 
     74    const Word16 *new_ptr, *sam_low, *sam_high; 
    7475    Word16      *win_low, *win_high; 
    7576    Word16      *dst_ptr; 
Note: See TracChangeset for help on using the changeset viewer.