[FFmpeg-soc] [soc]: r1163 - qcelp/qcelpdec.c
reynaldo
subversion at mplayerhq.hu
Thu Aug 23 07:52:19 CEST 2007
Author: reynaldo
Date: Thu Aug 23 07:52:19 2007
New Revision: 1163
Log:
COSMETICS
Modified:
qcelp/qcelpdec.c
Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c (original)
+++ qcelp/qcelpdec.c Thu Aug 23 07:52:19 2007
@@ -172,7 +172,6 @@ void qcelp_decode_params(AVCodecContext
float ga[16];
/* FIXME need to get rid of g0, sanity checks should be done here */
- /* WIP this is almost verbatim from spec, seeking workability first */
cbsign=frame->data+QCELP_CBSIGN0_POS;
cbgain=frame->data+QCELP_CBGAIN0_POS;
@@ -450,9 +449,8 @@ static int qcelp_do_pitchfilter(QCELPFra
/**
* Apply filter
*
- * TIA/EIA/IS-733 2.4.5.2-2/3 equations aren't clear enough to assume
- * this filter had to be applied in pitch-subframe steps. Experimentation
- * was needed.
+ * TIA/EIA/IS-733 2.4.5.2-2/3 equations aren't clear enough but
+ * we know this filter has to be applied in pitch-subframe steps.
*/
k=0;
@@ -487,8 +485,7 @@ static int qcelp_do_pitchfilter(QCELPFra
}
/**
- * If we are done with the pitch subframe we have to
- * update the filter memory.
+ * Done with the pitch subframe -- update filter memory.
*/
if(k==39)
@@ -674,7 +671,8 @@ static void qcelp_lsp2lpc(float *lspf, f
*
* TIA/EIA/IS-733 2.4.3.1 (NOOOOT)
*/
-static void qcelp_do_formant(float *in, float *out, float *lpc_coefs, float *memory)
+static void qcelp_do_formant(float *in, float *out, float *lpc_coefs,
+ float *memory)
{
float tmp[50];
int i,j;
@@ -948,7 +946,7 @@ static int qcelp_decode_frame(AVCodecCon
for(i=0; i<4; i++)
{
/**
- * interpolate lsp freqs
+ * Interpolate lsp freqs
*/
qcelp_do_interpolate_lspf(q->frame->rate, q->prev_lspf, qtzd_lspf,
More information about the FFmpeg-soc
mailing list