gstgl.glvideo_allocation_params
Module for [GLVideoAllocationParams] class
class GLVideoAllocationParams
Types 1
Methods
GLVideoAllocationParams self()Returns `this`, for use in `with` statements.gstgl.glallocation_params.GLAllocationParams parent() @propertyGet `parent` field. Returns: the parent #GstGLAllocationParams structuregstvideo.video_info.VideoInfo vInfo() @propertyGet `vInfo` field. Returns: the #GstVideoInfo to allocatevoid vInfo(gstvideo.video_info.VideoInfo propval) @propertySet `vInfo` field. Params: propval = the #GstVideoInfo to allocatevoid plane(uint propval) @propertySet `plane` field. Params: propval = the video plane index to allocategstvideo.video_alignment.VideoAlignment valign() @propertyGet `valign` field. Returns: the #GstVideoAlignment to align the system representation to (may be null for the default)gstgl.types.GLTextureTarget target() @propertyGet `target` field. Returns: the #GstGLTextureTarget to allocatevoid target(gstgl.types.GLTextureTarget propval) @propertySet `target` field. Params: propval = the #GstGLTextureTarget to allocategstgl.types.GLFormat texFormat() @propertyGet `texFormat` field. Returns: the #GstGLFormat to allocatevoid texFormat(gstgl.types.GLFormat propval) @propertySet `texFormat` field. Params: propval = the #GstGLFormat to allocategstgl.glvideo_allocation_params.GLVideoAllocationParams newWrappedData(gstgl.glcontext.GLContext context, gst.allocation_params.AllocationParams allocParams, gstvideo.video_info.VideoInfo vInfo, uint plane, gstvideo.video_alignment.VideoAlignment valign, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat, void * wrappedData = null, void * userData = null, glib.types.DestroyNotify notify = null)gstgl.glvideo_allocation_params.GLVideoAllocationParams newWrappedGlHandle(gstgl.glcontext.GLContext context, gst.allocation_params.AllocationParams allocParams, gstvideo.video_info.VideoInfo vInfo, uint plane, gstvideo.video_alignment.VideoAlignment valign, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat, void * glHandle = null, void * userData = null, glib.types.DestroyNotify notify = null)gl_handle is defined by the specific OpenGL handle being wrapped For #GstGLMemory and #GstGLMemoryPBO it is an OpenGL texture id. Other memory types may define it to require a different type of par...gstgl.glvideo_allocation_params.GLVideoAllocationParams newWrappedTexture(gstgl.glcontext.GLContext context, gst.allocation_params.AllocationParams allocParams, gstvideo.video_info.VideoInfo vInfo, uint plane, gstvideo.video_alignment.VideoAlignment valign, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat, uint texId, void * userData = null, glib.types.DestroyNotify notify = null)void copyData(gstgl.glvideo_allocation_params.GLVideoAllocationParams destVid)Copy and set any dynamically allocated resources in dest_vid. Intended for subclass usage only to chain up at the end of a subclass copy function.void freeData()Unset and free any dynamically allocated resources. Intended for subclass usage only to chain up at the end of a subclass free function.Constructors
this(gstgl.glcontext.GLContext context, gst.allocation_params.AllocationParams allocParams, gstvideo.video_info.VideoInfo vInfo, uint plane, gstvideo.video_alignment.VideoAlignment valign, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat)