mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
wayland: Add more DRM formats
Add DRM format equivalents that we were missing compared to our caps.
This commit is contained in:
parent
b393b650ab
commit
fd9dfb9d0c
1 changed files with 13 additions and 1 deletions
|
@ -84,8 +84,20 @@ static const wl_DmabufVideoFormat dmabuf_formats[] = {
|
|||
{DRM_FORMAT_RGB888, GST_VIDEO_FORMAT_BGR},
|
||||
{DRM_FORMAT_BGR888, GST_VIDEO_FORMAT_RGB},
|
||||
{DRM_FORMAT_RGB565, GST_VIDEO_FORMAT_RGB16},
|
||||
|
||||
{DRM_FORMAT_YUYV, GST_VIDEO_FORMAT_YUY2},
|
||||
{DRM_FORMAT_NV12, GST_VIDEO_FORMAT_NV12},
|
||||
{DRM_FORMAT_YVYU, GST_VIDEO_FORMAT_YVYU},
|
||||
{DRM_FORMAT_UYVY, GST_VIDEO_FORMAT_UYVY},
|
||||
{DRM_FORMAT_AYUV, GST_VIDEO_FORMAT_AYUV},
|
||||
{DRM_FORMAT_NV21, GST_VIDEO_FORMAT_NV21},
|
||||
{DRM_FORMAT_NV16, GST_VIDEO_FORMAT_NV16},
|
||||
{DRM_FORMAT_YUV410, GST_VIDEO_FORMAT_YUV9},
|
||||
{DRM_FORMAT_YVU410, GST_VIDEO_FORMAT_YVU9},
|
||||
{DRM_FORMAT_YUV411, GST_VIDEO_FORMAT_Y41B},
|
||||
{DRM_FORMAT_YUV420, GST_VIDEO_FORMAT_I420},
|
||||
{DRM_FORMAT_YVU420, GST_VIDEO_FORMAT_YV12},
|
||||
{DRM_FORMAT_YUV422, GST_VIDEO_FORMAT_Y42B},
|
||||
{DRM_FORMAT_YUV444, GST_VIDEO_FORMAT_v308},
|
||||
};
|
||||
|
||||
enum wl_shm_format
|
||||
|
|
Loading…
Reference in a new issue