Commit 697c5aa8 authored by fbarchard@google.com's avatar fbarchard@google.com

disable nv12 avx2 for vs9/10 that dont support avx2 instructions.

BUG=409
TESTED=try bots
R=harryjin@google.com, johannkoenig@google.com

Review URL: https://webrtc-codereview.appspot.com/43629004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1311 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent bdeb9ac5
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1310
Version: 1311
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1310
#define LIBYUV_VERSION 1311
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
......@@ -1775,6 +1775,7 @@ void I422ToARGBRow_AVX2(const uint8* y_buf,
}
#endif // HAS_I422TOARGBROW_AVX2
#ifdef HAS_NV12TOARGBROW_AVX2
// 16 pixels.
// 8 UV values upsampled to 16 UV, mixed with 16 Y producing 16 ARGB (64 bytes).
__declspec(naked) __declspec(align(16))
......@@ -1802,7 +1803,9 @@ void NV12ToARGBRow_AVX2(const uint8* y_buf,
ret
}
}
#endif // HAS_NV12TOARGBROW_AVX2
#ifdef HAS_NV21TOARGBROW_AVX2
// 16 pixels.
// 8 VU values upsampled to 16 VU, mixed with 16 Y producing 16 ARGB (64 bytes).
__declspec(naked) __declspec(align(16))
......@@ -1830,6 +1833,7 @@ void NV21ToARGBRow_AVX2(const uint8* y_buf,
ret
}
}
#endif // HAS_NV21TOARGBROW_AVX2
#ifdef HAS_I422TOBGRAROW_AVX2
// 16 pixels
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment