From 594d59d0431b9d41da95a13d4346c07c89100303 Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Sun, 7 Oct 2018 19:34:46 -0700 Subject: [PATCH] clang tidy mismatch in J420ToRGB565 Fix parameter names to match definition and other functions that use dst_rgb565 for the parameter. BUG=libyuv:819, b:109762970 TESTED=locally built to ensure tests still pass. Change-Id: I2ac20a999e60cda559a150932f0fc4075224b8a5 Reviewed-on: https://chromium-review.googlesource.com/c/1267795 Commit-Queue: Frank Barchard Reviewed-by: Mirko Bonadei Reviewed-by: Frank Barchard --- include/libyuv/convert_from.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libyuv/convert_from.h b/include/libyuv/convert_from.h index e044d6bec..861418d07 100644 --- a/include/libyuv/convert_from.h +++ b/include/libyuv/convert_from.h @@ -246,8 +246,8 @@ int J420ToRGB565(const uint8_t* src_y, int src_stride_u, const uint8_t* src_v, int src_stride_v, - uint8_t* dst_frame, - int dst_stride_frame, + uint8_t* dst_rgb565, + int dst_stride_rgb565, int width, int height); @@ -258,8 +258,8 @@ int H420ToRGB565(const uint8_t* src_y, int src_stride_u, const uint8_t* src_v, int src_stride_v, - uint8_t* dst_frame, - int dst_stride_frame, + uint8_t* dst_rgb565, + int dst_stride_rgb565, int width, int height);