[x265] [PATCH] asm: chroma_vpp[4x4] for colorspace i422 in avx2: improve 228c->184c

Divya Manivannan divya at multicorewareinc.com
Tue Dec 9 10:40:24 CET 2014


# HG changeset patch
# User Divya Manivannan <divya at multicorewareinc.com>
# Date 1418117941 -19800
#      Tue Dec 09 15:09:01 2014 +0530
# Node ID a792e3e66123f8ad22d0c819943e9708a403bce7
# Parent  2e6c4518f7083d79202a28f739650278e5c0d88d
asm: chroma_vpp[4x4] for colorspace i422 in avx2: improve 228c->184c

diff -r 2e6c4518f708 -r a792e3e66123 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Tue Dec 09 14:39:37 2014 +0530
+++ b/source/common/x86/asm-primitives.cpp	Tue Dec 09 15:09:01 2014 +0530
@@ -1882,8 +1882,13 @@
         p.luma_vpp[LUMA_8x16] = x265_interp_8tap_vert_pp_8x16_avx2;
         p.luma_vpp[LUMA_8x32] = x265_interp_8tap_vert_pp_8x32_avx2;
 
+        // color space i420
         p.chroma[X265_CSP_I420].filter_vpp[CHROMA_4x4] = x265_interp_4tap_vert_pp_4x4_avx2;
         p.chroma[X265_CSP_I420].filter_vpp[CHROMA_8x8] = x265_interp_4tap_vert_pp_8x8_avx2;
+
+        // color space i422
+        p.chroma[X265_CSP_I422].filter_vpp[CHROMA422_4x4] = x265_interp_4tap_vert_pp_4x4_avx2;
+
 #if X86_64
         p.chroma[X265_CSP_I420].filter_vpp[CHROMA_16x16] = x265_interp_4tap_vert_pp_16x16_avx2;
         p.chroma[X265_CSP_I420].filter_vpp[CHROMA_32x32] = x265_interp_4tap_vert_pp_32x32_avx2;
diff -r 2e6c4518f708 -r a792e3e66123 source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h	Tue Dec 09 14:39:37 2014 +0530
+++ b/source/common/x86/ipfilter8.h	Tue Dec 09 15:09:01 2014 +0530
@@ -580,6 +580,7 @@
 CHROMA_SS_FILTERS_SSE4(_sse4);
 
 CHROMA_FILTERS_422(_sse4);
+CHROMA_FILTERS_422(_avx2);
 CHROMA_SP_FILTERS_422(_sse2);
 CHROMA_SP_FILTERS_422_SSE4(_sse4);
 CHROMA_SS_FILTERS_422(_sse2);


More information about the x265-devel mailing list