[FFmpeg-devel] PATCH: cook move saturate functionality to separate function.

Marc Hoffman mmhoffm
Mon Jul 16 16:46:26 CEST 2007


On 7/16/07, Benoit Fouet <benoit.fouet at purplelabs.com> wrote:
>
> 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



Thanks  corrected.




More information about the ffmpeg-devel mailing list