libyuv: cherry-pick MSVC arm build fix
Issue 24479004: Fix building with MSVC for arm https://webrtc-codereview.appspot.com/24479004/ Change-Id: I758b33a21f46e46af6e58d83b7c045262ac9c7d9
This commit is contained in:
parent
89963bf586
commit
fcd431fdc7
2
third_party/libyuv/README.libvpx
vendored
2
third_party/libyuv/README.libvpx
vendored
@ -13,4 +13,4 @@ which down-samples the original input video (f.g. 1280x720) a number of times
|
|||||||
in order to encode multiple resolution bit streams.
|
in order to encode multiple resolution bit streams.
|
||||||
|
|
||||||
Local Modifications:
|
Local Modifications:
|
||||||
None.
|
cherry-pick 'Issue 24479004: Fix building with MSVC for arm'
|
||||||
|
3
third_party/libyuv/source/cpu_id.cc
vendored
3
third_party/libyuv/source/cpu_id.cc
vendored
@ -15,7 +15,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#if !defined(__pnacl__) && !defined(__CLR_VER) && \
|
#if !defined(__pnacl__) && !defined(__CLR_VER) && \
|
||||||
!defined(__native_client__) && \
|
!defined(__native_client__) && \
|
||||||
defined(_MSC_VER) && (_MSC_FULL_VER >= 160040219)
|
defined(_MSC_VER) && (_MSC_FULL_VER >= 160040219) && \
|
||||||
|
(defined(_M_IX86) || defined(_M_X64))
|
||||||
#include <immintrin.h> // For _xgetbv()
|
#include <immintrin.h> // For _xgetbv()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
3
third_party/libyuv/source/row_win.cc
vendored
3
third_party/libyuv/source/row_win.cc
vendored
@ -21,7 +21,8 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This module is for Visual C.
|
// This module is for Visual C.
|
||||||
#if !defined(LIBYUV_DISABLE_X86) && defined(_MSC_VER)
|
#if !defined(LIBYUV_DISABLE_X86) && defined(_MSC_VER) && \
|
||||||
|
(defined(_M_IX86) || defined(_M_X64))
|
||||||
|
|
||||||
#define YG 74 /* (int8)(1.164 * 64 + 0.5) */
|
#define YG 74 /* (int8)(1.164 * 64 + 0.5) */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user