[x265] [PATCH] asm: chroma_vpp/vps/vsp/vss[4x2, 4x4, 8x2][i420] 16bpp - modification of doClip variable

aasaipriya at multicorewareinc.com aasaipriya at multicorewareinc.com
Thu Jun 11 08:29:11 CEST 2015


# HG changeset patch
# User Aasaipriya Chandran <aasaipriya at multicorewareinc.com>
# Date 1434004145 -19800
#      Thu Jun 11 11:59:05 2015 +0530
# Node ID 64fcb3fcde5a93b4966684ab22fef54b85e93152
# Parent  6245476add8f0562e3ccb657f572ff94fe96adf0
asm: chroma_vpp/vps/vsp/vss[4x2, 4x4, 8x2][i420] 16bpp - modification of doClip variable

diff -r 6245476add8f -r 64fcb3fcde5a source/common/x86/ipfilter16.asm
--- a/source/common/x86/ipfilter16.asm	Wed Jun 10 11:54:27 2015 +0530
+++ b/source/common/x86/ipfilter16.asm	Thu Jun 11 11:59:05 2015 +0530
@@ -11632,7 +11632,7 @@
     vpermq          m0, m0, q3120
     pxor            m4, m4
 
-%ifidn %2,doClip
+%if %2
     CLIPW           m0, m4, [pw_pixel_max]
 %endif
     vextracti128    xm1, m0, 1
@@ -11670,9 +11670,9 @@
     RET
 %endmacro
 
-FILTER_VER_CHROMA_AVX2_8x2 pp, doClip, 6
+FILTER_VER_CHROMA_AVX2_8x2 pp, 1, 6
 FILTER_VER_CHROMA_AVX2_8x2 ps, 0, 2
-FILTER_VER_CHROMA_AVX2_8x2 sp, doClip, 10
+FILTER_VER_CHROMA_AVX2_8x2 sp, 1, 10
 FILTER_VER_CHROMA_AVX2_8x2 ss, 0, 6
 
 %macro FILTER_VER_CHROMA_AVX2_4x2 3
@@ -11726,7 +11726,7 @@
     packssdw        m0, m0
     pxor            m1, m1
 
-%ifidn %2, doClip
+%if %2
     CLIPW           m0, m1, [pw_pixel_max]
 %endif
 
@@ -11737,9 +11737,9 @@
     RET
 %endmacro
 
-FILTER_VER_CHROMA_AVX2_4x2 pp, doClip, 6
+FILTER_VER_CHROMA_AVX2_4x2 pp, 1, 6
 FILTER_VER_CHROMA_AVX2_4x2 ps, 0, 2
-FILTER_VER_CHROMA_AVX2_4x2 sp, doClip, 10
+FILTER_VER_CHROMA_AVX2_4x2 sp, 1, 10
 FILTER_VER_CHROMA_AVX2_4x2 ss, 0, 6
 
 %macro FILTER_VER_CHROMA_AVX2_4x4 3
@@ -11803,7 +11803,7 @@
 
     packssdw        m0, m2
     pxor            m1, m1
-%ifidn %2, doClip
+%if %2
     CLIPW           m0, m1, [pw_pixel_max]
 %endif
 
@@ -11816,7 +11816,7 @@
     RET
 %endmacro
 
-FILTER_VER_CHROMA_AVX2_4x4 pp, doClip, 6
+FILTER_VER_CHROMA_AVX2_4x4 pp, 1, 6
 FILTER_VER_CHROMA_AVX2_4x4 ps, 0, 2 
-FILTER_VER_CHROMA_AVX2_4x4 sp, doClip, 10
+FILTER_VER_CHROMA_AVX2_4x4 sp, 1, 10
 FILTER_VER_CHROMA_AVX2_4x4 ss, 0, 6


More information about the x265-devel mailing list