mips optimized copy for all functions using CopyRows.
BUG=176
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1074010

git-svn-id: http://libyuv.googlecode.com/svn/trunk@556 16f28f9a-4ce2-e073-06de-1de4eb20be90
diff --git a/README.chromium b/README.chromium
index 340f274..3eb868b 100644
--- a/README.chromium
+++ b/README.chromium
@@ -1,6 +1,6 @@
 Name: libyuv
 URL: http://code.google.com/p/libyuv/
-Version: 555
+Version: 556
 License: BSD
 License File: LICENSE
 
diff --git a/include/libyuv/version.h b/include/libyuv/version.h
index 0ca84e1..7c36a71 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 555
+#define LIBYUV_VERSION 556
 
 #endif  // INCLUDE_LIBYUV_VERSION_H_  NOLINT
diff --git a/source/convert.cc b/source/convert.cc
index a284fb8..7c70b50 100644
--- a/source/convert.cc
+++ b/source/convert.cc
@@ -310,6 +310,11 @@
 #endif
   }
 #endif
+#if defined(HAS_COPYROW_MIPS)
+  if (TestCpuFlag(kCpuHasMIPS)) {
+    CopyRow = CopyRow_MIPS;
+  }
+#endif
 
   // Copy plane
   for (int y = 0; y < height - 1; y += 2) {
@@ -514,6 +519,11 @@
     CopyRow = CopyRow_SSE2;
   }
 #endif
+#if defined(HAS_COPYROW_MIPS)
+  if (TestCpuFlag(kCpuHasMIPS)) {
+    CopyRow = CopyRow_MIPS;
+  }
+#endif
 
   void (*YUY2ToUV422Row)(const uint8* src_yuy2, uint8* dst_u, uint8* dst_v,
       int pix) = YUY2ToUV422Row_C;
diff --git a/source/convert_from.cc b/source/convert_from.cc
index ecddaab..c29903f 100644
--- a/source/convert_from.cc
+++ b/source/convert_from.cc
@@ -68,6 +68,11 @@
 #endif
   }
 #endif
+#if defined(HAS_COPYROW_MIPS)
+  if (TestCpuFlag(kCpuHasMIPS)) {
+    CopyRow = CopyRow_MIPS;
+  }
+#endif
 
   // Copy Y plane
   if (dst_y) {
diff --git a/source/rotate.cc b/source/rotate.cc
index d141767..4d0ac9d 100644
--- a/source/rotate.cc
+++ b/source/rotate.cc
@@ -907,6 +907,11 @@
     CopyRow = CopyRow_SSE2;
   }
 #endif
+#if defined(HAS_COPYROW_MIPS)
+  if (TestCpuFlag(kCpuHasMIPS)) {
+    CopyRow = CopyRow_MIPS;
+  }
+#endif
   if (width > kMaxStride) {
     return;
   }
diff --git a/source/rotate_argb.cc b/source/rotate_argb.cc
index 880d1ea..02f928e 100644
--- a/source/rotate_argb.cc
+++ b/source/rotate_argb.cc
@@ -121,6 +121,11 @@
     CopyRow = CopyRow_SSE2;
   }
 #endif
+#if defined(HAS_COPYROW_MIPS)
+  if (TestCpuFlag(kCpuHasMIPS)) {
+    CopyRow = CopyRow_MIPS;
+  }
+#endif
   if (width * 4 > kMaxStride) {
     return;
   }