Gjsify LogoGjsify Logo

Hierarchy

  • GLVideoAllocationParams

Index

Constructors

Properties

the parent #GstGLAllocationParams structure

field
plane: number

the video plane index to allocate

field

the #GstGLTextureTarget to allocate

field
tex_format: GLFormat

the #GstGLFormat to allocate

field
v_info: VideoInfo

the #GstVideoInfo to allocate

field

the #GstVideoAlignment to align the system representation to (may be %NULL for the default)

field
name: string

Methods

  • 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.

    Parameters

    Returns void

  • free_data(): void
  • Unset and free any dynamically allocated resources. Intended for subclass usage only to chain up at the end of a subclass free function.

    Returns void

  • 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 parameter.

    Parameters

    • context: GstGL.GLContext

      a #GstGLContext

    • alloc_params: AllocationParams

      the #GstAllocationParams for tex_id

    • v_info: VideoInfo

      the #GstVideoInfo for tex_id

    • plane: number

      the video plane tex_id represents

    • valign: VideoAlignment

      any #GstVideoAlignment applied to symem mappings of tex_id

    • target: GLTextureTarget

      the #GstGLTextureTarget for tex_id

    • tex_format: GLFormat

      the #GstGLFormat for tex_id

    • gl_handle: object

      the GL handle to wrap

    • user_data: object

      user data to call notify with

    • notify: GLib.DestroyNotify

      a #GDestroyNotify

    Returns GLVideoAllocationParams

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method