[FFmpeg-devel] [PATCH] Common ACELP code & G.729 [2/7] - pitch lag decoding

Diego Biurrun diego
Tue May 13 17:02:22 CEST 2008


On Sun, May 11, 2008 at 09:42:26PM +0700, Vladimir Voroshilov wrote:
> 
> --- /dev/null
> +++ b/libavcodec/acelp_pitch_lag.c
> @@ -0,0 +1,165 @@
> +/*
> + * Decoding of gain code, gain pitch and pitch lag

gain code, gain pitch and pitch lag decoding

> +    /*
> +      The following code will calculate energy*2^14 instead of energy*2^exp
> +      due to the recent change of the ineger part of energy_int.

inTeger

I still don't like adding two lines to the length of this comment by
putting the comment symbols on their own lines...

> --- /dev/null
> +++ b/libavcodec/acelp_pitch_lag.h
> @@ -0,0 +1,274 @@
> +/*
> + * Decoding of gain code, gain pitch and pitch lag

see above

> + * \remark The routine is used in G.729 and AMR (all modes)

.

> + * \remark The routine is used in G.729 and AMR (all modes)

.

> + * \brief decode the adaptive codebook gain and add correction (4.1.5 and 3.9.1 of G.729)

Capitalize, add period, long line.

> + *    Em   - mean innovation energy (dB, constant, depends on used decoding algorithm)

s/used//

> + * \remark The routine is used in G.729 and AMR (all modes)

.

Diego




More information about the ffmpeg-devel mailing list