mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-10-28 18:07:12 +08:00
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:
parent
019de35678
commit
a86d27122a
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: https://chromium.googlesource.com/libyuv/libyuv/
|
URL: https://chromium.googlesource.com/libyuv/libyuv/
|
||||||
Version: 1953
|
Version: 1954
|
||||||
Revision: DEPS
|
Revision: DEPS
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|||||||
@ -418,6 +418,18 @@ int ARGBToNV12Matrix(const uint8_t* src_argb,
|
|||||||
int width,
|
int width,
|
||||||
int height);
|
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.
|
// Convert ARGB To NV21.
|
||||||
LIBYUV_API
|
LIBYUV_API
|
||||||
int ARGBToNV21(const uint8_t* src_argb,
|
int ARGBToNV21(const uint8_t* src_argb,
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1953
|
#define LIBYUV_VERSION 1954
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|||||||
@ -632,6 +632,7 @@ int ARGBToNV12Matrix(const uint8_t* src_argb,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LIBYUV_API
|
||||||
int ARGBToNV21Matrix(const uint8_t* src_argb,
|
int ARGBToNV21Matrix(const uint8_t* src_argb,
|
||||||
int src_stride_argb,
|
int src_stride_argb,
|
||||||
uint8_t* dst_y,
|
uint8_t* dst_y,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user