MemoryShareFunction


Description:

[ CCode ( has_target = false ) ]
public delegate Memory MemoryShareFunction (Memory mem, ssize_t offset, ssize_t size)

Share size bytes from mem starting at offset and return them wrapped in a new GstMemory object.

If size is set to -1, all bytes starting at offset are shared. This function does not make a copy of the bytes in mem.

Parameters:

mem

a Memory

offset

an offset

size

a size or -1

Returns:

a new Memory object sharing the requested region in mem.


Namespace: Gst
Package: gstreamer-1.0



2022 vala-language.org