[FFmpeg-devel] [PATCH] [3/3] SIPR 16k decoder

Ronald S. Bultje rsbultje
Fri Jan 15 00:54:17 CET 2010


Hi,

On Wed, Jan 13, 2010 at 11:15 PM, Vitor Sessak <vitor1001 at gmail.com> wrote:
> And now the decoder code.

+static void lsf2lsp(const float *lsf, double *lsp)
+{
+    int i;
+
+    for (i = 0; i < LP_FILTER_ORDER_16k; i++)
+        lsp[i] = cosf(lsf[i]);
+}

So, in light of all recent discussion on types for whatnot, let's settle this.

What type should LSFs, LSPs and LPCs be? I mean, all decoders do this.
We can easily share it as long as we agree on this silly little thing.

Rest of the patch OK. :-). Now I finally understand how to use AMRFixed.

Ronald



More information about the ffmpeg-devel mailing list