ba7f1df5bf26507d34fae1d1693afa15745768ec
[platform/framework/web/chromium-efl.git] / tizen_src / build / patches / hotfix_temp_libvpx_error.diff
1 diff --git a/third_party/libvpx/libvpx.gyp b/third_party/libvpx/libvpx.gyp
2 index 4f8cb2b..c556b42 100644
3 --- a/third_party/libvpx/libvpx.gyp
4 +++ b/third_party/libvpx/libvpx.gyp
5 @@ -144,8 +144,8 @@
6                  'libvpx_intrinsics_sse2',
7                  # Currently no sse3 intrinsic functions
8                  #'libvpx_intrinsics_sse3',
9 -                'libvpx_intrinsics_ssse3',
10 -                'libvpx_intrinsics_sse4_1',
11 +                #'libvpx_intrinsics_ssse3',
12 +                #'libvpx_intrinsics_sse4_1',
13                  # Currently no avx intrinsic functions
14                  #'libvpx_intrinsics_avx',
15                  #'libvpx_intrinsics_avx2',
16 diff --git a/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h b/source/config/linux/ia32/vp8_rtcd.h
17 index 3fe9d07..f6287a5 100644
18 --- a/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h
19 +++ b/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h
20 @@ -543,7 +543,6 @@ static void setup_rtcd_internal(void)
21      if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4;
22      vp8_fast_quantize_b = vp8_fast_quantize_b_c;
23      if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
24 -    if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
25      vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_c;
26      if (flags & HAS_SSE2) vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_sse2;
27      vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_c;
28 @@ -603,7 +602,6 @@ static void setup_rtcd_internal(void)
29      if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4;
30      vp8_regular_quantize_b = vp8_regular_quantize_b_c;
31      if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
32 -    if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4_1;
33      vp8_sad16x16 = vp8_sad16x16_c;
34      if (flags & HAS_MMX) vp8_sad16x16 = vp8_sad16x16_mmx;
35      if (flags & HAS_SSE2) vp8_sad16x16 = vp8_sad16x16_wmt;
36 @@ -686,11 +684,9 @@ static void setup_rtcd_internal(void)
37      vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_c;
38      if (flags & HAS_MMX) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_mmx;
39      if (flags & HAS_SSE2) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_wmt;
40 -    if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_ssse3;
41      vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_c;
42      if (flags & HAS_MMX) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_mmx;
43      if (flags & HAS_SSE2) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt;
44 -    if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_ssse3;
45      vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_c;
46      if (flags & HAS_MMX) vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_mmx;
47      if (flags & HAS_SSE2) vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_wmt;
48 diff --git a/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h b/source/config/linux/ia32/vp9_rtcd.h
49 index 2d6c530..bfa079e 100644
50 --- a/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h
51 +++ b/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h
52 @@ -996,12 +996,10 @@ static void setup_rtcd_internal(void)
53      if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3;
54      vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
55      if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
56 -    if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
57      vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
58      if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
59      vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
60      if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
61 -    if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
62      vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
63      if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
64      vp9_idct32x32_1_add = vp9_idct32x32_1_add_c;