Commit aaf5f675 authored by fbarchard@google.com's avatar fbarchard@google.com

copyrow for neon but not thumb for cros

BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/408004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@189 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 41ac71d2
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 188 Version: 189
License: BSD License: BSD
License File: LICENSE License File: LICENSE
......
// (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. /*
// Copyright (c) 2001, 2002 Peter Dimov * Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
// * Copyright (c) 2001, 2002 Peter Dimov
// Permission to copy, use, modify, sell and distribute this software * Copyright (c) 1998, 1999 Greg Colvin and Beman Dawes
// is granted provided this copyright notice appears in all copies. *
// This software is provided "as is" without express or implied * Use of this source code is governed by a BSD-style license
// warranty, and with no claim as to its suitability for any purpose. * that can be found in the LICENSE file in the root of the source
// * tree. An additional intellectual property rights grant can be found
// See http://www.boost.org/libs/smart_ptr/scoped_ptr.htm for documentation. * in the file PATENTS. All contributing project authors may
// * be found in the AUTHORS file in the root of the source tree.
*
// scoped_ptr mimics a built-in pointer except that it guarantees deletion * Permission to copy, use, modify, sell and distribute this software
// of the object pointed to, either on destruction of the scoped_ptr or via * is granted provided this copyright notice appears in all copies.
// an explicit reset(). scoped_ptr is a simple solution for simple needs; * This software is provided "as is" without express or implied
// use shared_ptr or std::auto_ptr if your needs are more complex. * warranty, and with no claim as to its suitability for any purpose.
*
// scoped_ptr_malloc added in by Google. When one of * See http://www.boost.org/libs/smart_ptr/scoped_ptr.htm for documentation.
// these goes out of scope, instead of doing a delete or delete[], it *
// calls free(). scoped_ptr_malloc<char> is likely to see much more * scoped_ptr mimics a built-in pointer except that it guarantees deletion
// use than any other specializations. * of the object pointed to, either on destruction of the scoped_ptr or via
* an explicit reset(). scoped_ptr is a simple solution for simple needs;
// release() added in by Google. Use this to conditionally * use shared_ptr or std::auto_ptr if your needs are more complex.
// transfer ownership of a heap-allocated object to the caller, usually on *
// method success. * scoped_ptr_malloc added in by Google. When one of
* these goes out of scope, instead of doing a delete or delete[], it
* calls free(). scoped_ptr_malloc<char> is likely to see much more
* use than any other specializations.
*
* release() added in by Google. Use this to conditionally
* transfer ownership of a heap-allocated object to the caller, usually on
* method success.
*/
// TODO(fbarchard): move into source as implementation detail // TODO(fbarchard): move into source as implementation detail
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ #ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_ #define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 188 #define LIBYUV_VERSION 189
#endif // INCLUDE_LIBYUV_VERSION_H_ #endif // INCLUDE_LIBYUV_VERSION_H_
/* /*
* Copyright (c) 2011 The LibYuv project authors. All Rights Reserved. * Copyright (c) 2012 The LibYuv project authors. All Rights Reserved.
* *
* Use of this source code is governed by a BSD-style license * Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source * that can be found in the LICENSE file in the root of the source
......
/*
* Copyright (c) 2012 The LibYuv project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
// TODO(fbarchard): Remove once builds have switched to convert_from // TODO(fbarchard): Remove once builds have switched to convert_from
#include "convert_from.cc" #include "convert_from.cc"
...@@ -67,12 +67,16 @@ extern "C" { ...@@ -67,12 +67,16 @@ extern "C" {
#if defined(__ARM_NEON__) && !defined(YUV_DISABLE_ASM) #if defined(__ARM_NEON__) && !defined(YUV_DISABLE_ASM)
#define HAS_MIRRORROW_NEON #define HAS_MIRRORROW_NEON
#define HAS_SPLITUV_NEON #define HAS_SPLITUV_NEON
#define HAS_COPYROW_NEON
#define HAS_I420TOARGBROW_NEON #define HAS_I420TOARGBROW_NEON
#define HAS_I420TOBGRAROW_NEON #define HAS_I420TOBGRAROW_NEON
#define HAS_I420TOABGRROW_NEON #define HAS_I420TOABGRROW_NEON
#endif #endif
// The following are available on Neon platforms
#if defined(__ARM_NEON__) && !defined(__thumb__) && !defined(YUV_DISABLE_ASM)
#define HAS_COPYROW_NEON
#endif
#if defined(_MSC_VER) #if defined(_MSC_VER)
#define SIMD_ALIGNED(var) __declspec(align(16)) var #define SIMD_ALIGNED(var) __declspec(align(16)) var
typedef __declspec(align(16)) signed char vec8[16]; typedef __declspec(align(16)) signed char vec8[16];
......
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