[x265] [PATCH] Adding asm function declarations and initializations for chroma hps filter functions

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Mon Nov 18 07:57:07 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384757804 -19800
#      Mon Nov 18 12:26:44 2013 +0530
# Node ID ff7f550d87405fd5a3e2917249c8530a8ea8c624
# Parent  e2895ce7bbeb2c3d845fee2578758d0012fa2cb4
Adding asm function declarations and initializations for chroma hps filter functions.

diff -r e2895ce7bbeb -r ff7f550d8740 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Sun Nov 17 11:24:13 2013 -0600
+++ b/source/common/x86/asm-primitives.cpp	Mon Nov 18 12:26:44 2013 +0530
@@ -138,6 +138,7 @@
 
 #define SETUP_CHROMA_FUNC_DEF(W, H, cpu) \
     p.chroma_hpp[CHROMA_ ## W ## x ## H] = x265_interp_4tap_horiz_pp_ ## W ## x ## H ## cpu; \
+    p.chroma_hps[CHROMA_ ## W ## x ## H] = x265_interp_4tap_horiz_ps_ ## W ## x ## H ## cpu; \
     p.chroma_vpp[CHROMA_ ## W ## x ## H] = x265_interp_4tap_vert_pp_ ## W ## x ## H ## cpu; \
     p.chroma_vps[CHROMA_ ## W ## x ## H] = x265_interp_4tap_vert_ps_ ## W ## x ## H ## cpu; \
     p.chroma_copy_ps[CHROMA_ ## W ## x ## H] = x265_blockcopy_ps_ ## W ## x ## H ## cpu; \
diff -r e2895ce7bbeb -r ff7f550d8740 source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h	Sun Nov 17 11:24:13 2013 -0600
+++ b/source/common/x86/ipfilter8.h	Mon Nov 18 12:26:44 2013 +0530
@@ -26,6 +26,7 @@
 
 #define SETUP_CHROMA_FUNC_DEF(W, H, cpu) \
     void x265_interp_4tap_horiz_pp_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, pixel * dst, intptr_t dstStride, int coeffIdx); \
+    void x265_interp_4tap_horiz_ps_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, int16_t * dst, intptr_t dstStride, int coeffIdx); \
     void x265_interp_4tap_vert_pp_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, pixel * dst, intptr_t dstStride, int coeffIdx); \
     void x265_interp_4tap_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