/usr/share/vala-0.40/vapi/gstreamer-allocators-1.0.vapi is in valac-0.40-vapi 0.40.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /* gstreamer-allocators-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstAllocators", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace Allocators {
[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 ()")]
[GIR (name = "DmaBufAllocator")]
[Version (since = "1.12")]
public class DmaBufAllocator : Gst.Allocators.FdAllocator {
[CCode (has_construct_function = false, type = "GstAllocator*")]
[Version (since = "1.2")]
public DmaBufAllocator ();
[Version (since = "1.2")]
public static Gst.Memory alloc (Gst.Allocator allocator, int fd, size_t size);
}
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdAllocator", lower_case_cprefix = "gst_fd_allocator_", type_id = "gst_fd_allocator_get_type ()")]
[GIR (name = "FdAllocator")]
[Version (since = "1.6")]
public class FdAllocator : Gst.Allocator {
[CCode (has_construct_function = false, type = "GstAllocator*")]
public FdAllocator ();
public static Gst.Memory alloc (Gst.Allocator allocator, int fd, size_t size, Gst.Allocators.FdMemoryFlags flags);
}
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstPhysMemoryAllocator", lower_case_cprefix = "gst_phys_memory_allocator_", type_cname = "GstPhysMemoryAllocatorInterface", type_id = "gst_phys_memory_allocator_get_type ()")]
[GIR (name = "PhysMemoryAllocator")]
public interface PhysMemoryAllocator : Gst.Allocator {
[NoWrapper]
public abstract uintptr get_phys_addr (Gst.Memory mem);
}
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdMemoryFlags", cprefix = "GST_FD_MEMORY_FLAG_", has_type_id = false)]
[Flags]
[GIR (name = "FdMemoryFlags")]
[Version (since = "1.6")]
public enum FdMemoryFlags {
NONE,
KEEP_MAPPED,
MAP_PRIVATE,
DONT_CLOSE
}
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_ALLOCATOR_DMABUF")]
public const string ALLOCATOR_DMABUF;
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_ALLOCATOR_FD")]
public const string ALLOCATOR_FD;
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_CAPS_FEATURE_MEMORY_DMABUF")]
[Version (since = "1.12")]
public const string CAPS_FEATURE_MEMORY_DMABUF;
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_memory_get_fd")]
[Version (since = "1.2")]
public static int dmabuf_memory_get_fd (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_fd_memory_get_fd")]
[Version (since = "1.6")]
public static int fd_memory_get_fd (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_dmabuf_memory")]
[Version (since = "1.2")]
public static bool is_dmabuf_memory (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_fd_memory")]
[Version (since = "1.6")]
public static bool is_fd_memory (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_phys_memory")]
[Version (since = "1.14")]
public static bool is_phys_memory (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_phys_memory_get_phys_addr")]
[Version (since = "1.14")]
public static uintptr phys_memory_get_phys_addr (Gst.Memory mem);
}
}
|