After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767450 - video-format: Add VYUY a packed 4:2:2 format
video-format: Add VYUY a packed 4:2:2 format
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-09 13:17 UTC by Nicolas Dufresne (ndufresne)
Modified: 2016-11-01 17:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add VYUY pixel format (8.35 KB, patch)
2016-09-07 19:03 UTC, Nicolas Dufresne (ndufresne)
committed Details | Review

Description Nicolas Dufresne (ndufresne) 2016-06-09 13:17:24 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.
Comment 1 Nicolas Dufresne (ndufresne) 2016-09-07 19:03:00 UTC
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.
Comment 2 Nicolas Dufresne (ndufresne) 2016-09-07 19:06:20 UTC
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.
Comment 3 Nicolas Dufresne (ndufresne) 2016-09-12 14:43:16 UTC
Review of attachment 335019 [details] [review]:

This is for after 1.10
Comment 4 Sebastian Dröge (slomo) 2016-11-01 17:56:07 UTC
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