mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
Extend both the CMake and BUILD.gn configurations to support building a library with the Arm Scalable Matrix Extension (SME). Add an initial (empty) rotate_sme.cc source file to populate the library for now. Change-Id: Icd4bd6a8ce72ba132299b00c99478a18a85d869a Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5588664 Reviewed-by: Justin Green <greenjustin@google.com> Reviewed-by: Frank Barchard <fbarchard@chromium.org>
31 lines
784 B
C++
31 lines
784 B
C++
/*
|
|
* Copyright 2024 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.
|
|
*/
|
|
|
|
#include "libyuv/rotate_row.h"
|
|
#include "libyuv/row.h"
|
|
|
|
#include "libyuv/basic_types.h"
|
|
|
|
#ifdef __cplusplus
|
|
namespace libyuv {
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if !defined(LIBYUV_DISABLE_SME) && defined(__aarch64__)
|
|
|
|
// TODO: Port rotate kernels to SME.
|
|
|
|
#endif // !defined(LIBYUV_DISABLE_SME) && defined(__aarch64__)
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
} // namespace libyuv
|
|
#endif
|