Module: Gst::MemoryFlags

Defined in:
(unknown)

Constant Summary collapse

READONLY =

memory is readonly. It is not allowed to map the memory with #GST_MAP_WRITE.

2 or :readonly
NO_SHARE =

memory must not be shared. Copies will have to be made when this memory needs to be shared between buffers. (DEPRECATED: do not use in new code, instead you should create a custom GstAllocator for memory pooling instead of relying on the GstBuffer they were originally attached to.)

16 or :no_share
ZERO_PREFIXED =

the memory prefix is filled with 0 bytes

32 or :zero_prefixed
ZERO_PADDED =

the memory padding is filled with 0 bytes

64 or :zero_padded
PHYSICALLY_CONTIGUOUS =

the memory is physically contiguous. (Since: 1.2)

128 or :physically_contiguous
NOT_MAPPABLE =

the memory can't be mapped via gst_memory_map() without any preconditions. (Since: 1.2)

256 or :not_mappable
LAST =

first flag that can be used for custom purposes

1048576 or :last