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

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Wed Nov 13 12:28:21 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384342092 -19800
#      Wed Nov 13 16:58:12 2013 +0530
# Node ID 04150fe5cc7ab01728a3b4da8fd8ff95f1bf995f
# Parent  919e6bec663a2d46e62b497dcfc2aaedcee49ed8
Adding asm function declarations and initializations for chroma vps filter functions.

diff -r 919e6bec663a -r 04150fe5cc7a source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Wed Nov 13 16:46:42 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp	Wed Nov 13 16:58:12 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_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; \
     p.chroma_sub_ps[CHROMA_ ## W ## x ## H] = x265_pixel_sub_ps_ ## W ## x ## H ## cpu;
 
diff -r 919e6bec663a -r 04150fe5cc7a source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h	Wed Nov 13 16:46:42 2013 +0530
+++ b/source/common/x86/ipfilter8.h	Wed Nov 13 16:58:12 2013 +0530
@@ -26,7 +26,8 @@
 
 #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_vert_pp_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, pixel * 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);
 
 #define CHROMA_FILTERS(cpu) \
     SETUP_CHROMA_FUNC_DEF(4, 4, cpu); \


More information about the x265-devel mailing list