diff options
author | Frank Barchard <fbarchard@google.com> | 2023-06-01 15:01:14 -0700 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-06-02 00:42:02 +0000 |
commit | 157b153b6083acf0b39bfd3192538c4a8ae5d817 (patch) | |
tree | 28190da2a9e7776ce4c576b75859ccf0cfeec2ab /include | |
parent | c0f64c14ca28b49d7eeb77c0f7982610879e0074 (diff) | |
download | libyuv-157b153b6083acf0b39bfd3192538c4a8ae5d817.tar.gz |
Fix tidy warning that uint32_t dither4 should not be const
- Remove const from uint32_t dither4 parameter to fix clang-tidy warning
- Apply clang format
- Bump version
- Remove unused MMI source; superceded by MSA
Bug: None
Change-Id: Id49991db25bca4e99590b415312542d917471c62
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4581882
Reviewed-by: Wan-Teh Chang <wtc@google.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libyuv/convert.h | 1 | ||||
-rw-r--r-- | include/libyuv/row.h | 14 | ||||
-rw-r--r-- | include/libyuv/version.h | 2 |
3 files changed, 8 insertions, 9 deletions
diff --git a/include/libyuv/convert.h b/include/libyuv/convert.h index 93f56ed4..88619a4f 100644 --- a/include/libyuv/convert.h +++ b/include/libyuv/convert.h @@ -418,7 +418,6 @@ int I412ToI420(const uint16_t* src_y, int width, int height); - #define I412ToI012 I410ToI010 #define H410ToH010 I410ToI010 #define H412ToH012 I410ToI010 diff --git a/include/libyuv/row.h b/include/libyuv/row.h index 3590f125..5b244d77 100644 --- a/include/libyuv/row.h +++ b/include/libyuv/row.h @@ -3378,15 +3378,15 @@ void ARGBToRGB24Row_AVX512VBMI(const uint8_t* src, uint8_t* dst, int width); void ARGBToRGB565DitherRow_C(const uint8_t* src_argb, uint8_t* dst_rgb, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB565DitherRow_SSE2(const uint8_t* src, uint8_t* dst, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB565DitherRow_AVX2(const uint8_t* src, uint8_t* dst, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB565Row_AVX2(const uint8_t* src_argb, uint8_t* dst_rgb, int width); @@ -3414,7 +3414,7 @@ void ARGBToARGB4444Row_NEON(const uint8_t* src_argb, int width); void ARGBToRGB565DitherRow_NEON(const uint8_t* src_argb, uint8_t* dst_rgb, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB24Row_MSA(const uint8_t* src_argb, uint8_t* dst_rgb, int width); void ARGBToRAWRow_MSA(const uint8_t* src_argb, uint8_t* dst_rgb, int width); @@ -3427,15 +3427,15 @@ void ARGBToARGB4444Row_MSA(const uint8_t* src_argb, int width); void ARGBToRGB565DitherRow_MSA(const uint8_t* src_argb, uint8_t* dst_rgb, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB565DitherRow_LSX(const uint8_t* src_argb, uint8_t* dst_rgb, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB565DitherRow_LASX(const uint8_t* src_argb, uint8_t* dst_rgb, - const uint32_t dither4, + uint32_t dither4, int width); void ARGBToRGB24Row_LSX(const uint8_t* src_argb, uint8_t* dst_rgb, int width); diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 20701e07..b6623dbb 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 1870 +#define LIBYUV_VERSION 1871 #endif // INCLUDE_LIBYUV_VERSION_H_ |