[x265] [PATCH] asm: avx2 code for see_pp for chroma 16x16, 32x32, reused luma code

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Wed Mar 25 08:11:32 CET 2015


# HG changeset patch
# User Sumalatha Polureddy
# Date 1427267485 -19800
#      Wed Mar 25 12:41:25 2015 +0530
# Node ID 7d9af60e286a3c532a22d1910905c80e31633ab7
# Parent  6d27aba695846b4ea057f13dd596150fe2602407
asm: avx2 code for see_pp for chroma 16x16, 32x32, reused luma code

diff -r 6d27aba69584 -r 7d9af60e286a source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Wed Mar 25 10:58:06 2015 +0530
+++ b/source/common/x86/asm-primitives.cpp	Wed Mar 25 12:41:25 2015 +0530
@@ -1384,6 +1384,7 @@
         p.chroma[X265_CSP_I420].pu[CHROMA_420_8x32].satd = x265_pixel_satd_8x32_avx;
         ASSIGN_SA8D(avx);
         ASSIGN_SSE_PP(avx);
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_8x8].sse_pp = x265_pixel_ssd_8x8_avx;
         ASSIGN_SSE_SS(avx);
         LUMA_VAR(avx);
 
@@ -1560,6 +1561,8 @@
         p.cu[BLOCK_16x16].sse_pp = x265_pixel_ssd_16x16_avx2;
         p.cu[BLOCK_32x32].sse_pp = x265_pixel_ssd_32x32_avx2;
         p.cu[BLOCK_64x64].sse_pp = x265_pixel_ssd_64x64_avx2;
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].sse_pp = x265_pixel_ssd_16x16_avx2;
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].sse_pp = x265_pixel_ssd_32x32_avx2;
 
         p.cu[BLOCK_16x16].ssd_s = x265_pixel_ssd_s_16_avx2;
         p.cu[BLOCK_32x32].ssd_s = x265_pixel_ssd_s_32_avx2;


More information about the x265-devel mailing list