docs: design: add IYU2 raw video format description
authorJoan Pau Beltran <joanpau.beltran@socib.cat>
Wed, 1 Jun 2016 13:31:52 +0000 (15:31 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 1 Jun 2016 14:09:42 +0000 (15:09 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=763026

docs/design/part-mediatype-video-raw.txt

index 541b366..c7fc837 100644 (file)
@@ -754,6 +754,30 @@ Formats
           default rstride: RU4 (width * 3)
           default size:    rstride (image) * height
 
+ "IYU2" packed 4:4:4 YUV, U-Y-V order
+
+       +--+--+--+ +--+--+--+
+       |U0|Y0|V0| |U1|Y1|V1| ...
+       +--+--+--+ +--+--+--+
+
+        Component 0: Y
+          depth:           8
+          pstride:         3
+          offset:          1
+
+        Component 1: U
+          depth            8
+          pstride:         3
+          offset:          0
+
+        Component 2: V
+          depth:           8
+          pstride:         3
+          offset:          2
+
+        Image
+          default rstride: RU4 (width * 3)
+          default size:    rstride (image) * height
 
  "RGB16" rgb 5-6-5 bits per component