summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/video-orc.orc
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/video/video-orc.orc')
-rw-r--r--gst-libs/gst/video/video-orc.orc11
1 files changed, 11 insertions, 0 deletions
diff --git a/gst-libs/gst/video/video-orc.orc b/gst-libs/gst/video/video-orc.orc
index 1a8168a95..60d7c95d1 100644
--- a/gst-libs/gst/video/video-orc.orc
+++ b/gst-libs/gst/video/video-orc.orc
@@ -2552,3 +2552,14 @@ x4 convsuswb d, p
loadpq m, masks
x4 addusw p, d, e1
x4 andnw d, m, p
+
+.function video_orc_convert_UYVY_GRAY8
+.flags 2d
+.dest 1 d guint8
+.source 2 s
+.temp 1 t1
+.temp 2 t2
+
+loadw t2, s
+convhwb t1, t2
+storeb d, t1