[FFmpeg-devel] [PATCH] Common ACELP code & G.729 [2/7] - pitch lag decoding
Diego Biurrun
diego
Tue May 27 00:55:02 CEST 2008
On Sat, May 24, 2008 at 12:11:16AM +0700, Vladimir Voroshilov wrote:
>
> Here is result.
>
> --- /dev/null
> +++ b/libavcodec/acelp_pitch_lag.c
> @@ -0,0 +1,153 @@
> +/*
> + * Decoding of gain code, gain pitch and pitch lag decoding
gain code, gain pitch and pitch lag decoding
> + 24660 = 10/log2(10) in (2.13) */
This would be more readable with spaces around the /.
> + /* 24660 = 10/log2(10) in (2.13) */
ditto
> + This is done to avoid overflow. Result fits into 16 bit. */
This is done to avoid an overflow. The result fits into 16 bits.
> --- /dev/null
> +++ b/libavcodec/acelp_pitch_lag.h
> @@ -0,0 +1,295 @@
> +/*
> + * Decoding of gain code, gain pitch and pitch lag decoding
see above
> + * where T1 is pitch lag from previous subframe.
the pitch lag
> + * From AMR specification:
From the specification:
Diego
More information about the ffmpeg-devel
mailing list