mediatype-video-raw: add Y412_LE and Y412_BE
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 18 Mar 2020 04:28:31 +0000 (12:28 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 2 Apr 2020 08:34:55 +0000 (08:34 +0000)
markdown/additional/design/mediatype-video-raw.md

index e2aa34d..356daad 100644 (file)
           default rstride: RU8 (width * 4)
           default size:    rstride (image) * height
 ```
+
+- **"Y412\_LE"** Packed 4:4:4:4 AYUV, 2 bytes per channel where color value is stored in MSB 12 bits (U-Y-V-A), LE
+
+```
+        Component 0: Y
+          depth:           12 LE
+          pstride:         8
+          default offset:  2
+
+        Component 1: U
+          depth:           12 LE
+          pstride:         8
+          offset:          0
+
+        Component 2: V
+          depth            12 LE
+          pstride:         8
+          offset:          4
+
+        Component 2: A
+          depth            12 LE
+          pstride:         8
+          offset:          6
+
+        Image
+          default rstride: width * 8
+          default size:    rstride (image) * height
+```
+
+- **"Y412\_BE"** Packed 4:4:4:4 AYUV, 2 bytes per channel where color value is stored in MSB 12 bits (U-Y-V-A), BE
+
+```
+        Component 0: Y
+          depth:           12 BE
+          pstride:         8
+          default offset:  2
+
+        Component 1: U
+          depth:           12 BE
+          pstride:         8
+          offset:          0
+
+        Component 2: V
+          depth            12 BE
+          pstride:         8
+          offset:          4
+
+        Component 2: A
+          depth            12 BE
+          pstride:         8
+          offset:          6
+
+        Image
+          default rstride: width * 8
+          default size:    rstride (image) * height
+```