mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
ad1970eae2
Original commit message from CVS: 2005-07-15 Andy Wingo <wingo@pobox.com> * tools/gst-typefind.c: Update, add copyright block. * gst/base/gstbasesrc.c (gst_base_src_default_negotiate): Normalize and truncate caps before fixation. * gst/gstcaps.h: * gst/gstcaps.c (gst_caps_truncate): New function, destructively discards all but the first structure from its argument.
79 lines
1.2 KiB
Text
79 lines
1.2 KiB
Text
<!-- ##### SECTION Title ##### -->
|
|
GstMemChunk
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Atomic chunk allocator
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
GstMemChunk is an atomic chunk allocator. It uses atomic operations
|
|
to allocate fixed size memory regions and is therefore thread safe
|
|
without the overhead of mutexes or other heavyweight locking mechanisms.
|
|
</para>
|
|
|
|
<para>
|
|
The GstMemChunk is used to allocate critical resources for #GstBuffer and
|
|
#GstEvent.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GstBuffer, #GstEvent, #GstData
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT GstMemChunk ##### -->
|
|
<para>
|
|
The memchunk structure
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gst_mem_chunk_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@name:
|
|
@atom_size:
|
|
@area_size:
|
|
@type:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_mem_chunk_destroy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@mem_chunk:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_mem_chunk_alloc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@mem_chunk:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_mem_chunk_alloc0 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@mem_chunk:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_mem_chunk_free ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@mem_chunk:
|
|
@mem:
|
|
|
|
|