mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
design: memory: add _full() variants to _GstAllocator code block
Additionally: adjust padding to match.
This commit is contained in:
parent
b4e0ffdfd7
commit
57e102e303
1 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue