design: memory: add _full() variants to _GstAllocator code block
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 3 Feb 2017 23:40:54 +0000 (15:40 -0800)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 3 Feb 2017 23:41:11 +0000 (15:41 -0800)
Additionally: adjust padding to match.

markdown/design/memory.md

index cd5140ab765e3f7a55436b108b9cf9524e7f1bf9..d4f663aaf739bd445dea5eba27efd44e4e405fd1 100644 (file)
@@ -50,13 +50,16 @@ of `GstObject` and can be subclassed to make custom allocators.
 struct _GstAllocator {
   GstObject                 object;
 
-  const gchar              *mem_type;
+  const gchar               *mem_type;
 
-  GstMemoryMapFunction      mem_map;
-  GstMemoryUnmapFunction    mem_unmap;
-  GstMemoryCopyFunction     mem_copy;
-  GstMemoryShareFunction    mem_share;
-  GstMemoryIsSpanFunction   mem_is_span;
+  GstMemoryMapFunction       mem_map;
+  GstMemoryUnmapFunction     mem_unmap;
+  GstMemoryCopyFunction      mem_copy;
+  GstMemoryShareFunction     mem_share;
+  GstMemoryIsSpanFunction    mem_is_span;
+
+  GstMemoryMapFullFunction   mem_map_full;
+  GstMemoryUnmapFullFunction mem_unmap_full;
 };
 ```