mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 21:00:11 +01:00
pixel-formats: Add P030
Which is used on the RPi4/5 by the HEVC HW decoder for 10bit content. Note that this is not enough to make KMS offloading work as the decoder uses the BROADCOM_SAND128 modifier which - for now - requires manual/unusual handling (i.e. this requires going through GL). Signed-off-by: Robert Mader <robert.mader@collabora.com>
This commit is contained in:
parent
10ecf60848
commit
4f4011d79e
1 changed files with 7 additions and 0 deletions
|
|
@ -571,6 +571,13 @@ static const struct pixel_format_info pixel_format_table[] = {
|
||||||
.hsub = 2,
|
.hsub = 2,
|
||||||
.vsub = 2,
|
.vsub = 2,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
DRM_FORMAT(P030),
|
||||||
|
SAMPLER_TYPE(EGL_TEXTURE_Y_UV_WL),
|
||||||
|
.num_planes = 2,
|
||||||
|
.hsub = 2,
|
||||||
|
.vsub = 2,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
DRM_FORMAT(YUV410),
|
DRM_FORMAT(YUV410),
|
||||||
SAMPLER_TYPE(EGL_TEXTURE_Y_U_V_WL),
|
SAMPLER_TYPE(EGL_TEXTURE_Y_U_V_WL),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue