Gir_GstVideo.toml 5.13 KB
Newer Older
1 2 3 4 5 6 7 8 9
[options]
girs_dir = "gir-files"
library = "GstVideo"
version = "1.0"
min_cfg_version = "1.8"
target_path = "gstreamer-video"
work_mode = "normal"
concurrency = "send+sync"
generate_safety_asserts = true
10
single_version_file = true
11
generate_display_trait = false
12 13 14 15 16

external_libraries = [
    "GLib",
    "GObject",
    "Gst",
Sebastian Dröge's avatar
Sebastian Dröge committed
17
    "GstBase",
18 19 20
]

generate = [
21
    "GstVideo.VideoCodecFrameFlags",
22 23 24 25 26 27
    "GstVideo.VideoFormat",
    "GstVideo.VideoFormatFlags",
    "GstVideo.VideoTileMode",
    "GstVideo.VideoInterlaceMode",
    "GstVideo.VideoFlags",
    "GstVideo.VideoChromaSite",
28 29 30 31 32 33
    "GstVideo.VideoColorMatrix",
    "GstVideo.VideoTransferFunction",
    "GstVideo.VideoColorPrimaries",
    "GstVideo.VideoMultiviewMode",
    "GstVideo.VideoMultiviewFlags",
    "GstVideo.VideoFieldOrder",
Sebastian Dröge's avatar
Sebastian Dröge committed
34
    "GstVideo.VideoFrameFlags",
35
    "GstVideo.VideoMultiviewFramePacking",
Sebastian Dröge's avatar
Sebastian Dröge committed
36
    "GstVideo.VideoFilter",
37
    "GstVideo.VideoOverlayFormatFlags",
38
    "GstVideo.VideoTimeCodeFlags",
39
    "GstVideo.VideoCaptionType",
40
    "GstVideo.VideoBufferPool",
41
    "GstVideo.VideoPackFlags",
42
    "GstVideo.VideoBufferFlags",
43 44 45 46 47 48 49
    "GstVideo.VideoAlphaMode",
    "GstVideo.VideoChromaMode",
    "GstVideo.VideoMatrixMode",
    "GstVideo.VideoGammaMode",
    "GstVideo.VideoPrimariesMode",
    "GstVideo.VideoResamplerMethod",
    "GstVideo.VideoDitherMethod",
50 51
    "GstVideo.VideoAFDValue",
    "GstVideo.VideoAFDSpec",
52 53 54
]

manual = [
55
    "GLib.DateTime",
56 57
    "GObject.Object",
    "Gst.Object",
Sebastian Dröge's avatar
Sebastian Dröge committed
58
    "Gst.Element",
59 60 61
    "Gst.Buffer",
    "Gst.BufferPool",
    "Gst.BufferPoolAcquireParams",
62 63
    "Gst.Allocator",
    "Gst.AllocationParams",
64 65 66 67
    "Gst.ClockTimeDiff",
    "Gst.FlowReturn",
    "Gst.TagList",
    "Gst.TagMergeMode",
Sebastian Dröge's avatar
Sebastian Dröge committed
68
    "GstBase.BaseTransform",
69 70
    "GstVideo.VideoCodecState",
    "GstVideo.VideoCodecFrame",
71 72 73
    "GstVideo.VideoInfo",
    "GstVideo.VideoFormatInfo",
    "GstVideo.VideoColorimetry",
74
    "GstVideo.VideoColorRange",
Sebastian Dröge's avatar
Sebastian Dröge committed
75
    "GstVideo.VideoFrame",
76 77
    "GstVideo.VideoTimeCode",
    "GstVideo.VideoTimeCodeInterval",
78 79
]

80 81 82 83 84
[[object]]
name = "Gst.ClockTime"
status = "manual"
conversion_type = "scalar"

85 86 87 88 89
[[object]]
name = "Gst.Caps"
status = "manual"
ref_mode = "ref"

Sebastian Dröge's avatar
Sebastian Dröge committed
90 91 92
[[object]]
name = "GstVideo.VideoOverlay"
status = "generate"
93
manual_traits = ["VideoOverlayExtManual"]
Sebastian Dröge's avatar
Sebastian Dröge committed
94 95 96 97 98

    [[object.function]]
    name = "set_render_rectangle"
        [object.function.return]
        bool_return_is_error = "Failed to set render rectangle"
99 100 101 102

[[object]]
name = "GstVideo.VideoDecoder"
status = "generate"
103
manual_traits = ["VideoDecoderExtManual"]
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163

    [[object.function]]
    name = "allocate_output_frame"
    ignore = true

    [[object.function]]
    name = "allocate_output_frame_with_params"
    ignore = true

    [[object.function]]
    name = "finish_frame"
    ignore = true

    [[object.function]]
    name = "release_frame"
    ignore = true

    [[object.function]]
    name = "drop_frame"
    ignore = true

    [[object.function]]
    name = "have_frame"
    ignore = true

    [[object.function]]
    name = "set_latency"
    ignore = true

    [[object.function]]
    name = "get_latency"
    ignore = true

    [[object.function]]
    name = "get_frame"
    ignore = true

    [[object.function]]
    name = "get_frames"
    ignore = true

    [[object.function]]
    name = "get_oldest_frame"
    ignore = true

    [[object.function]]
    name = "get_output_state"
    ignore = true

    [[object.function]]
    name = "set_output_state"
    ignore = true

    [[object.function]]
    name = "set_interlaced_output_state"
    ignore = true

    [[object.function]]
    name = "negotiate"
    ignore = true
164

165 166 167 168
    [[object.function]]
    name = "get_allocator"
    ignore = true

169 170 171 172 173
    [[object.function]]
    name = "proxy_getcaps"
        [object.function.return]
        nullable = false

174 175 176 177 178
    [[object.function]]
    name = "allocate_output_buffer"
        [object.function.return]
        nullable_return_is_error = "Failed to allocate output buffer"

179 180 181
[[object]]
name = "GstVideo.VideoEncoder"
status = "generate"
182
manual_traits = ["VideoEncoderExtManual"]
183 184 185 186 187 188 189 190 191 192 193 194 195

    [[object.function]]
    name = "allocate_output_frame"
    ignore = true

    [[object.function]]
    name = "allocate_output_frame_with_params"
    ignore = true

    [[object.function]]
    name = "finish_frame"
    ignore = true

196 197 198 199
    [[object.function]]
    name = "finish_subframe"
    ignore = true

200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
    [[object.function]]
    name = "set_latency"
    ignore = true

    [[object.function]]
    name = "get_latency"
    ignore = true

    [[object.function]]
    name = "get_frame"
    ignore = true

    [[object.function]]
    name = "get_frames"
    ignore = true

    [[object.function]]
    name = "get_oldest_frame"
    ignore = true

    [[object.function]]
    name = "get_output_state"
    ignore = true

    [[object.function]]
    name = "set_output_state"
    ignore = true

    [[object.function]]
    name = "negotiate"
    ignore = true
231 232 233 234

    [[object.function]]
    name = "get_allocator"
    ignore = true
235 236 237 238 239

    [[object.function]]
    name = "proxy_getcaps"
        [object.function.return]
        nullable = false
240 241 242 243 244

    [[object.function]]
    name = "allocate_output_buffer"
        [object.function.return]
        nullable_return_is_error = "Failed to allocate output buffer"