[x265] [PATCH 2 of 2] Adding asm function declaration and function pointer initializations for luma vps functions
nabajit at multicorewareinc.com
nabajit at multicorewareinc.com
Tue Nov 5 08:49:28 CET 2013
# HG changeset patch
# User Nabajit Deka
# Date 1383637645 -19800
# Tue Nov 05 13:17:25 2013 +0530
# Node ID 58875d4bd43aa56b248c8e673bc71dd2272d349f
# Parent ecf2873ed6be542e54cc56047bfeff64c72000c4
Adding asm function declaration and function pointer initializations for luma vps functions.
diff -r ecf2873ed6be -r 58875d4bd43a source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Tue Nov 05 13:06:09 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp Tue Nov 05 13:17:25 2013 +0530
@@ -187,6 +187,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_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;
#define SETUP_LUMA_BLOCKCOPY_FUNC_DEF(W, H, cpu) \
p.luma_copy_pp[LUMA_ ## W ## x ## H] = x265_blockcopy_pp_## W ## x ## H ## cpu;
diff -r ecf2873ed6be -r 58875d4bd43a source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h Tue Nov 05 13:06:09 2013 +0530
+++ b/source/common/x86/ipfilter8.h Tue Nov 05 13:17:25 2013 +0530
@@ -56,7 +56,8 @@
#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_vert_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);\
+ void x265_interp_8tap_vert_ps_ ## W ## x ## H ## cpu(pixel * src, intptr_t srcStride, int16_t * 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