# HG changeset patch # User vitor # Date 1212348797 0 # Node ID 1f0026d344a927d378be535d786ea857a044b995 # Parent 50dd3a733f43f10afa1fc827a188107b8e389ed5 Rename dec1() to a more descriptive name diff -r 50dd3a733f43 -r 1f0026d344a9 ra144.c --- a/ra144.c Sun Jun 01 19:30:07 2008 +0000 +++ b/ra144.c Sun Jun 01 19:33:17 2008 +0000 @@ -239,7 +239,7 @@ final(lpc_coefs, block, output_buffer, ractx->buffer, BLOCKSIZE); } -static void dec1(int16_t *decsp, const int *inp) +static void int_to_int16(int16_t *decsp, const int *inp) { int i; @@ -314,10 +314,10 @@ // The interpolated coefficients are unstable, copy either new or old // coefficients if (copynew) { - dec1(decsp, ractx->lpc_coef); + int_to_int16(decsp, ractx->lpc_coef); return rms(ractx->lpc_refl, f); } else { - dec1(decsp, ractx->lpc_coef_old); + int_to_int16(decsp, ractx->lpc_coef_old); return rms(ractx->lpc_refl_old, f); } } else { @@ -361,7 +361,7 @@ refl_rms[2] = dec2(ractx, block_coefs[2], 2, 1, energy); refl_rms[3] = rms(ractx->lpc_refl, energy); - dec1(block_coefs[3], ractx->lpc_coef); + int_to_int16(block_coefs[3], ractx->lpc_coef); /* do output */ for (c=0; c<4; c++) {