From 019de35678f2bb52756ee30228f0185bb1f71306 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Wed, 5 Aug 2026 13:39:31 -0700 Subject: [PATCH] Rename the dst_stride_uv param of ARGBToNV21Matrix It should be named dst_stride_vu to match the dst_vu parameter. Change-Id: I3a4835eafa358787a858b896060e6c715813bbec Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/8135083 Reviewed-by: Frank Barchard Commit-Queue: Wan-Teh Chang --- source/convert_from_argb.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/convert_from_argb.cc b/source/convert_from_argb.cc index d03b0ab61..225465a3e 100644 --- a/source/convert_from_argb.cc +++ b/source/convert_from_argb.cc @@ -637,7 +637,7 @@ int ARGBToNV21Matrix(const uint8_t* src_argb, uint8_t* dst_y, int dst_stride_y, uint8_t* dst_vu, - int dst_stride_uv, + int dst_stride_vu, const struct ArgbConstants* argbconstants, int width, int height) { @@ -851,7 +851,7 @@ int ARGBToNV21Matrix(const uint8_t* src_argb, argbconstants); src_argb += src_stride_argb * 2; dst_y += dst_stride_y * 2; - dst_vu += dst_stride_uv; + dst_vu += dst_stride_vu; } if (height & 1) { ARGBToUVMatrixRow(src_argb, 0, row_u, row_v, width, argbconstants);