[x265] [PATCH] primitives: fix build error in refactor of chroma p2s primitive

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Thu Dec 4 08:13:20 CET 2014


# HG changeset patch
# User Aarthi Thirumalai
# Date 1417677186 -19800
#      Thu Dec 04 12:43:06 2014 +0530
# Node ID 511dde5ac1deee96a0105bb87e14670ef5ed72a6
# Parent  b1b5f06fe9ce65953a07436f04f311b9b70d87a6
primitives: fix build error in refactor of chroma p2s primitive.

diff -r b1b5f06fe9ce -r 511dde5ac1de source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Wed Dec 03 22:21:46 2014 -0600
+++ b/source/common/x86/asm-primitives.cpp	Thu Dec 04 12:43:06 2014 +0530
@@ -1365,9 +1365,9 @@
         CHROMA_VERT_FILTERS_422(_sse2);
         CHROMA_VERT_FILTERS_444(_sse2);
         p.luma_p2s = x265_luma_p2s_sse2;
-        p.chroma_p2s[X265_CSP_I420] = x265_chroma_p2s_sse2;
-        p.chroma_p2s[X265_CSP_I422] = x265_chroma_p2s_sse2;
-        p.chroma_p2s[X265_CSP_I444] = x265_luma_p2s_sse2; // for i444 , chroma_p2s can be replaced by luma_p2s
+        p.chroma[X265_CSP_I420].p2s = x265_chroma_p2s_sse2;
+        p.chroma[X265_CSP_I422].p2s = x265_chroma_p2s_sse2;
+        p.chroma[X265_CSP_I444].p2s = x265_luma_p2s_sse2; // for i444 , chroma_p2s can be replaced by luma_p2s
 
         p.blockfill_s[BLOCK_4x4] = x265_blockfill_s_4x4_sse2;
         p.blockfill_s[BLOCK_8x8] = x265_blockfill_s_8x8_sse2;


More information about the x265-devel mailing list