[x265] [PATCH] asm: assembly code for pixel_satd_16x4
yuvaraj at multicorewareinc.com
yuvaraj at multicorewareinc.com
Tue Nov 12 08:47:06 CET 2013
# HG changeset patch
# User Yuvaraj Venkatesh <yuvaraj at multicorewareinc.com>
# Date 1384242379 -19800
# Tue Nov 12 13:16:19 2013 +0530
# Node ID 428b58f09945a4eacdaca057a68ecb570342f5c6
# Parent da5f5e006a62d91942f68f6ba357ccb1cbb09190
asm: assembly code for pixel_satd_16x4
diff -r da5f5e006a62 -r 428b58f09945 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Tue Nov 12 12:51:37 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp Tue Nov 12 13:16:19 2013 +0530
@@ -328,6 +328,7 @@
INIT8(satd, _mmx2);
HEVC_SATD(mmx2);
p.satd[LUMA_12x16] = cmp<12, 16, 4, 16, x265_pixel_satd_4x16_mmx2>;
+ p.satd[LUMA_16x4] = x265_pixel_satd_16x4_sse2;
p.satd[LUMA_16x12] = x265_pixel_satd_16x12_sse2;
p.satd[LUMA_32x8] = x265_pixel_satd_32x8_sse2;
p.satd[LUMA_32x16] = x265_pixel_satd_32x16_sse2;
@@ -408,7 +409,6 @@
p.blockfill_s[BLOCK_32x32] = x265_blockfill_s_32x32_sse2;
#if X86_64
p.satd[LUMA_8x32] = x265_pixel_satd_8x32_sse2;
- p.satd[LUMA_16x4] = x265_pixel_satd_16x4_sse2;
p.satd[LUMA_16x32] = x265_pixel_satd_16x32_sse2;
p.satd[LUMA_16x64] = x265_pixel_satd_16x64_sse2;
#endif
diff -r da5f5e006a62 -r 428b58f09945 source/common/x86/pixel-a.asm
--- a/source/common/x86/pixel-a.asm Tue Nov 12 12:51:37 2013 +0530
+++ b/source/common/x86/pixel-a.asm Tue Nov 12 13:16:19 2013 +0530
@@ -1927,6 +1927,14 @@
SATD_END_SSE2 m6
%endif
+cglobal pixel_satd_16x4, 4,6,8
+ SATD_START_SSE2 m6, m7
+ BACKUP_POINTERS
+ call %%pixel_satd_8x4_internal
+ RESTORE_AND_INC_POINTERS
+ call %%pixel_satd_8x4_internal
+ SATD_END_SSE2 m6
+
cglobal pixel_satd_16x8, 4,6,8
SATD_START_SSE2 m6, m7
BACKUP_POINTERS
More information about the x265-devel
mailing list