Memory.this

Create a memory.Memory boxed type.

  1. this(gst.allocator.Allocator allocator, gst.memory.Memory parent, size_t maxsize, size_t align_, size_t offset, size_t size)
    class Memory
    this
    (,,
    size_t maxsize = size_t.init
    ,
    size_t align_ = size_t.init
    ,
    size_t offset = size_t.init
    ,
    size_t size = size_t.init
    )
  2. this(void* ptr, Flag!"Take" take)

Parameters

allocator gst.allocator.Allocator

pointer to the #GstAllocator

parent gst.memory.Memory

parent memory block

maxsize size_t

the maximum size allocated

align_ size_t

the alignment of the memory

offset size_t

the offset where valid data starts

size size_t

the size of valid data