Revert "[SPIN][Temporary] Removed the error codes which happened in libvpx"
authorYoungsoo Choi <kenshin.choi@samsung.com>
Fri, 29 May 2015 14:08:28 +0000 (23:08 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
This reverts commit d182c7b5159b9dd5ea79a1e92db8695e0654de26.

With the original patch, following linking error is coming from emulator build
because the original one prevents building the implementation of the function
'vp9_fdct8x8_quant_ssse3' by disabling target 'libvpx_intrinsics_ssse3'
under the architecture is ia32.

>> [ XXs] error: undefined reference to 'vp9_fdct8x8_quant_ssse3'

This patch enables chromium-efl to be built on tizen v3.0 emulator(ia32).

Note that currently it is not able to build chromium-efl on tizen v2.4 emulator
due to platform issue, so it needs to be verified once the issue is fixed.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13116
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I471cc65f02f0554c20c2c746b8fdf4191fcf13ca
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
tizen_src/build/patches/hotfix_temp_libvpx_error.diff [deleted file]

diff --git a/tizen_src/build/patches/hotfix_temp_libvpx_error.diff b/tizen_src/build/patches/hotfix_temp_libvpx_error.diff
deleted file mode 100644 (file)
index ba7f1df..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-diff --git a/third_party/libvpx/libvpx.gyp b/third_party/libvpx/libvpx.gyp
-index 4f8cb2b..c556b42 100644
---- a/third_party/libvpx/libvpx.gyp
-+++ b/third_party/libvpx/libvpx.gyp
-@@ -144,8 +144,8 @@
-                 'libvpx_intrinsics_sse2',
-                 # Currently no sse3 intrinsic functions
-                 #'libvpx_intrinsics_sse3',
--                'libvpx_intrinsics_ssse3',
--                'libvpx_intrinsics_sse4_1',
-+                #'libvpx_intrinsics_ssse3',
-+                #'libvpx_intrinsics_sse4_1',
-                 # Currently no avx intrinsic functions
-                 #'libvpx_intrinsics_avx',
-                 #'libvpx_intrinsics_avx2',
-diff --git a/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h b/source/config/linux/ia32/vp8_rtcd.h
-index 3fe9d07..f6287a5 100644
---- a/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h
-+++ b/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h
-@@ -543,7 +543,6 @@ static void setup_rtcd_internal(void)
-     if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4;
-     vp8_fast_quantize_b = vp8_fast_quantize_b_c;
-     if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
--    if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
-     vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_c;
-     if (flags & HAS_SSE2) vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_sse2;
-     vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_c;
-@@ -603,7 +602,6 @@ static void setup_rtcd_internal(void)
-     if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4;
-     vp8_regular_quantize_b = vp8_regular_quantize_b_c;
-     if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
--    if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4_1;
-     vp8_sad16x16 = vp8_sad16x16_c;
-     if (flags & HAS_MMX) vp8_sad16x16 = vp8_sad16x16_mmx;
-     if (flags & HAS_SSE2) vp8_sad16x16 = vp8_sad16x16_wmt;
-@@ -686,11 +684,9 @@ static void setup_rtcd_internal(void)
-     vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_c;
-     if (flags & HAS_MMX) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_mmx;
-     if (flags & HAS_SSE2) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_wmt;
--    if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_ssse3;
-     vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_c;
-     if (flags & HAS_MMX) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_mmx;
-     if (flags & HAS_SSE2) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt;
--    if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_ssse3;
-     vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_c;
-     if (flags & HAS_MMX) vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_mmx;
-     if (flags & HAS_SSE2) vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_wmt;
-diff --git a/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h b/source/config/linux/ia32/vp9_rtcd.h
-index 2d6c530..bfa079e 100644
---- a/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h
-+++ b/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h
-@@ -996,12 +996,10 @@ static void setup_rtcd_internal(void)
-     if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3;
-     vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
-     if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
--    if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
-     vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
-     if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
-     vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
-     if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
--    if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
-     vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
-     if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
-     vp9_idct32x32_1_add = vp9_idct32x32_1_add_c;