From c6c8689c74d8c20ab66b4e9340ba407848e32187 Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Tue, 12 May 2026 15:22:24 -0700 Subject: [PATCH] Fix I444 and J444 parameter names/order Bug: libyuv:42280902 Change-Id: Ia2c45f2d996d071534b08381f61adf8cb8ef35b9 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7841767 Reviewed-by: richard winterton Commit-Queue: Frank Barchard --- source/convert_from_argb.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/convert_from_argb.cc b/source/convert_from_argb.cc index 71a616550..965ce0b9f 100644 --- a/source/convert_from_argb.cc +++ b/source/convert_from_argb.cc @@ -24,16 +24,16 @@ extern "C" { LIBYUV_API int ARGBToI444(const uint8_t* src_argb, int src_stride_argb, + uint8_t* dst_y, + int dst_stride_y, uint8_t* dst_u, int dst_stride_u, uint8_t* dst_v, int dst_stride_v, - uint8_t* dst_y, - int dst_stride_y, int width, int height) { - return ARGBToI444Matrix(src_argb, src_stride_argb, dst_u, dst_stride_u, dst_v, - dst_stride_v, dst_y, dst_stride_y, &kArgbI601Constants, + return ARGBToI444Matrix(src_argb, src_stride_argb, dst_y, dst_stride_y, dst_u, + dst_stride_u, dst_v, dst_stride_v, &kArgbI601Constants, width, height); } @@ -1809,16 +1809,16 @@ int ARGBToAR30(const uint8_t* src_argb, LIBYUV_API int ARGBToJ444(const uint8_t* src_argb, int src_stride_argb, + uint8_t* dst_y, + int dst_stride_y, uint8_t* dst_u, int dst_stride_u, uint8_t* dst_v, int dst_stride_v, - uint8_t* dst_y, - int dst_stride_y, int width, int height) { - return ARGBToI444Matrix(src_argb, src_stride_argb, dst_u, dst_stride_u, dst_v, - dst_stride_v, dst_y, dst_stride_y, &kArgbJPEGConstants, + return ARGBToI444Matrix(src_argb, src_stride_argb, dst_y, dst_stride_y, dst_u, + dst_stride_u, dst_v, dst_stride_v, &kArgbJPEGConstants, width, height); }