bufferAddVideoMetaFull
fn
gstvideo.video_meta.VideoMeta bufferAddVideoMetaFull(gst.buffer.Buffer buffer, gstvideo.types.VideoFrameFlags flags, gstvideo.types.VideoFormat format, uint width, uint height, uint nPlanes, size_t[] offset, int[] stride)Attaches GstVideoMeta metadata to buffer with the given parameters.
Parameters
buffer | a #GstBuffer |
flags | #GstVideoFrameFlags |
format | a #GstVideoFormat |
width | the width |
height | the height |
nPlanes | number of planes |
offset | offset of each plane |
stride | stride of each plane |
Returns
the #GstVideoMeta on buffer.