allocators: Integrate into the documentation
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 19 Feb 2013 09:05:17 +0000 (10:05 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 19 Feb 2013 09:05:38 +0000 (10:05 +0100)
docs/libs/Makefile.am
docs/libs/gst-plugins-base-libs-docs.sgml
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/allocators/gstdmabuf.c

index 1285061..54126f8 100644 (file)
@@ -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 \
index 828deba..78cc3d5 100644 (file)
     </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>
index ecc787c..d5d196a 100644 (file)
@@ -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>
index d6194d5..a822acf 100644 (file)
 
 #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>