mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
allocators: Integrate into the documentation
This commit is contained in:
parent
d405dddd50
commit
26ff0ced15
4 changed files with 32 additions and 0 deletions
|
@ -57,6 +57,7 @@ extra_files =
|
|||
# contains GtkObjects/GObjects and you want to document signals and properties.
|
||||
GTKDOC_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS)
|
||||
GTKDOC_LIBS = \
|
||||
$(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \
|
||||
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
|
||||
$(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \
|
||||
$(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \
|
||||
|
|
|
@ -21,6 +21,16 @@
|
|||
</para>
|
||||
<xi:include href="compiling.sgml" />
|
||||
|
||||
<chapter id="gstreamer-allocators">
|
||||
<title>Allocators Library</title>
|
||||
<para>
|
||||
This library should be linked to by getting cflags and libs from
|
||||
<filename>gstreamer-plugins-base-&GST_API_VERSION;.pc</filename> and adding
|
||||
<filename>-lgstallocators-&GST_API_VERSION;</filename> to the library flags.
|
||||
</para>
|
||||
<xi:include href="xml/gstdmabuf.xml" />
|
||||
</chapter>
|
||||
|
||||
<chapter id="gstreamer-app">
|
||||
<title>App Library</title>
|
||||
<para>
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
# allocators
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstdmabuf</FILE>
|
||||
<TITLE>dmabuf</TITLE>
|
||||
<INCLUDE>gst/allocators/gstdmabuf.h</INCLUDE>
|
||||
gst_dmabuf_allocator_alloc
|
||||
gst_dmabuf_allocator_obtain
|
||||
gst_dmabuf_memory_get_fd
|
||||
gst_is_dmabuf_memory
|
||||
<SUBSECTION Standard>
|
||||
<SUBSECTION Private>
|
||||
</SECTION>
|
||||
|
||||
# app
|
||||
<SECTION>
|
||||
<FILE>gstappsrc</FILE>
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
|
||||
#include "gstdmabuf.h"
|
||||
|
||||
/**
|
||||
* SECTION:gstdmabuf
|
||||
* @short_description: Memory wrapper for Linux dmabuf memory
|
||||
* @see_also: #GstMemory
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_MMAP
|
||||
#include <sys/mman.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in a new issue