Index: include/libyuv/planar_functions.h |
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h |
index 9c19a59dfefb04aaf133409f418adeb4285aa9b0..881b0c5c6473c9392636e7290ef6fff1f420006e 100644 |
--- a/include/libyuv/planar_functions.h |
+++ b/include/libyuv/planar_functions.h |
@@ -288,6 +288,12 @@ int ARGBCopyAlpha(const uint8* src_argb, int src_stride_argb, |
uint8* dst_argb, int dst_stride_argb, |
int width, int height); |
+// Extract the alpha channel from ARGB. |
+LIBYUV_API |
+int ARGBExtractAlpha(const uint8* src_argb, int src_stride_argb, |
+ uint8* dst_a, int dst_stride_a, |
+ int width, int height); |
+ |
// Copy Y channel to Alpha of ARGB. |
LIBYUV_API |
int ARGBCopyYToAlpha(const uint8* src_y, int src_stride_y, |