aboutsummaryrefslogtreecommitdiff
path: root/include/libyuv/planar_functions.h
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2020-03-20 15:22:53 -0700
committerFrank Barchard <fbarchard@chromium.org>2020-03-21 20:19:44 +0000
commitb5e223ac4c8ccfbc6bef874fb5e0781809570170 (patch)
treeb1f184963e659d9b836d21253244d3d15ef94c5c /include/libyuv/planar_functions.h
parent45f1f2b201672b699b35da20267a5f2c41318264 (diff)
downloadlibyuv-b5e223ac4c8ccfbc6bef874fb5e0781809570170.tar.gz
Upstream all libyuv changes to version 1746 Prefetch for all arm functions - helps performance at higher resolutions Make MirrorPlane function public.
Bug: libyuv:855 Change-Id: I4020face6b52767ee78d81870314285d63e98b95 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2113650 Reviewed-by: Hsiu Wang <hsiu@google.com>
Diffstat (limited to 'include/libyuv/planar_functions.h')
-rw-r--r--include/libyuv/planar_functions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h
index 57395262..2aa95335 100644
--- a/include/libyuv/planar_functions.h
+++ b/include/libyuv/planar_functions.h
@@ -313,6 +313,15 @@ int ARGBMirror(const uint8_t* src_argb,
int width,
int height);
+// Mirror a plane of data.
+LIBYUV_API
+void MirrorPlane(const uint8_t* src_y,
+ int src_stride_y,
+ uint8_t* dst_y,
+ int dst_stride_y,
+ int width,
+ int height);
+
// Convert NV12 to RGB565.
LIBYUV_API
int NV12ToRGB565(const uint8_t* src_y,