mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-11 04:39:53 +08:00
Rotate use NULL for C compatability
Bug: b/353323977 Change-Id: I2472f23ce8fcc0bc09a292bd6fb758304c6c2b18 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5735714 Reviewed-by: Wan-Teh Chang <wtc@google.com>
This commit is contained in:
parent
36abe81e92
commit
4cd90347e7
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: https://chromium.googlesource.com/libyuv/libyuv/
|
URL: https://chromium.googlesource.com/libyuv/libyuv/
|
||||||
Version: 1891
|
Version: 1892
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
Shipped: yes
|
Shipped: yes
|
||||||
|
|||||||
@ -28,7 +28,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// clang >= 19.0.0 required for SME
|
// clang >= 19.0.0 required for SME
|
||||||
#if defined(__clang__) && defined(__aarch64__) && !defined(LIBYUV_DISABLE_SME)
|
#if !defined(LIBYUV_DISABLE_SME) && defined(__clang__) && defined(__aarch64__)
|
||||||
#if __clang_major__ < 19
|
#if __clang_major__ < 19
|
||||||
#define LIBYUV_DISABLE_SME
|
#define LIBYUV_DISABLE_SME
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1891
|
#define LIBYUV_VERSION 1892
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|||||||
@ -33,7 +33,7 @@ void TransposePlane(const uint8_t* src,
|
|||||||
int i = height;
|
int i = height;
|
||||||
#if defined(HAS_TRANSPOSEWXH_SME)
|
#if defined(HAS_TRANSPOSEWXH_SME)
|
||||||
void (*TransposeWxH)(const uint8_t* src, int src_stride, uint8_t* dst,
|
void (*TransposeWxH)(const uint8_t* src, int src_stride, uint8_t* dst,
|
||||||
int dst_stride, int width, int height) = nullptr;
|
int dst_stride, int width, int height) = NULL;
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAS_TRANSPOSEWX16_MSA) || defined(HAS_TRANSPOSEWX16_LSX) || \
|
#if defined(HAS_TRANSPOSEWX16_MSA) || defined(HAS_TRANSPOSEWX16_LSX) || \
|
||||||
defined(HAS_TRANSPOSEWX16_NEON)
|
defined(HAS_TRANSPOSEWX16_NEON)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user