[FFmpeg-cvslog] exr: optimize exr_halflt2uint()

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Apr 9 21:37:52 CEST 2012


On Mon, Apr 09, 2012 at 09:23:53PM +0200, Michael Niedermayer wrote:
> +        else           return (v & 0x8000) ? 0 : 0xffff;

Probably too rare to matter, but (v >> 15) - 1 should be equivalent.


More information about the ffmpeg-cvslog mailing list