aboutsummaryrefslogtreecommitdiff
path: root/source/convert_from_argb.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2023-06-01 15:01:14 -0700
committerlibyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-06-02 00:42:02 +0000
commit157b153b6083acf0b39bfd3192538c4a8ae5d817 (patch)
tree28190da2a9e7776ce4c576b75859ccf0cfeec2ab /source/convert_from_argb.cc
parentc0f64c14ca28b49d7eeb77c0f7982610879e0074 (diff)
downloadlibyuv-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 'source/convert_from_argb.cc')
-rw-r--r--source/convert_from_argb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/convert_from_argb.cc b/source/convert_from_argb.cc
index b192a3b7..c3d037c4 100644
--- a/source/convert_from_argb.cc
+++ b/source/convert_from_argb.cc
@@ -1741,7 +1741,7 @@ int ARGBToRGB565Dither(const uint8_t* src_argb,
int height) {
int y;
void (*ARGBToRGB565DitherRow)(const uint8_t* src_argb, uint8_t* dst_rgb,
- const uint32_t dither4, int width) =
+ uint32_t dither4, int width) =
ARGBToRGB565DitherRow_C;
if (!src_argb || !dst_rgb565 || width <= 0 || height == 0) {
return -1;