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
VideoInfoDmaDrm self()Returns `this`, for use in `with` statements.gstvideo.video_info.VideoInfo vinfo() @propertyGet `vinfo` field. Returns: the associated #GstVideoInfovoid drmFourcc(uint propval) @propertySet `drmFourcc` field. Params: propval = the fourcc defined by drmvoid drmModifier(ulong propval) @propertySet `drmModifier` field. Params: propval = the drm modifiergstvideo.video_info_dma_drm.VideoInfoDmaDrm newFromCaps(gst.caps.Caps caps)Parse 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()Convert the values of drminfo into a #GstCaps. Please note that the caps returned will be a dma drm caps which sets format field to DMADRM, and contains a new drm-format field. The value of drm-for...bool toVideoInfo(out gstvideo.video_info.VideoInfo info)Convert the #GstVideoInfoDmaDrm into a traditional #GstVideoInfo with recognized video format. For DMA kind memory, the non linear DMA format should be recognized as #GSTVIDEOFORMATDMADRM. This hel...bool fromCaps(out gstvideo.video_info_dma_drm.VideoInfoDmaDrm drmInfo, gst.caps.Caps caps)Parse 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)Fills 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)Initialize drm_info with default values.