[x265] [PATCH] added blockcopy_sp function pointers [was removed by mistake]
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Fri Nov 22 13:53:08 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1385124771 -19800
# Node ID 623acddc1aa08b82bf7fc9678c28d3ffa6a13e09
# Parent ecb4138b38572ad6c2c65082bfdcddf9acf39c84
added blockcopy_sp function pointers [was removed by mistake]
diff -r ecb4138b3857 -r 623acddc1aa0 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Fri Nov 22 18:13:13 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp Fri Nov 22 18:22:51 2013 +0530
@@ -479,6 +479,39 @@
CHROMA_SS_FILTERS(_sse2);
LUMA_SS_FILTERS(_sse2);
+ // This function pointer initialization is temporary will be removed
+ // later with macro definitions. It is used to avoid linker errors
+ // until all partitions are coded and commit smaller patches, easier to
+ // review.
+
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_4x2] = x265_blockcopy_sp_4x2_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_4x4] = x265_blockcopy_sp_4x4_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_4x8] = x265_blockcopy_sp_4x8_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_4x16] = x265_blockcopy_sp_4x16_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_8x2] = x265_blockcopy_sp_8x2_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_8x4] = x265_blockcopy_sp_8x4_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_8x6] = x265_blockcopy_sp_8x6_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_8x8] = x265_blockcopy_sp_8x8_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_8x16] = x265_blockcopy_sp_8x16_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_12x16] = x265_blockcopy_sp_12x16_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_16x4] = x265_blockcopy_sp_16x4_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_16x8] = x265_blockcopy_sp_16x8_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_16x12] = x265_blockcopy_sp_16x12_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_16x16] = x265_blockcopy_sp_16x16_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_16x32] = x265_blockcopy_sp_16x32_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_24x32] = x265_blockcopy_sp_24x32_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_32x8] = x265_blockcopy_sp_32x8_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_32x16] = x265_blockcopy_sp_32x16_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_32x24] = x265_blockcopy_sp_32x24_sse2;
+ p.chroma[X265_CSP_I420].copy_sp[CHROMA_32x32] = x265_blockcopy_sp_32x32_sse2;
+
+ p.luma_copy_sp[LUMA_32x64] = x265_blockcopy_sp_32x64_sse2;
+ p.luma_copy_sp[LUMA_16x64] = x265_blockcopy_sp_16x64_sse2;
+ p.luma_copy_sp[LUMA_48x64] = x265_blockcopy_sp_48x64_sse2;
+ p.luma_copy_sp[LUMA_64x16] = x265_blockcopy_sp_64x16_sse2;
+ p.luma_copy_sp[LUMA_64x32] = x265_blockcopy_sp_64x32_sse2;
+ p.luma_copy_sp[LUMA_64x48] = x265_blockcopy_sp_64x48_sse2;
+ p.luma_copy_sp[LUMA_64x64] = x265_blockcopy_sp_64x64_sse2;
p.blockfill_s[BLOCK_4x4] = x265_blockfill_s_4x4_sse2;
p.blockfill_s[BLOCK_8x8] = x265_blockfill_s_8x8_sse2;
p.blockfill_s[BLOCK_16x16] = x265_blockfill_s_16x16_sse2;
More information about the x265-devel
mailing list