mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
design: memory: merge redundant offset/size explanation
This commit is contained in:
parent
7a10a881ca
commit
bff7e4012b
1 changed files with 4 additions and 7 deletions
|
@ -12,13 +12,10 @@ multimedia data passed around in the pipeline.
|
|||
|
||||
## Memory layout
|
||||
|
||||
`GstMemory` manages a memory region. The accessible part of the managed region
|
||||
is defined by an offset relative to the start of the region and a size. This
|
||||
means that the managed region can be larger than what is visible to the user of
|
||||
`GstMemory` API.
|
||||
|
||||
Schematically, `GstMemory` has a pointer to a memory region of _maxsize_. The
|
||||
area starting from `offset` and `size` is accessible.
|
||||
A `GstMemory` has a pointer to a memory region of `maxsize`. The accessible part
|
||||
of this managed region is defined by an `offset` relative to the start of the
|
||||
region and a `size`. This means that the managed region can be larger than what
|
||||
is visible to the user of the `GstMemory` API.
|
||||
|
||||
```
|
||||
memory
|
||||
|
|
Loading…
Reference in a new issue