Export the ARGBToNV21Matrix() function

Change-Id: If6edc42e8491bfc0973fe6134b6d6923e9d3befd
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/8198925
Reviewed-by: Frank Barchard <fbarchard@google.com>
Commit-Queue: Wan-Teh Chang <wtc@google.com>
This commit is contained in:
Wan-Teh Chang 2026-08-05 16:01:42 -07:00 committed by libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com
parent 019de35678
commit a86d27122a
4 changed files with 15 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: https://chromium.googlesource.com/libyuv/libyuv/
Version: 1953
Version: 1954
Revision: DEPS
License: BSD-3-Clause
License File: LICENSE

View File

@ -418,6 +418,18 @@ int ARGBToNV12Matrix(const uint8_t* src_argb,
int width,
int height);
// RGB to NV21 with matrix. See ArgbConstants at the top of this file for usage.
LIBYUV_API
int ARGBToNV21Matrix(const uint8_t* src_argb,
int src_stride_argb,
uint8_t* dst_y,
int dst_stride_y,
uint8_t* dst_vu,
int dst_stride_vu,
const struct ArgbConstants* argbconstants,
int width,
int height);
// Convert ARGB To NV21.
LIBYUV_API
int ARGBToNV21(const uint8_t* src_argb,

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1953
#define LIBYUV_VERSION 1954
#endif // INCLUDE_LIBYUV_VERSION_H_

View File

@ -632,6 +632,7 @@ int ARGBToNV12Matrix(const uint8_t* src_argb,
return 0;
}
LIBYUV_API
int ARGBToNV21Matrix(const uint8_t* src_argb,
int src_stride_argb,
uint8_t* dst_y,