Since 1.24Optionalproperties: Partial<{ drm_fourcc: number; drm_modifier: number; vinfo: VideoInfo }>Since 1.24freeFree a GstVideo.VideoInfoDmaDrm structure previously allocated with
gst_video_info_dma_drm_new()
Since 1.24to_Convert the values of drm_info into a Gst.Caps. 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-format field is
composed of a drm fourcc and a modifier, such as NV12:0x0100000000000002.
a new Gst.Caps containing the info in drm_info.
Since 1.24to_Convert the GstVideo.VideoInfoDmaDrm into a traditional GstVideo.VideoInfo with
recognized video format. For DMA kind memory, the non linear DMA format
should be recognized as #GST_VIDEO_FORMAT_DMA_DRM. This helper function
sets info's video format into the default value according to drm_info's
drm_fourcc field.
true if info is converted correctly.
StaticSince 1.24from_Parse caps and update info. Please note that the caps should be
a dma drm caps. The gst_video_is_dma_drm_caps() can be used to verify
it before calling this function.
StaticSince 1.24from_Fills drm_info if info's format has a valid drm format and modifier is also
valid
the associated modifier value.
StaticSince 1.24initStaticnewStaticnew_
Information describing a DMABuf image properties. It wraps GstVideo.VideoInfo and adds DRM information such as drm-fourcc and drm-modifier, required for negotiation and mapping.
Since
1.24