gstvideo.video_info_dma_drm
Module for [VideoInfoDmaDrm] class
class VideoInfoDmaDrm
Types 1
Information describing a DMABuf image properties. It wraps #GstVideoInfo and adds DRM information such as drm-fourcc and drm-modifier, required for negotiation and mapping.
Methods
gstvideo.video_info.VideoInfo vinfo() @property nothrowGet `vinfo` field. Returns: the associated #GstVideoInfovoid drmFourcc(uint propval) @property nothrowSet `drmFourcc` field. Params: propval = the fourcc defined by drmvoid drmModifier(ulong propval) @property nothrowSet `drmModifier` field. Params: propval = the drm modifiergstvideo.video_info_dma_drm.VideoInfoDmaDrm newFromCaps(gst.caps.Caps caps) static nothrowParse caps to generate a #GstVideoInfoDmaDrm. Please note that the caps should be a dma drm caps. The [gstvideo.global.videoIsDmaDrmCaps] can be used to verify it before calling this function.gst.caps.Caps toCaps() nothrowConvert the values of drm_info into a #GstCaps. Please note that the caps returned will be a dma drm caps which sets format field to DMA_DRM, and contains a new drm-format field. The value of drm-f...bool toVideoInfo(out gstvideo.video_info.VideoInfo info) nothrowConvert the #GstVideoInfoDmaDrm into a traditional #GstVideoInfo with recognized video format. For DMA kind memory, the non linear DMA format should be recognized as #GST_VIDEO_FORMAT_DMA_DRM. This...bool fromCaps(out gstvideo.video_info_dma_drm.VideoInfoDmaDrm drmInfo, gst.caps.Caps caps) static nothrowParse caps and update info. Please note that the caps should be a dma drm caps. The [gstvideo.global.videoIsDmaDrmCaps] can be used to verify it before calling this function.bool fromVideoInfo(out gstvideo.video_info_dma_drm.VideoInfoDmaDrm drmInfo, gstvideo.video_info.VideoInfo info, ulong modifier) static nothrowFills drm_info if info's format has a valid drm format and modifier is also validvoid init_(out gstvideo.video_info_dma_drm.VideoInfoDmaDrm drmInfo) static nothrowInitialize drm_info with default values.