On 06/05/2011 03:48 PM, Loren Merritt wrote:

> Can you clip floats instead? sse1 has minps where it doesn't have pminsd.
> Alternately, can you use minps in the implementation of clip_int32?


Yes, that could be done for the floating-point encoder during scaling
and would likely be faster. That could easily be added in a separate
patch though.

Are you also suggesting to convert/clip/convert for the int32 version?
I didn't really consider that. Do you think it would be faster than the
compare/mask method?

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to