Check if mem1 and mem2 share the memory with a common parent memory object
and that the memory is contiguous.
If this is the case, the memory of mem1 and mem2 can be merged
efficiently by performing gst.memory.Memory.share on the parent object from
the returned offset.
Check if mem1 and mem2 share the memory with a common parent memory object and that the memory is contiguous.
If this is the case, the memory of mem1 and mem2 can be merged efficiently by performing gst.memory.Memory.share on the parent object from the returned offset.