[x265] [PATCH 2 of 2] Adding asm function declaration and function pointer initializations for luma hps functions

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Wed Nov 6 11:31:23 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1383732979 -19800
#      Wed Nov 06 15:46:19 2013 +0530
# Node ID 3e30ffe85fca96089e5923c04b3628cc747941e8
# Parent  96a46cf4a3b723d58eb8efffbc82acf8055b43f9
Adding asm function declaration and function pointer initializations for luma hps functions.

diff -r 96a46cf4a3b7 -r 3e30ffe85fca source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Wed Nov 06 15:42:33 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp	Wed Nov 06 15:46:19 2013 +0530
@@ -186,6 +186,7 @@
 
 #define SETUP_LUMA_FUNC_DEF(W, H, cpu) \
     p.luma_hpp[LUMA_ ## W ## x ## H] = x265_interp_8tap_horiz_pp_ ## W ## x ## H ## cpu; \
+    p.luma_hps[LUMA_ ## W ## x ## H] = x265_interp_8tap_horiz_ps_ ## W ## x ## H ## cpu; \
     p.luma_vpp[LUMA_ ## W ## x ## H] = x265_interp_8tap_vert_pp_ ## W ## x ## H ## cpu; \
     p.luma_vps[LUMA_ ## W ## x ## H] = x265_interp_8tap_vert_ps_ ## W ## x ## H ## cpu;
 
diff -r 96a46cf4a3b7 -r 3e30ffe85fca source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h	Wed Nov 06 15:42:33 2013 +0530
+++ b/source/common/x86/ipfilter8.h	Wed Nov 06 15:46:19 2013 +0530
@@ -56,6 +56,7 @@
 
 #define SETUP_LUMA_FUNC_DEF(W, H, cpu) \
     void x265_interp_8tap_horiz_pp_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, pixel * dst, intptr_t dstStride, int coeffIdx); \
+    void x265_interp_8tap_horiz_ps_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, int16_t * dst, intptr_t dstStride, int coeffIdx); \
     void x265_interp_8tap_vert_pp_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, pixel * dst, intptr_t dstStride, int coeffIdx); \
     void x265_interp_8tap_vert_ps_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, int16_t * dst, intptr_t dstStride, int coeffIdx);
 


More information about the x265-devel mailing list