mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
docs: update design docs
This commit is contained in:
parent
3f0d40b417
commit
e10e4e7468
3 changed files with 12 additions and 6 deletions
|
@ -29,7 +29,7 @@ When a Buffers is writable as returned from gst_buffer_is_writable():
|
||||||
- metadata can be added/removed and the metadata can be changed
|
- metadata can be added/removed and the metadata can be changed
|
||||||
- GstMemory blocks can be added/removed
|
- GstMemory blocks can be added/removed
|
||||||
|
|
||||||
The individual memory blocks have their own refcounting and READONLY flags
|
The individual memory blocks have their own locking and READONLY flags
|
||||||
that might influence their writability.
|
that might influence their writability.
|
||||||
|
|
||||||
Buffers can be made writable with gst_buffer_make_writable(). This will copy the
|
Buffers can be made writable with gst_buffer_make_writable(). This will copy the
|
||||||
|
|
|
@ -132,11 +132,19 @@ Allocation query
|
||||||
|
|
||||||
It is also possible to configure the allocator in a provided pool.
|
It is also possible to configure the allocator in a provided pool.
|
||||||
|
|
||||||
(out) "metadata", G_TYPE_ARRAY of GType
|
(out) "metadata", G_TYPE_ARRAY of structure
|
||||||
- an array of metadata API types that can be accepted.
|
- an array of metadata params that can be accepted.
|
||||||
|
|
||||||
|
struct {
|
||||||
|
GType api;
|
||||||
|
GstStructure *params;
|
||||||
|
}
|
||||||
|
|
||||||
|
Use gst_query_parse_nth_allocation_meta() to get the values.
|
||||||
|
|
||||||
These metadata items can be accepted by the downstream element when
|
These metadata items can be accepted by the downstream element when
|
||||||
placed on buffers.
|
placed on buffers. There is also an arbitrary GstStructure associated
|
||||||
|
with the metadata that contains metadata specific options.
|
||||||
|
|
||||||
Some bufferpools have options to enable metadata on the buffers
|
Some bufferpools have options to enable metadata on the buffers
|
||||||
allocated by the pool.
|
allocated by the pool.
|
||||||
|
|
|
@ -9,8 +9,6 @@ negotiated in the bufferpools.
|
||||||
|
|
||||||
Some examples of metadata:
|
Some examples of metadata:
|
||||||
|
|
||||||
- timestamp, duration
|
|
||||||
- offset, offset_end
|
|
||||||
- interlacing information
|
- interlacing information
|
||||||
- video alignment, cropping, panning information
|
- video alignment, cropping, panning information
|
||||||
- extra container information such as granulepos, ...
|
- extra container information such as granulepos, ...
|
||||||
|
|
Loading…
Reference in a new issue