mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
docs: add fdmemory to docs
This commit is contained in:
parent
b364f5576d
commit
b8a6aefa38
4 changed files with 33 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
||||||
<filename>-lgstallocators-&GST_API_VERSION;</filename> to the library flags.
|
<filename>-lgstallocators-&GST_API_VERSION;</filename> to the library flags.
|
||||||
</para>
|
</para>
|
||||||
<xi:include href="xml/gstdmabuf.xml" />
|
<xi:include href="xml/gstdmabuf.xml" />
|
||||||
|
<xi:include href="xml/gstfdmemory.xml" />
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
<chapter id="gstreamer-app">
|
<chapter id="gstreamer-app">
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<FILE>gstdmabuf</FILE>
|
<FILE>gstdmabuf</FILE>
|
||||||
<TITLE>dmabuf</TITLE>
|
<TITLE>dmabuf</TITLE>
|
||||||
<INCLUDE>gst/allocators/gstdmabuf.h</INCLUDE>
|
<INCLUDE>gst/allocators/gstdmabuf.h</INCLUDE>
|
||||||
|
gst_dmabuf_allocator_new
|
||||||
gst_dmabuf_allocator_alloc
|
gst_dmabuf_allocator_alloc
|
||||||
gst_dmabuf_memory_get_fd
|
gst_dmabuf_memory_get_fd
|
||||||
gst_is_dmabuf_memory
|
gst_is_dmabuf_memory
|
||||||
|
@ -12,6 +13,29 @@ GST_ALLOCATOR_DMABUF
|
||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>gstfdmemory</FILE>
|
||||||
|
<TITLE>fdmemory</TITLE>
|
||||||
|
<INCLUDE>gst/allocators/gstfdmemory.h</INCLUDE>
|
||||||
|
GstFdMemoryFlags
|
||||||
|
gst_fd_allocator_alloc
|
||||||
|
gst_fd_allocator_get_type
|
||||||
|
gst_fd_allocator_new
|
||||||
|
gst_fd_memory_get_fd
|
||||||
|
gst_is_fd_memory
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
GstFdAllocator
|
||||||
|
GstFdAllocatorClass
|
||||||
|
GST_ALLOCATOR_FD
|
||||||
|
GST_FD_ALLOCATOR
|
||||||
|
GST_FD_ALLOCATOR_CAST
|
||||||
|
GST_FD_ALLOCATOR_CLASS
|
||||||
|
GST_FD_ALLOCATOR_GET_CLASS
|
||||||
|
GST_IS_FD_ALLOCATOR
|
||||||
|
GST_IS_FD_ALLOCATOR_CLASS
|
||||||
|
<SUBSECTION Private>
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
# app
|
# app
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>gstappsrc</FILE>
|
<FILE>gstappsrc</FILE>
|
||||||
|
|
|
@ -18,6 +18,14 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:gstfdmemory
|
||||||
|
* @short_description: Memory wrapper for fd backed memory
|
||||||
|
* @see_also: #GstMemory
|
||||||
|
*
|
||||||
|
* Since: 1.4
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -40,7 +40,6 @@ typedef struct _GstFdAllocatorClass GstFdAllocatorClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstFdMemoryFlags:
|
* GstFdMemoryFlags:
|
||||||
*
|
|
||||||
* @GST_FD_MEMORY_FLAG_NONE: no flag
|
* @GST_FD_MEMORY_FLAG_NONE: no flag
|
||||||
* @GST_FD_MEMORY_FLAG_KEEP_MAPPED: once the memory is mapped,
|
* @GST_FD_MEMORY_FLAG_KEEP_MAPPED: once the memory is mapped,
|
||||||
* keep it mapped until the memory is destroyed.
|
* keep it mapped until the memory is destroyed.
|
||||||
|
|
Loading…
Reference in a new issue