[x265] [PATCH] Function declarations and function pointers set up for the vertical luma filter functions

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Fri Oct 25 09:08:47 CEST 2013


# HG changeset patch
# User Nabajit Deka
# Date 1382684900 -19800
#      Fri Oct 25 12:38:20 2013 +0530
# Node ID 570be4b532d1597929e5296c6531c8a378bf5b5a
# Parent  c45766284244989b8d4835716505c16db4a67887
Function declarations and function pointers set up for the vertical luma filter functions.

diff -r c45766284244 -r 570be4b532d1 source/common/ipfilter.cpp
--- a/source/common/ipfilter.cpp	Fri Oct 25 12:11:31 2013 +0530
+++ b/source/common/ipfilter.cpp	Fri Oct 25 12:38:20 2013 +0530
@@ -411,7 +411,8 @@
     p.chroma_vpp[CHROMA_ ## W ## x ## H] = interp_vert_pp_c<4, W, H>
 
 #define LUMA(W, H) \
-    p.luma_hpp[LUMA_ ## W ## x ## H]     = interp_horiz_pp_c<8, W, H>
+    p.luma_hpp[LUMA_ ## W ## x ## H]     = interp_horiz_pp_c<8, W, H>;\
+    p.luma_vpp[LUMA_ ## W ## x ## H]     = interp_vert_pp_c<8, W, H>
 
 void Setup_C_IPFilterPrimitives(EncoderPrimitives& p)
 {
diff -r c45766284244 -r 570be4b532d1 source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h	Fri Oct 25 12:11:31 2013 +0530
+++ b/source/common/x86/ipfilter8.h	Fri Oct 25 12:38:20 2013 +0530
@@ -55,7 +55,8 @@
     SETUP_CHROMA_FUNC_DEF(8, 32, cpu)
 
 #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_pp_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, pixel * 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);
 
 #define LUMA_FILTERS(cpu) \
     SETUP_LUMA_FUNC_DEF(4,   4, cpu); \


More information about the x265-devel mailing list