gstvideo.video_frame

Module for [VideoFrame] class

Types 1

A video frame obtained from gstvideo.video_frame.VideoFrame.map

Fields
GstVideoFrame _cInstance
Methods
void * _cPtr() nothrow
gstvideo.video_info.VideoInfo info() @property nothrowGet `info` field. Returns: the #GstVideoInfo
gstvideo.types.VideoFrameFlags flags() @property nothrowGet `flags` field. Returns: #GstVideoFrameFlags for the frame
void flags(gstvideo.types.VideoFrameFlags propval) @property nothrowSet `flags` field. Params: propval = #GstVideoFrameFlags for the frame
gst.buffer.Buffer buffer() @property nothrowGet `buffer` field. Returns: the mapped buffer
void buffer(gst.buffer.Buffer propval) @property nothrowSet `buffer` field. Params: propval = the mapped buffer
int id() @property nothrowGet `id` field. Returns: id of the mapped frame. the id can for example be used to identify the frame in case of multiview video.
void id(int propval) @property nothrowSet `id` field. Params: propval = id of the mapped frame. the id can for example be used to identify the frame in case of multiview video.
bool copy(gstvideo.video_frame.VideoFrame src) nothrowCopy the contents from src to dest.
bool copyPlane(gstvideo.video_frame.VideoFrame src, uint plane) nothrowCopy the plane with index plane from src to dest.
void unmap() nothrowUnmap the memory previously mapped with gst_video_frame_map.
bool map(out gstvideo.video_frame.VideoFrame frame, gstvideo.video_info.VideoInfo info, gst.buffer.Buffer buffer, gst.types.MapFlags flags) static nothrowUse info and buffer to fill in the values of frame. frame is usually allocated on the stack, and you will pass the address to the #GstVideoFrame structure allocated on the stack; [gstvideo.video_fr...
bool mapId(out gstvideo.video_frame.VideoFrame frame, gstvideo.video_info.VideoInfo info, gst.buffer.Buffer buffer, int id, gst.types.MapFlags flags) static nothrowUse info and buffer to fill in the values of frame with the video frame information of frame id.
Constructors
this(void * ptr, Flag!"Take" take)