aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/acelp_vectors.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-05-26 23:36:05 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-26 23:36:05 +0000
commit1384e2705470e9603a2ed2fdaff801a9cc6b2758 (patch)
treeb78652e74870075bab6e10ad73c01133d2c4cdf1 /libavcodec/acelp_vectors.c
parent5231f101d156bbc6000f0555cf80abc3d966a814 (diff)
downloadffmpeg-1384e2705470e9603a2ed2fdaff801a9cc6b2758.tar.gz
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.c8
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(