[FFmpeg-devel] [PATCH] Common ACELP code & G.729 [5/7] - G.729 tables

Diego Biurrun diego
Fri Jul 4 15:41:06 CEST 2008


On Tue, Jul 01, 2008 at 01:07:22AM +0700, Vladimir Voroshilov wrote:
> This is current version of the patch.
> 
> --- /dev/null
> +++ b/libavcodec/g729data.h
> @@ -0,0 +1,304 @@
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with FFmpeg; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> + */
> +#ifndef FFMPEG_G729DATA_H
> +#define FFMPEG_G729DATA_H
> +
> +#include <stdint.h>
> +#include "g729.h"
> +/**

Maybe you could insert a blank line before the #ifndef and after the
#include to make this look less cramped.

> + * First stage LSP codebook

lowercase

> + * Second stage LSP codebook, high and low parts

ditto

> +/**
> + * Gain codebook (first stage), 8k mode (3.9.2 of G.729)
> + */
> +/**
> + * Gain codebook (second stage), 8k mode (3.9.2 of G.729)
> + */
> +/**
> + * 4th order Moving Average (MA) Predictor codebook (3.2.4 of G.729)
> + */
> +/**
> + * MA prediction coefficients (3.9.1 of G.729, near Equation 69)
> + */
> +/**
> + * Initial lq values
> + */
> +/**
> + * Initial LSP values
> + */

.. and in all other cases ..

Diego




More information about the ffmpeg-devel mailing list