[x265] [PATCH] asm: 10bpp support for blockcopy_ps and blockcopy_sp

murugan at multicorewareinc.com murugan at multicorewareinc.com
Tue Dec 10 12:17:08 CET 2013


# HG changeset patch
# User Murugan Vairavel <murugan at multicorewareinc.com>
# Date 1386674211 -19800
#      Tue Dec 10 16:46:51 2013 +0530
# Node ID 682981f97057b0e66cc9fca638a9eb81938b3444
# Parent  a9896f12cbabc4009bc092e26ec91579865699e5
asm: 10bpp support for blockcopy_ps and blockcopy_sp

diff -r a9896f12cbab -r 682981f97057 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Tue Dec 10 16:39:25 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp	Tue Dec 10 16:46:51 2013 +0530
@@ -714,6 +714,18 @@
         p.sse_sp[i] = (pixelcmp_sp_t)p.sse_ss[i];
     }
 
+  for (int i = 0; i < NUM_LUMA_PARTITIONS; i++)
+    {
+        p.luma_copy_ps[i] = (copy_ps_t)p.luma_copy_pp[i];
+        p.luma_copy_sp[i] = (copy_sp_t)p.luma_copy_pp[i];
+    }
+
+    for (int i = 0; i < NUM_CHROMA_PARTITIONS; i++)
+    {
+        p.chroma[X265_CSP_I420].copy_ps[i] = (copy_ps_t)p.chroma[X265_CSP_I420].copy_pp[i];
+        p.chroma[X265_CSP_I420].copy_sp[i] = (copy_sp_t)p.chroma[X265_CSP_I420].copy_pp[i];
+    }
+
 #else // if HIGH_BIT_DEPTH
     if (cpuMask & X265_CPU_SSE2)
     {


More information about the x265-devel mailing list