[FFmpeg-devel] [PATCH] Common ACELP code & G.729 [3/7] - vectors operations

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


On Sun, May 11, 2008 at 09:46:04PM +0700, Vladimir Voroshilov wrote:
> 
> Modifications of ff_acelp_interpolate_pitch_vector,
> necessary to reuse code from G.729 postfilter.
> 
> --- /dev/null
> +++ b/libavcodec/acelp_vectors.c
> @@ -0,0 +1,249 @@
> +
> +/*
> +  (EE) This table (from reference code) does not comply with specification!

from the, with the, long line

> + *     b30 is based on Hamming windowed sinc functions, truncated at +/-29 and
> + *     padded with zeros at +/-30 b30[30]=0

.

> --- /dev/null
> +++ b/libavcodec/acelp_vectors.h
> @@ -0,0 +1,187 @@
> +/*
> + * Operations with adaptive and fixed codebook vectors for ACELP-based codecs

adaptive and fixed codebook vector operations for ACELP-based codecs

> + * The routine can be used for 1/3 precision too, by

precision, too,

> + * \param pulses_signs Signs of the excitation pulses (0 bit value

signs

> + * \param pulses_signs Signs of the excitation pulses (0 bit value means negative sign)

ditto

> + * \remark Each track in the table should be read top-to-botom, left-to-right

.

> + * \note (EE.1) This table (got from reference code) does not comply with

(from the reference code)

> + * \brief Decode fixed-codebook vector (G.729, not standard)

.

> + * \param pulses_signs Signs of the excitation pulses (0 bit value means negative sign)

signs

Diego




More information about the ffmpeg-devel mailing list