mediatype-video-raw: add Y212_LE and Y212_BE
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 18 Mar 2020 02:48:43 +0000 (10:48 +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 15c4101..e2aa34d 100644 (file)
         Image
           default size: RU4 (width * 2) * RU2 (height) * 3 / 2
 ```
+
+- **"Y212\_LE"** Packed 4:2:2 YUV, 2 bytes per channel where color value is stored in MSB 12 bits (Y-U-Y-V), LE
+
+```
+        Component 0: Y
+          depth:           12 LE
+          pstride:         4
+          default offset:  0
+
+        Component 1: U
+          depth:           12 LE
+          pstride:         8
+          offset:          2
+
+        Component 2: V
+          depth            12 LE
+          pstride:         8
+          offset:          6
+        Image
+          default rstride: RU8 (width * 4)
+          default size:    rstride (image) * height
+```
+
+- **"Y212\_BE"** Packed 4:2:2 YUV, 2 bytes per channel where color value is stored in MSB 12 bits (Y-U-Y-V), BE
+
+```
+        Component 0: Y
+          depth:           12 BE
+          pstride:         4
+          default offset:  0
+
+        Component 1: U
+          depth:           12 BE
+          pstride:         8
+          offset:          2
+
+        Component 2: V
+          depth            12 BE
+          pstride:         8
+          offset:          6
+        Image
+          default rstride: RU8 (width * 4)
+          default size:    rstride (image) * height
+```