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

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Tue Nov 12 16:12:26 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384269016 -19800
#      Tue Nov 12 20:40:16 2013 +0530
# Node ID 286039cf5329a00db7a7788eaadeeaac13d53e48
# Parent  3587c6ea492c0e10403fb07b02c28b4e7fb571d9
Adding asm function declarations and initializations for chroma hps filter functions

diff -r 3587c6ea492c -r 286039cf5329 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Tue Nov 12 20:36:27 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp	Tue Nov 12 20:40:16 2013 +0530
@@ -136,6 +136,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_copy_ps[CHROMA_ ## W ## x ## H] = x265_blockcopy_ps_ ## W ## x ## H ## cpu;
 
diff -r 3587c6ea492c -r 286039cf5329 source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h	Tue Nov 12 20:36:27 2013 +0530
+++ b/source/common/x86/ipfilter8.h	Tue Nov 12 20:40:16 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);
 
 #define CHROMA_FILTERS(cpu) \


More information about the x265-devel mailing list