videoDmaDrmFourccFromFormat

fnuint videoDmaDrmFourccFromFormat(gstvideo.types.VideoFormat format)

Converting the video format into dma drm fourcc. If no matching fourcc found, then DRM_FORMAT_INVALID is returned.

Parameters

formata #GstVideoFormat

Returns

the DRM_FORMAT_* corresponding to the format.