diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-27 03:36:05 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-27 03:36:05 +0400 |
commit | 1384e2705470e9603a2ed2fdaff801a9cc6b2758 (patch) | |
tree | b78652e74870075bab6e10ad73c01133d2c4cdf1 /libavcodec/acelp_vectors.c | |
parent | 5231f101d156bbc6000f0555cf80abc3d966a814 (diff) |
consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/acelp_vectors.c')
-rw-r--r-- | libavcodec/acelp_vectors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/acelp_vectors.c b/libavcodec/acelp_vectors.c index d981fbdc31..cae6318fa0 100644 --- a/libavcodec/acelp_vectors.c +++ b/libavcodec/acelp_vectors.c @@ -106,7 +106,7 @@ void ff_acelp_fc_pulse_per_track( int16_t* fc_v, const uint8_t *tab1, const uint8_t *tab2, - int pulse_indices, + int pulse_indexes, int pulse_signs, int pulse_count, int bits) @@ -116,14 +116,14 @@ void ff_acelp_fc_pulse_per_track( for(i=0; i<pulse_count; i++) { - fc_v[i + tab1[pulse_indices & mask]] += + fc_v[i + tab1[pulse_indexes & mask]] += (pulse_signs & 1) ? 8191 : -8192; // +/-1 in (2.13) - pulse_indices >>= bits; + pulse_indexes >>= bits; pulse_signs >>= 1; } - fc_v[tab2[pulse_indices]] += (pulse_signs & 1) ? 8191 : -8192; + fc_v[tab2[pulse_indexes]] += (pulse_signs & 1) ? 8191 : -8192; } void ff_acelp_weighted_vector_sum( |