File: Gir.toml

package info (click to toggle)
rust-gstreamer-allocators 0.23.5-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 300 kB
  • sloc: makefile: 2
file content (108 lines) | stat: -rw-r--r-- 2,293 bytes parent folder | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[options]
concurrency = "send+sync"
generate_display_trait = false
generate_safety_asserts = true
girs_directories = ["../gir-files", "../gst-gir-files"]
library = "GstAllocators"
min_cfg_version = "1.14"
single_version_file = true
trust_return_value_nullability = true
version = "1.0"
work_mode = "normal"

external_libraries = [
  "GLib",
  "GObject",
  "Gst",
]

generate = [
    "GstAllocators.FdMemoryFlags",
    "GstAllocators.PhysMemoryAllocator",
]

manual = [
  "Gst.Allocator",
  "Gst.Memory",
]

[[object]]
name = "Gst.Buffer"
ref_mode = "ref"
status = "manual"

[[object]]
name = "GstAllocators.*"
status = "generate"
    [[object.function]]
    name = "dmabuf_memory_get_fd"
    manual = true
    [[object.function]]
    name = "fd_memory_get_fd"
    manual = true
    [[object.function]]
    name = "is_dmabuf_memory"
    manual = true
    [[object.function]]
    name = "is_fd_memory"
    manual = true
    [[object.function]]
    name = "is_phys_memory"
    manual = true
    [[object.function]]
    name = "phys_memory_get_phys_addr"
    manual = true
    [[object.function]]
    name = "is_drm_dumb_memory"
    manual = true
    [[object.function]]
    name = "drm_dumb_memory_get_handle"
    manual = true
    [[object.function]]
    name = "drm_dumb_memory_export_dmabuf"
    manual = true

[[object]]
name = "GstAllocators.DmaBufAllocator"
status = "generate"
cfg_condition = "target_os = \"linux\""
    [[object.function]]
    name = "alloc"
    manual = true
    [[object.function]]
    name = "alloc_with_flags"
    manual = true

[[object]]
name = "GstAllocators.DRMDumbAllocator"
status = "generate"
cfg_condition = "target_os = \"linux\""
    [[object.function]]
    name = "alloc"
    manual = true
    [[object.function]]
    name = "new_with_fd"
    manual = true
    [[object.function]]
    name = "new_with_device_path"
        [object.function.return]
        nullable_return_is_error = "Failed to create allocator"

[[object]]
name = "GstAllocators.FdAllocator"
status = "generate"
    [[object.function]]
    name = "alloc"
    manual = true

[[object]]
name = "GstAllocators.ShmAllocator"
status = "generate"
cfg_condition = "unix"
    [[object.function]]
    name = "get"
    manual = true
    [[object.function]]
    name = "init_once"
    manual = true