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 > > > > Conflicts: > > libavcodec/x86/hevc_mc.asm > > --- > > libavcodec/x86/hevc_mc.asm | 12 > > 1 file changed, 4 insertions(+), 8 deletions(

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 : > 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

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 > > 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.as

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

2015-02-05 Thread Christophe Gisquet
From: Mickaël Raulet 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 --- a/libavcodec/x86/hevc_mc.as