[x265] [PATCH] asm: assembly code for pixel_satd_16x12
yuvaraj at multicorewareinc.com
yuvaraj at multicorewareinc.com
Tue Nov 12 08:22:26 CET 2013
# HG changeset patch
# User Yuvaraj Venkatesh <yuvaraj at multicorewareinc.com>
# Date 1384240897 -19800
# Tue Nov 12 12:51:37 2013 +0530
# Node ID da5f5e006a62d91942f68f6ba357ccb1cbb09190
# Parent 5f77c48448f52d3dfe2d1f7c1dc265df674ff6db
asm: assembly code for pixel_satd_16x12
diff -r 5f77c48448f5 -r da5f5e006a62 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Tue Nov 12 12:19:28 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp Tue Nov 12 12:51:37 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_16x12] = x265_pixel_satd_16x12_sse2;
p.satd[LUMA_32x8] = x265_pixel_satd_32x8_sse2;
p.satd[LUMA_32x16] = x265_pixel_satd_32x16_sse2;
p.satd[LUMA_32x24] = x265_pixel_satd_32x24_sse2;
@@ -410,7 +411,6 @@
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;
- p.satd[LUMA_16x12] = x265_pixel_satd_16x12_sse2;
#endif
p.frame_init_lowres_core = x265_frame_init_lowres_core_sse2;
diff -r 5f77c48448f5 -r da5f5e006a62 source/common/x86/pixel-a.asm
--- a/source/common/x86/pixel-a.asm Tue Nov 12 12:19:28 2013 +0530
+++ b/source/common/x86/pixel-a.asm Tue Nov 12 12:51:37 2013 +0530
@@ -1935,6 +1935,17 @@
call pixel_satd_8x8_internal
SATD_END_SSE2 m6
+cglobal pixel_satd_16x12, 4,6,8
+ SATD_START_SSE2 m6, m7, 1
+ BACKUP_POINTERS
+ call pixel_satd_8x8_internal
+ call %%pixel_satd_8x4_internal
+ SATD_ACCUM m6, m0, m7
+ RESTORE_AND_INC_POINTERS
+ call pixel_satd_8x8_internal
+ call %%pixel_satd_8x4_internal
+ SATD_END_SSE2 m6, m7
+
cglobal pixel_satd_16x16, 4,6,8
SATD_START_SSE2 m6, m7, 1
BACKUP_POINTERS
More information about the x265-devel
mailing list