Release 0.36.14
[vala-gnome.git] / vapi / gstreamer-allocators-1.0.vapi
blobda6b0c4551f19d345156d3238002b2a8ee697223
1 /* gstreamer-allocators-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstAllocators", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace Allocators {
6                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstDmaBufAllocator", lower_case_cprefix = "gst_dmabuf_allocator_", lower_case_csuffix = "dmabuf_allocator", type_id = "gst_dmabuf_allocator_get_type ()")]
7                 [GIR (name = "DmaBufAllocator")]
8                 [Version (since = "1.12")]
9                 public class DmaBufAllocator : Gst.Allocators.FdAllocator {
10                         [CCode (has_construct_function = false, type = "GstAllocator*")]
11                         [Version (since = "1.2")]
12                         public DmaBufAllocator ();
13                         [Version (since = "1.2")]
14                         public static Gst.Memory alloc (Gst.Allocator allocator, int fd, size_t size);
15                 }
16                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdAllocator", lower_case_cprefix = "gst_fd_allocator_", type_id = "gst_fd_allocator_get_type ()")]
17                 [GIR (name = "FdAllocator")]
18                 [Version (since = "1.6")]
19                 public class FdAllocator : Gst.Allocator {
20                         [CCode (has_construct_function = false, type = "GstAllocator*")]
21                         public FdAllocator ();
22                         public static Gst.Memory alloc (Gst.Allocator allocator, int fd, size_t size, Gst.Allocators.FdMemoryFlags flags);
23                 }
24                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdMemoryFlags", cprefix = "GST_FD_MEMORY_FLAG_", has_type_id = false)]
25                 [Flags]
26                 [GIR (name = "FdMemoryFlags")]
27                 [Version (since = "1.6")]
28                 public enum FdMemoryFlags {
29                         NONE,
30                         KEEP_MAPPED,
31                         MAP_PRIVATE,
32                         DONT_CLOSE
33                 }
34                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_ALLOCATOR_DMABUF")]
35                 public const string ALLOCATOR_DMABUF;
36                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_ALLOCATOR_FD")]
37                 public const string ALLOCATOR_FD;
38                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_CAPS_FEATURE_MEMORY_DMABUF")]
39                 [Version (since = "1.12")]
40                 public const string CAPS_FEATURE_MEMORY_DMABUF;
41                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_memory_get_fd")]
42                 [Version (since = "1.2")]
43                 public static int dmabuf_memory_get_fd (Gst.Memory mem);
44                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_fd_memory_get_fd")]
45                 [Version (since = "1.6")]
46                 public static int fd_memory_get_fd (Gst.Memory mem);
47                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_dmabuf_memory")]
48                 [Version (since = "1.2")]
49                 public static bool is_dmabuf_memory (Gst.Memory mem);
50                 [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_fd_memory")]
51                 [Version (since = "1.6")]
52                 public static bool is_fd_memory (Gst.Memory mem);
53         }