add perf data files to ignores
document play services update
R=jkellander@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/1712463002 .
diff --git a/.gitignore b/.gitignore
index 09c1406..06a8be4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -118,4 +118,6 @@
libyuv_arm.lib
source/*.o
-
+# Files generated by perf
+perf.data
+perf.data.old
diff --git a/README.chromium b/README.chromium
index 94b23a3..d5401f6 100644
--- a/README.chromium
+++ b/README.chromium
@@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
-Version: 1576
+Version: 1577
License: BSD
License File: LICENSE
diff --git a/docs/getting_started.md b/docs/getting_started.md
index d2137e4..c51d1f9 100644
--- a/docs/getting_started.md
+++ b/docs/getting_started.md
@@ -54,6 +54,11 @@
export GYP_DEFINES="OS=android"
gclient sync
+Caveat: Theres an error with Google Play services updates. If you get the error "Your version of the Google Play services library is not up to date", run the following:
+ cd chromium/src
+ ./build/android/play_services/update.py download
+ cd ../..
+
For Windows the gclient sync must be done from an Administrator command prompt.
The sync will generate native build files for your environment using gyp (Windows: Visual Studio, OSX: XCode, Linux: make). This generation can also be forced manually: `gclient runhooks`
diff --git a/include/libyuv/row.h b/include/libyuv/row.h
index a529464..6011524 100644
--- a/include/libyuv/row.h
+++ b/include/libyuv/row.h
@@ -195,6 +195,7 @@
#define HAS_ARGBPOLYNOMIALROW_AVX2
#define HAS_ARGBSHUFFLEROW_AVX2
#define HAS_ARGBTORGB565DITHERROW_AVX2
+#define HAS_ARGBTOUVJROW_AVX2
#define HAS_ARGBTOUVROW_AVX2
#define HAS_ARGBTOYJROW_AVX2
#define HAS_ARGBTOYROW_AVX2
@@ -708,8 +709,8 @@
void ARGBToUVRow_AVX2(const uint8* src_argb, int src_stride_argb,
uint8* dst_u, uint8* dst_v, int width);
-void ARGBToUVRow_Any_AVX2(const uint8* src_argb, int src_stride_argb,
- uint8* dst_u, uint8* dst_v, int width);
+void ARGBToUVJRow_AVX2(const uint8* src_argb, int src_stride_argb,
+ uint8* dst_u, uint8* dst_v, int width);
void ARGBToUVRow_SSSE3(const uint8* src_argb, int src_stride_argb,
uint8* dst_u, uint8* dst_v, int width);
void ARGBToUVJRow_SSSE3(const uint8* src_argb, int src_stride_argb,
@@ -720,6 +721,10 @@
uint8* dst_u, uint8* dst_v, int width);
void RGBAToUVRow_SSSE3(const uint8* src_rgba, int src_stride_rgba,
uint8* dst_u, uint8* dst_v, int width);
+void ARGBToUVRow_Any_AVX2(const uint8* src_argb, int src_stride_argb,
+ uint8* dst_u, uint8* dst_v, int width);
+void ARGBToUVJRow_Any_AVX2(const uint8* src_argb, int src_stride_argb,
+ uint8* dst_u, uint8* dst_v, int width);
void ARGBToUVRow_Any_SSSE3(const uint8* src_argb, int src_stride_argb,
uint8* dst_u, uint8* dst_v, int width);
void ARGBToUVJRow_Any_SSSE3(const uint8* src_argb, int src_stride_argb,
diff --git a/include/libyuv/version.h b/include/libyuv/version.h
index 1f7f524..c7800d5 100644
--- a/include/libyuv/version.h
+++ b/include/libyuv/version.h
@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
-#define LIBYUV_VERSION 1576
+#define LIBYUV_VERSION 1577
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
diff --git a/source/row_any.cc b/source/row_any.cc
index 63ad86c..29b7a34 100644
--- a/source/row_any.cc
+++ b/source/row_any.cc
@@ -756,6 +756,9 @@
#ifdef HAS_ARGBTOUVROW_AVX2
ANY12S(ARGBToUVRow_Any_AVX2, ARGBToUVRow_AVX2, 0, 4, 31)
#endif
+#ifdef HAS_ARGBTOUVJROW_AVX2
+ANY12S(ARGBToUVJRow_Any_AVX2, ARGBToUVJRow_AVX2, 0, 4, 31)
+#endif
#ifdef HAS_ARGBTOUVROW_SSSE3
ANY12S(ARGBToUVRow_Any_SSSE3, ARGBToUVRow_SSSE3, 0, 4, 15)
ANY12S(ARGBToUVJRow_Any_SSSE3, ARGBToUVJRow_SSSE3, 0, 4, 15)