[Ffmpeg-devel] [PATCH] flacenc - lpc and options

Benjamin Larsson banan
Fri Jun 30 08:47:36 CEST 2006


Justin Ruggles wrote:
> Hello,
> [...]
> +/**
> + * Calculates autocorrelation data from audio samples
> + * A Welch window function is applied before calculation.
> + */
> +static void compute_autocorr(const int32_t *data, int len, int lag,
> +                             double *autoc)
> +{
>
> +/**
> + * Levinson-Durbin recursion.
> + * Produces LPC coefficients from autocorrelation data.
> + */
> +static void compute_lpc_coefs(const double *autoc, int max_order,
> +                              double lpc[][MAX_LPC_ORDER], double *ref)
> +{
>   
This should be moved to some other file in the future. Other codecs 
could use this.


MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list