mediatype-video-raw: add Y212_LE and Y212_BE

This commit is contained in:
Haihao Xiang 2020-03-18 10:48:43 +08:00 committed by Tim-Philipp Müller
parent ffa1486d76
commit 600351a30d

View file

@ -1392,3 +1392,47 @@
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
```