diff --git a/Android.mk b/Android.mk index 36c02adf3..ffc3a2426 100644 --- a/Android.mk +++ b/Android.mk @@ -47,6 +47,11 @@ LOCAL_SRC_FILES := \ source/video_common.cc common_CFLAGS := -Wall -fexceptions +# Mips builds on NDK r14+ require -no-integrated-as to properly compile inline +# assembly. +ifneq ($(findstring mips, $(TARGET_ARCH_ABI)),) + common_CFLAGS += -no-integrated-as +endif ifneq ($(LIBYUV_DISABLE_JPEG), "yes") LOCAL_SRC_FILES += \ source/convert_jpeg.cc \ diff --git a/README.chromium b/README.chromium index 5f435f592..78d53f151 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1653 +Version: 1654 License: BSD License File: LICENSE diff --git a/include/libyuv/row.h b/include/libyuv/row.h index 4b1d111d2..3e5dd2003 100644 --- a/include/libyuv/row.h +++ b/include/libyuv/row.h @@ -357,8 +357,7 @@ extern "C" { // The following are available on Mips platforms: #if !defined(LIBYUV_DISABLE_DSPR2) && defined(__mips__) && \ (_MIPS_SIM == _MIPS_SIM_ABI32) && (__mips_isa_rev < 6) -// TODO(fbarchard): fix CopyRow compile error - issue #700 -// #define HAS_COPYROW_MIPS +#define HAS_COPYROW_MIPS #if defined(__mips_dsp) && (__mips_dsp_rev >= 2) #define HAS_I422TOARGBROW_DSPR2 #define HAS_INTERPOLATEROW_DSPR2 diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 24f794623..2ababe4f7 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1653 +#define LIBYUV_VERSION 1654 #endif // INCLUDE_LIBYUV_VERSION_H_ diff --git a/source/row_dspr2.cc b/source/row_dspr2.cc index 2ded3f4fe..466dd5d91 100644 --- a/source/row_dspr2.cc +++ b/source/row_dspr2.cc @@ -19,7 +19,6 @@ extern "C" { #if !defined(LIBYUV_DISABLE_DSPR2) && defined(__mips__) && \ (_MIPS_SIM == _MIPS_SIM_ABI32) -// TODO(fbarchard): fix sgtu in CopyRow_MIPS for android sdk r14. bug/700 #ifdef HAS_COPYROW_MIPS void CopyRow_MIPS(const uint8* src, uint8* dst, int count) { __asm__ __volatile__(