aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-19 19:37:51 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-19 19:37:51 +0000
commit98cc8e184a2e2a7eb011f381b80d574490a68881 (patch)
treef5ac80f90e5e11b099a5a7e33be9ec28815b09ba
parentea4b696605ba9351c68886abe8fdaba925b2db95 (diff)
downloadffmpeg-98cc8e184a2e2a7eb011f381b80d574490a68881.tar.gz
Rename vars: s/decsp/out/
Originally committed as revision 13823 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ra144.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 83e40d5b52..a4d15d6c94 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -238,12 +238,12 @@ static void do_output_subblock(RA144Context *ractx,
lpc_filter(lpc_coefs, block, output_buffer, ractx->buffer, BLOCKSIZE);
}
-static void int_to_int16(int16_t *decsp, const int *inp)
+static void int_to_int16(int16_t *out, const int *inp)
{
int i;
for (i=0; i<30; i++)
- *(decsp++) = *(inp++);
+ *(out++) = *(inp++);
}
/**
@@ -298,7 +298,7 @@ static int eval_refl(const int16_t *coefs, int *refl, RA144Context *ractx)
return retval;
}
-static int interp(RA144Context *ractx, int16_t *decsp, int block_num,
+static int interp(RA144Context *ractx, int16_t *out, int block_num,
int copynew, int energy)
{
int work[10];
@@ -309,16 +309,16 @@ static int interp(RA144Context *ractx, int16_t *decsp, int block_num,
// Interpolate block coefficients from the this frame forth block and
// last frame forth block
for (x=0; x<30; x++)
- decsp[x] = (a * ractx->lpc_coef[x] + b * ractx->lpc_coef_old[x])>> 2;
+ out[x] = (a * ractx->lpc_coef[x] + b * ractx->lpc_coef_old[x])>> 2;
- if (eval_refl(decsp, work, ractx)) {
+ if (eval_refl(out, work, ractx)) {
// The interpolated coefficients are unstable, copy either new or old
// coefficients
if (copynew) {
- int_to_int16(decsp, ractx->lpc_coef);
+ int_to_int16(out, ractx->lpc_coef);
return rescale_rms(ractx->lpc_refl_rms, energy);
} else {
- int_to_int16(decsp, ractx->lpc_coef_old);
+ int_to_int16(out, ractx->lpc_coef_old);
return rescale_rms(ractx->lpc_refl_rms_old, energy);
}
} else {