mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
mediatype-video-raw: add P012_LE and P012_BE
This commit is contained in:
parent
a51c082de7
commit
ffa1486d76
1 changed files with 52 additions and 0 deletions
|
@ -1340,3 +1340,55 @@
|
|||
tile width: 6
|
||||
tile height: 5
|
||||
```
|
||||
|
||||
- **"P012\_LE"** planar 4:2:0 YUV with interleaved UV plane, 2 bytes per channel where color data is stored in MSB 12 bits, LE
|
||||
|
||||
```
|
||||
Component 0: Y
|
||||
depth: 12 LE
|
||||
pstride: 2
|
||||
default offset: 0
|
||||
default rstride: RU4 (width * 2)
|
||||
default size: rstride (component0) * RU2 (height)
|
||||
|
||||
Component 1: U
|
||||
depth: 12 LE
|
||||
pstride: 4
|
||||
default offset: size (component0)
|
||||
default rstride: RU4 (width * 2)
|
||||
|
||||
Component 2: V
|
||||
depth 12 LE
|
||||
pstride: 4
|
||||
default offset: offset (component1) + 2
|
||||
default rstride: RU4 (width * 2)
|
||||
|
||||
Image
|
||||
default size: RU4 (width * 2) * RU2 (height) * 3 / 2
|
||||
```
|
||||
|
||||
- **"P012\_BE"** planar 4:2:0 YUV with interleaved UV plane, 2 bytes per channel where color data is stored in MSB 12 bits, BE
|
||||
|
||||
```
|
||||
Component 0: Y
|
||||
depth: 12 BE
|
||||
pstride: 2
|
||||
default offset: 0
|
||||
default rstride: RU4 (width * 2)
|
||||
default size: rstride (component0) * RU2 (height)
|
||||
|
||||
Component 1: U
|
||||
depth: 12 BE
|
||||
pstride: 4
|
||||
default offset: size (component0)
|
||||
default rstride: RU4 (width * 2)
|
||||
|
||||
Component 2: V
|
||||
depth 12 BE
|
||||
pstride: 4
|
||||
default offset: offset (component1) + 2
|
||||
default rstride: RU4 (width * 2)
|
||||
|
||||
Image
|
||||
default size: RU4 (width * 2) * RU2 (height) * 3 / 2
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue