GLMemory.init_

Initializes mem with the required parameters. info is assumed to have already have been modified with gstvideo.video_info.VideoInfo.align_.

Parameters

allocator gst.allocator.Allocator

the #GstAllocator to initialize with

parent gst.memory.Memory

the parent #GstMemory to initialize with

context gstgl.glcontext.GLContext

the #GstGLContext to initialize with

target gstgl.types.GLTextureTarget

the #GstGLTextureTarget for this #GstGLMemory

texFormat gstgl.types.GLFormat

the #GstGLFormat for this #GstGLMemory

params gst.allocation_params.AllocationParams

the GstAllocationParams to initialize with

info gstvideo.video_info.VideoInfo

the #GstVideoInfo for this #GstGLMemory

plane uint

the plane number (starting from 0) for this #GstGLMemory

valign gstvideo.video_alignment.VideoAlignment

optional #GstVideoAlignment parameters

userData void*

user data to call notify with

notify glib.types.DestroyNotify

a #GDestroyNotify