GNOME Bugzilla – Bug 767450
video-format: Add VYUY a packed 4:2:2 format
Last modified: 2016-11-01 17:56:23 UTC
This format is the same as YUY2 and UYVY but with VYUY component order. This format is exposed in V4L2 devices (Renesas R-CAR VSP, AM437x, Exynos 4/5, Atmel and PXA sensor, TI VPE and OMAP 1) and is a valid format for a JPEG decoder.
Created attachment 335019 [details] [review] Add VYUY pixel format This format is sometimes the output of JPEG decoders. It is the same as YUY2 and UYVY but with a different component order.
This is only the slow path, if interested, one could introduce all the same fast path found for YUY2 and UYVY. I'm posting here since I notice that this is quite a lot of copy-paste, hence was wondering if we could find a way (macro?) to reduce this.
Review of attachment 335019 [details] [review]: This is for after 1.10
commit 7a40442ad5430d954470bc4e3e50cd38e025e7b0 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com> Date: Wed Sep 7 15:01:13 2016 -0400 video: Add VYUY pixel format This format is sometimes the output of JPEG decoders. It is the same as YUY2 and UYVY but with a different component order. https://bugzilla.gnome.org/show_bug.cgi?id=767450