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

2015-02-06 Thread Michael Niedermayer
On Thu, Feb 05, 2015 at 09:28:41PM -0300, James Almer wrote: On 05/02/15 4:20 PM, Christophe Gisquet wrote: From: Mickaël Raulet mrau...@insa-rennes.fr Conflicts: libavcodec/x86/hevc_mc.asm --- libavcodec/x86/hevc_mc.asm | 12 1 file changed, 4 insertions(+), 8

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

2015-02-05 Thread Christophe Gisquet
Hi, 2015-02-06 1:28 GMT+01:00 James Almer jamr...@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.

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

2015-02-05 Thread Christophe Gisquet
From: Mickaël Raulet mrau...@insa-rennes.fr Conflicts: libavcodec/x86/hevc_mc.asm --- libavcodec/x86/hevc_mc.asm | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavcodec/x86/hevc_mc.asm b/libavcodec/x86/hevc_mc.asm index efb4d1f..e8a5032 100644 ---

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

2015-02-05 Thread James Almer
On 05/02/15 4:20 PM, Christophe Gisquet wrote: From: Mickaël Raulet mrau...@insa-rennes.fr Conflicts: libavcodec/x86/hevc_mc.asm --- libavcodec/x86/hevc_mc.asm | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavcodec/x86/hevc_mc.asm