gstvideo.video_info_dma_drm

Module for [VideoInfoDmaDrm] class

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
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
VideoInfoDmaDrm self()Returns `this`, for use in `with` statements.
gstvideo.video_info.VideoInfo vinfo() @propertyGet `vinfo` field. Returns: the associated #GstVideoInfo
uint drmFourcc() @propertyGet `drmFourcc` field. Returns: the fourcc defined by drm
void drmFourcc(uint propval) @propertySet `drmFourcc` field. Params: propval = the fourcc defined by drm
ulong drmModifier() @propertyGet `drmModifier` field. Returns: the drm modifier
void drmModifier(ulong propval) @propertySet `drmModifier` field. Params: propval = the drm modifier
gstvideo.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 valid
void init_(out gstvideo.video_info_dma_drm.VideoInfoDmaDrm drmInfo)Initialize drm_info with default values.
Constructors
this(void * ptr, Flag!"Take" take)
this()Allocate a new #GstVideoInfoDmaDrm that is also initialized with [gstvideo.videoinfodmadrm.VideoInfoDmaDrm.init]. Returns: a new #GstVideoInfoDmaDrm. Free it with [gstvideo.videoinfodma_drm.VideoIn...