[FFmpeg-devel] [PATCH 3/7] x86/hevc: use CLIPW macro when possible

Christophe Gisquet christophe.gisquet at gmail.com
Fri Feb 6 08:23:57 CET 2015


Hi,

2015-02-06 1:28 GMT+01:00 James Almer <jamrial at gmail.com>:
> Many (But not all) of the functions calling these macros have free regs where max_pixels_%2
> and zero (or in that case a simple pxor m*, m*) could be stored.
> It'll probably be faster than reloading these constants inside a loop.

That often needs to be benchmarked. It's logical, but sometimes you
see no difference.

-- 
Christophe


More information about the ffmpeg-devel mailing list