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

Marc Hoffman mmhoffm
Mon Jul 16 01:16:17 CEST 2007


On 7/15/07, Benjamin Larsson <banan at ludd.ltu.se> 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...
> >
>
> Fine by me, but in the future I hope this is replace with a dsp
> directive that can clip to int16. Then we could use float_to_int16 on
> sse, float and int (but float renamed to something more universal). And
> hopefully mmx the other dsp functions also (mdct, overlap etc).
>
> If I was unclear, patch ok.


I think thats where I'm going to go with this next make some pointers to
functions and let them be overloaded by dsputils adventually.  I like that
path too.

BTW this patch is buried in the other chain under the discussion around
vec_t Do you approve?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c3.patch
Type: application/octet-stream
Size: 2662 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070715/78679efa/attachment.obj>



More information about the ffmpeg-devel mailing list