[x265] [PATCH 2 of 4] asm: fix Main12 luma_vps_sse2

Min Chen chenm003 at 163.com
Fri Jul 10 03:41:36 CEST 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1436488180 25200
# Node ID 858570d4ebbcca144fd83aaa8436e945ae284ce1
# Parent  2df720d48ada93c85d18a6c7e50c7687c67a8b89
asm: fix Main12 luma_vps_sse2
---
 source/common/x86/ipfilter16.asm |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff -r 2df720d48ada -r 858570d4ebbc source/common/x86/ipfilter16.asm
--- a/source/common/x86/ipfilter16.asm	Thu Jul 09 17:29:37 2015 -0700
+++ b/source/common/x86/ipfilter16.asm	Thu Jul 09 17:29:40 2015 -0700
@@ -496,8 +496,13 @@
     mova      m7, [pd_32]
 %define SHIFT 6
 %elifidn %1,ps
+  %if BIT_DEPTH == 10
     mova      m7, [pd_n32768]
-%define SHIFT 2
+    %define SHIFT 2
+  %elif BIT_DEPTH == 12
+    mova      m7, [pd_n131072]
+    %define SHIFT 4
+  %endif
 %endif
 
     mov         r4d, %3/4



More information about the x265-devel mailing list