Commit b3bbcc1f authored by Frank Barchard's avatar Frank Barchard

add ifdef for AVX2 so vs2010 can still compile

R=harryjin@google.com
BUG=libyuv:531

Review URL: https://codereview.chromium.org/1515503005 .
parent cb449364
......@@ -2300,6 +2300,7 @@ void NV21ToARGBRow_AVX2(const uint8* y_buf,
}
#endif // HAS_NV21TOARGBROW_AVX2
#ifdef HAS_YUY2TOARGBROW_AVX2
// 16 pixels.
// 8 YUY2 values with 16 Y and 8 UV producing 16 ARGB (64 bytes).
__declspec(naked)
......@@ -2328,7 +2329,9 @@ void YUY2ToARGBRow_AVX2(const uint8* src_yuy2,
ret
}
}
#endif // HAS_YUY2TOARGBROW_AVX2
#ifdef HAS_UYVYTOARGBROW_AVX2
// 16 pixels.
// 8 UYVY values with 16 Y and 8 UV producing 16 ARGB (64 bytes).
__declspec(naked)
......@@ -2357,6 +2360,7 @@ void UYVYToARGBRow_AVX2(const uint8* src_uyvy,
ret
}
}
#endif // HAS_UYVYTOARGBROW_AVX2
#ifdef HAS_I422TORGBAROW_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