[x265] [PATCH 2 of 3] Adding asm function declarations for chroma vsp filter functions
nabajit at multicorewareinc.com
nabajit at multicorewareinc.com
Tue Nov 12 11:58:28 CET 2013
# HG changeset patch
# User Nabajit Deka
# Date 1384253593 -19800
# Tue Nov 12 16:23:13 2013 +0530
# Node ID 752b982a4a6c7778a6f8a50cfa7c8f3e7eac04e9
# Parent da706d553c882eff32b53969a425e69a17976c2e
Adding asm function declarations for chroma vsp filter functions.
diff -r da706d553c88 -r 752b982a4a6c source/common/x86/ipfilter8.h
--- a/source/common/x86/ipfilter8.h Tue Nov 12 16:21:30 2013 +0530
+++ b/source/common/x86/ipfilter8.h Tue Nov 12 16:23:13 2013 +0530
@@ -117,8 +117,38 @@
SETUP_LUMA_SP_FUNC_DEF(64, 16, cpu); \
SETUP_LUMA_SP_FUNC_DEF(16, 64, cpu);
+ #define SETUP_CHROMA_SP_FUNC_DEF(W, H, cpu) \
+ void x265_interp_4tap_vert_sp_ ## W ## x ## H ## cpu(int16_t * src, intptr_t srcStride, pixel * dst, intptr_t dstStride, int coeffIdx);
+
+#define CHROMA_SP_FILTERS(cpu) \
+ SETUP_CHROMA_SP_FUNC_DEF(4, 4, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(4, 2, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(2, 4, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(8, 8, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(8, 4, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(4, 8, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(8, 6, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(6, 8, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(8, 2, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(2, 8, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(16, 16, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(16, 8, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(8, 16, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(16, 12, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(12, 16, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(16, 4, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(4, 16, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(32, 32, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(32, 16, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(16, 32, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(32, 24, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(24, 32, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(32, 8, cpu); \
+ SETUP_CHROMA_SP_FUNC_DEF(8, 32, cpu);
+
CHROMA_FILTERS(_sse4);
+CHROMA_SP_FILTERS(_ssse3);
LUMA_FILTERS(_sse4);
LUMA_SP_FILTERS(_ssse3);
@@ -128,9 +158,12 @@
void x265_chroma_p2s_ssse3(pixel *src, intptr_t srcStride, int16_t *dst, int width, int height);
#undef SETUP_CHROMA_FUNC_DEF
+#undef SETUP_CHROMA_SP_FUNC_DEF
#undef SETUP_LUMA_FUNC_DEF
#undef SETUP_LUMA_SP_FUNC_DEF
#undef CHROMA_FILTERS
+#undef CHROMA_SP_FILTERS
#undef LUMA_FILTERS
+#undef LUMA_SP_FILTERS
#endif // ifndef X265_MC_H
More information about the x265-devel
mailing list