[FFmpeg-devel] PATCH: cook move saturate functionality to separate function.
Benoit Fouet
benoit.fouet
Mon Jul 16 16:14:45 CEST 2007
Marc Hoffman wrote:
> Marc Hoffman writes:
> >
> > Moving saturate to separate function, so we can define a fixpoint variant.
>
> Ignore first patch sorry, someother stuff got into the patch...
>
>
> ------------------------------------------------------------------------
>
> @@ -820,6 +822,26 @@
> }
>
> /**
> + * Saturate the output signal to signed 16bit integers.
> + *
> + * @param q pointer to the COOKContext
> + * @param chan channel to saturate
> + * @param out pointer to the output vector
> + */
> +static void
> +saturate_output_float (COOKContext *q, int chan, int16_t *out)
> +{
> + int j;
> + float_t *output = q->mono_mdct_output + q->samples_per_channel;
>
float_t doesn't exist...
this doesn't compile
--
Ben
Purple Labs S.A.
www.purplelabs.com
More information about the ffmpeg-devel
mailing list