GstVideo-1.0.gir 622 KB
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
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 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 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 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 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Gst" version="1.0"/>
  <include name="GstBase" version="1.0"/>
  <package name="gstreamer-video-1.0"/>
  <c:include name="gst/video/video.h"/>
  <namespace name="GstVideo"
             version="1.0"
             shared-library="libgstvideo-1.0.so.0"
             c:identifier-prefixes="Gst"
             c:symbol-prefixes="gst">
    <constant name="BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META"
              value="GstBufferPoolOptionVideoAffineTransformation"
              c:type="GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="BUFFER_POOL_OPTION_VIDEO_ALIGNMENT"
              value="GstBufferPoolOptionVideoAlignment"
              c:type="GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT">
      <doc xml:space="preserve">A bufferpool option to enable extra padding. When a bufferpool supports this
option, gst_buffer_pool_config_set_video_alignment() can be called.

When this option is enabled on the bufferpool,
#GST_BUFFER_POOL_OPTION_VIDEO_META should also be enabled.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META"
              value="GstBufferPoolOptionVideoGLTextureUploadMeta"
              c:type="GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META"
              version="1.2.2">
      <doc xml:space="preserve">An option that can be activated on a bufferpool to request gl texture upload
meta on buffers from the pool.

When this option is enabled on the bufferpool,
@GST_BUFFER_POOL_OPTION_VIDEO_META should also be enabled.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="BUFFER_POOL_OPTION_VIDEO_META"
              value="GstBufferPoolOptionVideoMeta"
              c:type="GST_BUFFER_POOL_OPTION_VIDEO_META">
      <doc xml:space="preserve">An option that can be activated on bufferpool to request video metadata
on buffers from the pool.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META"
              value="meta:GstVideoAffineTransformation"
              c:type="GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META"
              value="meta:GstVideoGLTextureUploadMeta"
              c:type="GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CAPS_FEATURE_META_GST_VIDEO_META"
              value="meta:GstVideoMeta"
              c:type="GST_CAPS_FEATURE_META_GST_VIDEO_META">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION"
              value="meta:GstVideoOverlayComposition"
              c:type="GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <interface name="ColorBalance"
               c:symbol-prefix="color_balance"
               c:type="GstColorBalance"
               glib:type-name="GstColorBalance"
               glib:get-type="gst_color_balance_get_type"
               glib:type-struct="ColorBalanceInterface">
      <doc xml:space="preserve">This interface is implemented by elements which can perform some color
balance operation on video frames they process. For example, modifying
the brightness, contrast, hue or saturation.

Example elements are 'xvimagesink' and 'colorbalance'</doc>
      <virtual-method name="get_balance_type" invoker="get_balance_type">
        <doc xml:space="preserve">Get the #GstColorBalanceType of this implementation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A the #GstColorBalanceType.</doc>
          <type name="ColorBalanceType" c:type="GstColorBalanceType"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">The #GstColorBalance implementation</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_value" invoker="get_value">
        <doc xml:space="preserve">Retrieve the current value of the indicated channel, between min_value
and max_value.

See Also: The #GstColorBalanceChannel.min_value and
        #GstColorBalanceChannel.max_value members of the
        #GstColorBalanceChannel object.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The current value of the channel.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalanceChannel instance</doc>
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="list_channels" invoker="list_channels">
        <doc xml:space="preserve">Retrieve a list of the available channels.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A
         GList containing pointers to #GstColorBalanceChannel
         objects. The list is owned by the #GstColorBalance
         instance and must not be freed.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="ColorBalanceChannel"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_value" invoker="set_value">
        <doc xml:space="preserve">Sets the current value of the channel to the passed value, which must
be between min_value and max_value.

See Also: The #GstColorBalanceChannel.min_value and
        #GstColorBalanceChannel.max_value members of the
        #GstColorBalanceChannel object.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalanceChannel instance</doc>
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The new value for the channel.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="value_changed" invoker="value_changed">
        <doc xml:space="preserve">A helper function called by implementations of the GstColorBalance
interface. It fires the #GstColorBalance::value-changed signal on the
instance, and the #GstColorBalanceChannel::value-changed signal on the
channel object.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalanceChannel whose value has changed</doc>
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The new value of the channel</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_balance_type"
              c:identifier="gst_color_balance_get_balance_type">
        <doc xml:space="preserve">Get the #GstColorBalanceType of this implementation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A the #GstColorBalanceType.</doc>
          <type name="ColorBalanceType" c:type="GstColorBalanceType"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">The #GstColorBalance implementation</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value" c:identifier="gst_color_balance_get_value">
        <doc xml:space="preserve">Retrieve the current value of the indicated channel, between min_value
and max_value.

See Also: The #GstColorBalanceChannel.min_value and
        #GstColorBalanceChannel.max_value members of the
        #GstColorBalanceChannel object.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The current value of the channel.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalanceChannel instance</doc>
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_channels"
              c:identifier="gst_color_balance_list_channels">
        <doc xml:space="preserve">Retrieve a list of the available channels.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A
         GList containing pointers to #GstColorBalanceChannel
         objects. The list is owned by the #GstColorBalance
         instance and must not be freed.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="ColorBalanceChannel"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_value" c:identifier="gst_color_balance_set_value">
        <doc xml:space="preserve">Sets the current value of the channel to the passed value, which must
be between min_value and max_value.

See Also: The #GstColorBalanceChannel.min_value and
        #GstColorBalanceChannel.max_value members of the
        #GstColorBalanceChannel object.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalanceChannel instance</doc>
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The new value for the channel.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="value_changed"
              c:identifier="gst_color_balance_value_changed">
        <doc xml:space="preserve">A helper function called by implementations of the GstColorBalance
interface. It fires the #GstColorBalance::value-changed signal on the
instance, and the #GstColorBalanceChannel::value-changed signal on the
channel object.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="balance" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalance instance</doc>
            <type name="ColorBalance" c:type="GstColorBalance*"/>
          </instance-parameter>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">A #GstColorBalanceChannel whose value has changed</doc>
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The new value of the channel</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <glib:signal name="value-changed" when="last">
        <doc xml:space="preserve">Fired when the value of the indicated channel has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:space="preserve">The #GstColorBalanceChannel</doc>
            <type name="ColorBalanceChannel"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The new value</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </interface>
    <class name="ColorBalanceChannel"
           c:symbol-prefix="color_balance_channel"
           c:type="GstColorBalanceChannel"
           parent="GObject.Object"
           glib:type-name="GstColorBalanceChannel"
           glib:get-type="gst_color_balance_channel_get_type"
           glib:type-struct="ColorBalanceChannelClass">
      <doc xml:space="preserve">The #GstColorBalanceChannel object represents a parameter
for modifying the color balance implemented by an element providing the
#GstColorBalance interface. For example, Hue or Saturation.</doc>
      <virtual-method name="value_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="channel" transfer-ownership="none">
            <type name="ColorBalanceChannel" c:type="GstColorBalanceChannel*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="label">
        <doc xml:space="preserve">A string containing a descriptive name for this channel</doc>
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="min_value">
        <doc xml:space="preserve">The minimum valid value for this channel.</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="max_value">
        <doc xml:space="preserve">The maximum valid value for this channel.</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="value-changed" when="last">
        <doc xml:space="preserve">Fired when the value of the indicated channel has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The new value</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ColorBalanceChannelClass"
            c:type="GstColorBalanceChannelClass"
            glib:is-gtype-struct-for="ColorBalanceChannel">
      <doc xml:space="preserve">Color-balance channel class.</doc>
      <field name="parent">
        <doc xml:space="preserve">the parent class</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="value_changed">
        <callback name="value_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="channel" transfer-ownership="none">
              <type name="ColorBalanceChannel"
                    c:type="GstColorBalanceChannel*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="ColorBalanceInterface"
            c:type="GstColorBalanceInterface"
            glib:is-gtype-struct-for="ColorBalance">
      <doc xml:space="preserve">Color-balance interface.</doc>
      <field name="iface">
        <doc xml:space="preserve">the parent interface</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="list_channels">
        <callback name="list_channels">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">A
         GList containing pointers to #GstColorBalanceChannel
         objects. The list is owned by the #GstColorBalance
         instance and must not be freed.</doc>
            <type name="GLib.List" c:type="const GList*">
              <type name="ColorBalanceChannel"/>
            </type>
          </return-value>
          <parameters>
            <parameter name="balance" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalance instance</doc>
              <type name="ColorBalance" c:type="GstColorBalance*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_value">
        <callback name="set_value">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="balance" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalance instance</doc>
              <type name="ColorBalance" c:type="GstColorBalance*"/>
            </parameter>
            <parameter name="channel" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalanceChannel instance</doc>
              <type name="ColorBalanceChannel"
                    c:type="GstColorBalanceChannel*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <doc xml:space="preserve">The new value for the channel.</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_value">
        <callback name="get_value">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">The current value of the channel.</doc>
            <type name="gint" c:type="gint"/>
          </return-value>
          <parameters>
            <parameter name="balance" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalance instance</doc>
              <type name="ColorBalance" c:type="GstColorBalance*"/>
            </parameter>
            <parameter name="channel" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalanceChannel instance</doc>
              <type name="ColorBalanceChannel"
                    c:type="GstColorBalanceChannel*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_balance_type">
        <callback name="get_balance_type">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">A the #GstColorBalanceType.</doc>
            <type name="ColorBalanceType" c:type="GstColorBalanceType"/>
          </return-value>
          <parameters>
            <parameter name="balance" transfer-ownership="none">
              <doc xml:space="preserve">The #GstColorBalance implementation</doc>
              <type name="ColorBalance" c:type="GstColorBalance*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="value_changed">
        <callback name="value_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="balance" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalance instance</doc>
              <type name="ColorBalance" c:type="GstColorBalance*"/>
            </parameter>
            <parameter name="channel" transfer-ownership="none">
              <doc xml:space="preserve">A #GstColorBalanceChannel whose value has changed</doc>
              <type name="ColorBalanceChannel"
                    c:type="GstColorBalanceChannel*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <doc xml:space="preserve">The new value of the channel</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="ColorBalanceType"
                 glib:type-name="GstColorBalanceType"
                 glib:get-type="gst_color_balance_type_get_type"
                 c:type="GstColorBalanceType">
      <doc xml:space="preserve">An enumeration indicating whether an element implements color balancing
operations in software or in dedicated hardware. In general, dedicated
hardware implementations (such as those provided by xvimagesink) are
preferred.</doc>
      <member name="hardware"
              value="0"
              c:identifier="GST_COLOR_BALANCE_HARDWARE"
              glib:nick="hardware">
        <doc xml:space="preserve">Color balance is implemented with dedicated
        hardware.</doc>
      </member>
      <member name="software"
              value="1"
              c:identifier="GST_COLOR_BALANCE_SOFTWARE"
              glib:nick="software">
        <doc xml:space="preserve">Color balance is implemented via software
        processing.</doc>
      </member>
    </enumeration>
    <constant name="META_TAG_VIDEO_COLORSPACE_STR"
              value="colorspace"
              c:type="GST_META_TAG_VIDEO_COLORSPACE_STR"
              version="1.2">
      <doc xml:space="preserve">This metadata stays relevant as long as video colorspace is unchanged.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="META_TAG_VIDEO_ORIENTATION_STR"
              value="orientation"
              c:type="GST_META_TAG_VIDEO_ORIENTATION_STR"
              version="1.2">
      <doc xml:space="preserve">This metadata stays relevant as long as video orientation is unchanged.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="META_TAG_VIDEO_SIZE_STR"
              value="size"
              c:type="GST_META_TAG_VIDEO_SIZE_STR"
              version="1.2">
      <doc xml:space="preserve">This metadata stays relevant as long as video size is unchanged.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="META_TAG_VIDEO_STR"
              value="video"
              c:type="GST_META_TAG_VIDEO_STR"
              version="1.2">
      <doc xml:space="preserve">This metadata is relevant for video streams.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <interface name="Navigation"
               c:symbol-prefix="navigation"
               c:type="GstNavigation"
               glib:type-name="GstNavigation"
               glib:get-type="gst_navigation_get_type"
               glib:type-struct="NavigationInterface">
      <doc xml:space="preserve">The Navigation interface is used for creating and injecting navigation related
events such as mouse button presses, cursor motion and key presses. The associated
library also provides methods for parsing received events, and for sending and
receiving navigation related bus events. One main usecase is DVD menu navigation.

The main parts of the API are:

* The GstNavigation interface, implemented by elements which provide an application
  with the ability to create and inject navigation events into the pipeline.
* GstNavigation event handling API. GstNavigation events are created in response to
  calls on a GstNavigation interface implementation, and sent in the pipeline. Upstream
  elements can use the navigation event API functions to parse the contents of received
  messages.

* GstNavigation message handling API. GstNavigation messages may be sent on the message
  bus to inform applications of navigation related changes in the pipeline, such as the
  mouse moving over a clickable region, or the set of available angles changing.

The GstNavigation message functions provide functions for creating and parsing
custom bus messages for signaling GstNavigation changes.</doc>
      <function name="event_get_type"
                c:identifier="gst_navigation_event_get_type">
        <doc xml:space="preserve">Inspect a #GstEvent and return the #GstNavigationEventType of the event, or
#GST_NAVIGATION_EVENT_INVALID if the event is not a #GstNavigation event.</doc>
        <return-value transfer-ownership="none">
          <type name="NavigationEventType" c:type="GstNavigationEventType"/>
        </return-value>
        <parameters>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent to inspect.</doc>
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </function>
      <function name="event_parse_command"
                c:identifier="gst_navigation_event_parse_command">
        <doc xml:space="preserve">Inspect a #GstNavigation command event and retrieve the enum value of the
associated command.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if the navigation command could be extracted, otherwise FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent to inspect.</doc>
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
604 605 606 607 608 609 610 611
          <parameter name="command"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to GstNavigationCommand to receive the
    type of the navigation event.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
612 613 614 615 616 617 618 619 620 621 622 623 624 625
            <type name="NavigationCommand" c:type="GstNavigationCommand*"/>
          </parameter>
        </parameters>
      </function>
      <function name="event_parse_key_event"
                c:identifier="gst_navigation_event_parse_key_event">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent to inspect.</doc>
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
626 627 628 629 630 631 632 633 634
          <parameter name="key"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a location to receive
    the string identifying the key press. The returned string is owned by the
    event, and valid only until the event is unreffed.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </function>
      <function name="event_parse_mouse_button_event"
                c:identifier="gst_navigation_event_parse_mouse_button_event">
        <doc xml:space="preserve">Retrieve the details of either a #GstNavigation mouse button press event or
a mouse button release event. Determine which type the event is using
gst_navigation_event_get_type() to retrieve the #GstNavigationEventType.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if the button number and both coordinates could be extracted,
    otherwise FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent to inspect.</doc>
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
654 655 656 657 658 659 660 661
          <parameter name="button"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a gint that will receive the button
    number associated with the event.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
662 663
            <type name="gint" c:type="gint*"/>
          </parameter>
664 665 666 667 668 669 670 671
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a gdouble to receive the x coordinate of the
    mouse button event.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
672 673
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
674 675 676 677 678 679 680 681
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a gdouble to receive the y coordinate of the
    mouse button event.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </function>
      <function name="event_parse_mouse_move_event"
                c:identifier="gst_navigation_event_parse_mouse_move_event">
        <doc xml:space="preserve">Inspect a #GstNavigation mouse movement event and extract the coordinates
of the event.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if both coordinates could be extracted, otherwise FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent to inspect.</doc>
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
699 700 701 702 703 704 705 706
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a gdouble to receive the x coordinate of the
    mouse movement.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
707 708
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
709 710 711 712 713 714 715 716
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a gdouble to receive the y coordinate of the
    mouse movement.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_get_type"
                c:identifier="gst_navigation_message_get_type">
        <doc xml:space="preserve">Check a bus message to see if it is a #GstNavigation event, and return
the #GstNavigationMessageType identifying the type of the message if so.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The type of the #GstMessage, or
#GST_NAVIGATION_MESSAGE_INVALID if the message is not a #GstNavigation
notification.</doc>
          <type name="NavigationMessageType"
                c:type="GstNavigationMessageType"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A #GstMessage to inspect.</doc>
            <type name="Gst.Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_new_angles_changed"
                c:identifier="gst_navigation_message_new_angles_changed">
        <doc xml:space="preserve">Creates a new #GstNavigation message with type
#GST_NAVIGATION_MESSAGE_ANGLES_CHANGED for notifying an application
that the current angle, or current number of angles available in a
multiangle video has changed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new #GstMessage.</doc>
          <type name="Gst.Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">A #GstObject to set as source of the new message.</doc>
            <type name="Gst.Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="cur_angle" transfer-ownership="none">
            <doc xml:space="preserve">The currently selected angle.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="n_angles" transfer-ownership="none">
            <doc xml:space="preserve">The number of viewing angles now available.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_new_commands_changed"
                c:identifier="gst_navigation_message_new_commands_changed">
        <doc xml:space="preserve">Creates a new #GstNavigation message with type
#GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new #GstMessage.</doc>
          <type name="Gst.Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">A #GstObject to set as source of the new message.</doc>
            <type name="Gst.Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_new_event"
                c:identifier="gst_navigation_message_new_event"
                version="1.6">
        <doc xml:space="preserve">Creates a new #GstNavigation message with type
#GST_NAVIGATION_MESSAGE_EVENT.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new #GstMessage.</doc>
          <type name="Gst.Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">A #GstObject to set as source of the new message.</doc>
            <type name="Gst.Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A navigation #GstEvent</doc>
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_new_mouse_over"
                c:identifier="gst_navigation_message_new_mouse_over">
        <doc xml:space="preserve">Creates a new #GstNavigation message with type
#GST_NAVIGATION_MESSAGE_MOUSE_OVER.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new #GstMessage.</doc>
          <type name="Gst.Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">A #GstObject to set as source of the new message.</doc>
            <type name="Gst.Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the mouse has entered a clickable area of the display.
%FALSE if it over a non-clickable area.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_parse_angles_changed"
                c:identifier="gst_navigation_message_parse_angles_changed">
        <doc xml:space="preserve">Parse a #GstNavigation message of type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED
and extract the @cur_angle and @n_angles parameters.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message could be successfully parsed. %FALSE if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A #GstMessage to inspect.</doc>
            <type name="Gst.Message" c:type="GstMessage*"/>
          </parameter>
832 833 834 835 836 837 838 839
          <parameter name="cur_angle"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #guint to receive the new
    current angle number, or NULL</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
840 841
            <type name="guint" c:type="guint*"/>
          </parameter>
842 843 844 845 846 847 848 849
          <parameter name="n_angles"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #guint to receive the new angle
    count, or NULL.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_parse_event"
                c:identifier="gst_navigation_message_parse_event"
                version="1.6">
        <doc xml:space="preserve">Parse a #GstNavigation message of type #GST_NAVIGATION_MESSAGE_EVENT
and extract contained #GstEvent. The caller must unref the @event when done
with it.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message could be successfully parsed. %FALSE if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A #GstMessage to inspect.</doc>
            <type name="Gst.Message" c:type="GstMessage*"/>
          </parameter>
          <parameter name="event"
                     direction="out"
                     caller-allocates="0"
872 873 874 875 876
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to a #GstEvent to receive
    the contained navigation event.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894
            <type name="Gst.Event" c:type="GstEvent**"/>
          </parameter>
        </parameters>
      </function>
      <function name="message_parse_mouse_over"
                c:identifier="gst_navigation_message_parse_mouse_over">
        <doc xml:space="preserve">Parse a #GstNavigation message of type #GST_NAVIGATION_MESSAGE_MOUSE_OVER
and extract the active/inactive flag. If the mouse over event is marked
active, it indicates that the mouse is over a clickable area.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message could be successfully parsed. %FALSE if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A #GstMessage to inspect.</doc>
            <type name="Gst.Message" c:type="GstMessage*"/>
          </parameter>
895 896 897 898 899 900 901 902
          <parameter name="active"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a gboolean to receive the
    active/inactive state, or NULL.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </function>
      <function name="query_get_type"
                c:identifier="gst_navigation_query_get_type">
        <doc xml:space="preserve">Inspect a #GstQuery and return the #GstNavigationQueryType associated with
it if it is a #GstNavigation query.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GstNavigationQueryType of the query, or
#GST_NAVIGATION_QUERY_INVALID</doc>
          <type name="NavigationQueryType" c:type="GstNavigationQueryType"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The query to inspect</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </function>
      <function name="query_new_angles"
                c:identifier="gst_navigation_query_new_angles">
        <doc xml:space="preserve">Create a new #GstNavigation angles query. When executed, it will
query the pipeline for the set of currently available angles, which may be
greater than one in a multiangle video.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new query.</doc>
          <type name="Gst.Query" c:type="GstQuery*"/>
        </return-value>
      </function>
      <function name="query_new_commands"
                c:identifier="gst_navigation_query_new_commands">
        <doc xml:space="preserve">Create a new #GstNavigation commands query. When executed, it will
query the pipeline for the set of currently available commands.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new query.</doc>
          <type name="Gst.Query" c:type="GstQuery*"/>
        </return-value>
      </function>
      <function name="query_parse_angles"
                c:identifier="gst_navigation_query_parse_angles">
        <doc xml:space="preserve">Parse the current angle number in the #GstNavigation angles @query into the
#guint pointed to by the @cur_angle variable, and the number of available
angles into the #guint pointed to by the @n_angles variable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be successfully parsed. %FALSE if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
956 957 958 959 960 961 962 963
          <parameter name="cur_angle"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a #guint into which to store the
    currently selected angle value from the query, or NULL</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
964 965
            <type name="guint" c:type="guint*"/>
          </parameter>
966 967 968 969 970 971 972 973
          <parameter name="n_angles"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Pointer to a #guint into which to store the
    number of angles value from the query, or NULL</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </function>
      <function name="query_parse_commands_length"
                c:identifier="gst_navigation_query_parse_commands_length">
        <doc xml:space="preserve">Parse the number of commands in the #GstNavigation commands @query.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be successfully parsed. %FALSE if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
          <parameter name="n_cmds"
                     direction="out"
                     caller-allocates="0"
993 994 995
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
Sebastian Dröge's avatar
Sebastian Dröge committed
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
            <doc xml:space="preserve">the number of commands in this query.</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </function>
      <function name="query_parse_commands_nth"
                c:identifier="gst_navigation_query_parse_commands_nth">
        <doc xml:space="preserve">Parse the #GstNavigation command query and retrieve the @nth command from
it into @cmd. If the list contains less elements than @nth, @cmd will be
set to #GST_NAVIGATION_COMMAND_INVALID.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be successfully parsed. %FALSE if not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
          <parameter name="nth" transfer-ownership="none">
            <doc xml:space="preserve">the nth command to retrieve.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cmd"
                     direction="out"
                     caller-allocates="0"
1022 1023 1024
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
Sebastian Dröge's avatar
Sebastian Dröge committed
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
            <doc xml:space="preserve">a pointer to store the nth command into.</doc>
            <type name="NavigationCommand" c:type="GstNavigationCommand*"/>
          </parameter>
        </parameters>
      </function>
      <function name="query_set_angles"
                c:identifier="gst_navigation_query_set_angles">
        <doc xml:space="preserve">Set the #GstNavigation angles query result field in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
          <parameter name="cur_angle" transfer-ownership="none">
            <doc xml:space="preserve">the current viewing angle to set.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="n_angles" transfer-ownership="none">
            <doc xml:space="preserve">the number of viewing angles to set.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <function name="query_set_commands"
                c:identifier="gst_navigation_query_set_commands"
                introspectable="0">
        <doc xml:space="preserve">Set the #GstNavigation command query result fields in @query. The number
of commands passed must be equal to @n_commands.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
          <parameter name="n_cmds" transfer-ownership="none">
            <doc xml:space="preserve">the number of commands to set.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">A list of @GstNavigationCommand values, @n_cmds entries long.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </function>
      <function name="query_set_commandsv"
                c:identifier="gst_navigation_query_set_commandsv">
        <doc xml:space="preserve">Set the #GstNavigation command query result fields in @query. The number
of commands passed must be equal to @n_commands.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
          <parameter name="n_cmds" transfer-ownership="none">
            <doc xml:space="preserve">the number of commands to set.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cmds" transfer-ownership="none">
1091 1092 1093 1094 1095 1096 1097
            <doc xml:space="preserve">An array containing @n_cmds
    @GstNavigationCommand values.</doc>
            <array length="1"
                   zero-terminated="0"
                   c:type="GstNavigationCommand*">
              <type name="NavigationCommand" c:type="GstNavigationCommand"/>
            </array>
Sebastian Dröge's avatar
Sebastian Dröge committed
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710
          </parameter>
        </parameters>
      </function>
      <virtual-method name="send_event" invoker="send_event">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="navigation" transfer-ownership="none">
            <type name="Navigation" c:type="GstNavigation*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="none">
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="send_command" c:identifier="gst_navigation_send_command">
        <doc xml:space="preserve">Sends the indicated command to the navigation interface.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="navigation" transfer-ownership="none">
            <doc xml:space="preserve">The navigation interface instance</doc>
            <type name="Navigation" c:type="GstNavigation*"/>
          </instance-parameter>
          <parameter name="command" transfer-ownership="none">
            <doc xml:space="preserve">The command to issue</doc>
            <type name="NavigationCommand" c:type="GstNavigationCommand"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_event" c:identifier="gst_navigation_send_event">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="navigation" transfer-ownership="none">
            <type name="Navigation" c:type="GstNavigation*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="none">
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_key_event"
              c:identifier="gst_navigation_send_key_event">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="navigation" transfer-ownership="none">
            <doc xml:space="preserve">The navigation interface instance</doc>
            <type name="Navigation" c:type="GstNavigation*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The type of the key event. Recognised values are "key-press" and
"key-release"</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">Character representation of the key. This is typically as produced
by XKeysymToString.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_mouse_event"
              c:identifier="gst_navigation_send_mouse_event">
        <doc xml:space="preserve">Sends a mouse event to the navigation interface. Mouse event coordinates
are sent relative to the display space of the related output area. This is
usually the size in pixels of the window associated with the element
implementing the #GstNavigation interface.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="navigation" transfer-ownership="none">
            <doc xml:space="preserve">The navigation interface instance</doc>
            <type name="Navigation" c:type="GstNavigation*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The type of mouse event, as a text string. Recognised values are
"mouse-button-press", "mouse-button-release" and "mouse-move".</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="button" transfer-ownership="none">
            <doc xml:space="preserve">The button number of the button being pressed or released. Pass 0
for mouse-move events.</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">The x coordinate of the mouse event.</doc>
            <type name="gdouble" c:type="double"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">The y coordinate of the mouse event.</doc>
            <type name="gdouble" c:type="double"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <enumeration name="NavigationCommand"
                 glib:type-name="GstNavigationCommand"
                 glib:get-type="gst_navigation_command_get_type"
                 c:type="GstNavigationCommand">
      <doc xml:space="preserve">A set of commands that may be issued to an element providing the
#GstNavigation interface. The available commands can be queried via
the gst_navigation_query_new_commands() query.

For convenience in handling DVD navigation, the MENU commands are aliased as:
   GST_NAVIGATION_COMMAND_DVD_MENU            = @GST_NAVIGATION_COMMAND_MENU1
   GST_NAVIGATION_COMMAND_DVD_TITLE_MENU      = @GST_NAVIGATION_COMMAND_MENU2
   GST_NAVIGATION_COMMAND_DVD_ROOT_MENU       = @GST_NAVIGATION_COMMAND_MENU3
   GST_NAVIGATION_COMMAND_DVD_SUBPICTURE_MENU = @GST_NAVIGATION_COMMAND_MENU4
   GST_NAVIGATION_COMMAND_DVD_AUDIO_MENU      = @GST_NAVIGATION_COMMAND_MENU5
   GST_NAVIGATION_COMMAND_DVD_ANGLE_MENU      = @GST_NAVIGATION_COMMAND_MENU6
   GST_NAVIGATION_COMMAND_DVD_CHAPTER_MENU    = @GST_NAVIGATION_COMMAND_MENU7</doc>
      <member name="invalid"
              value="0"
              c:identifier="GST_NAVIGATION_COMMAND_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve">An invalid command entry</doc>
      </member>
      <member name="menu1"
              value="1"
              c:identifier="GST_NAVIGATION_COMMAND_MENU1"
              glib:nick="menu1">
        <doc xml:space="preserve">Execute navigation menu command 1. For DVD,
this enters the DVD root menu, or exits back to the title from the menu.</doc>
      </member>
      <member name="menu2"
              value="2"
              c:identifier="GST_NAVIGATION_COMMAND_MENU2"
              glib:nick="menu2">
        <doc xml:space="preserve">Execute navigation menu command 2. For DVD,
this jumps to the DVD title menu.</doc>
      </member>
      <member name="menu3"
              value="3"
              c:identifier="GST_NAVIGATION_COMMAND_MENU3"
              glib:nick="menu3">
        <doc xml:space="preserve">Execute navigation menu command 3. For DVD,
this jumps into the DVD root menu.</doc>
      </member>
      <member name="menu4"
              value="4"
              c:identifier="GST_NAVIGATION_COMMAND_MENU4"
              glib:nick="menu4">
        <doc xml:space="preserve">Execute navigation menu command 4. For DVD,
this jumps to the Subpicture menu.</doc>
      </member>
      <member name="menu5"
              value="5"
              c:identifier="GST_NAVIGATION_COMMAND_MENU5"
              glib:nick="menu5">
        <doc xml:space="preserve">Execute navigation menu command 5. For DVD,
the jumps to the audio menu.</doc>
      </member>
      <member name="menu6"
              value="6"
              c:identifier="GST_NAVIGATION_COMMAND_MENU6"
              glib:nick="menu6">
        <doc xml:space="preserve">Execute navigation menu command 6. For DVD,
this jumps to the angles menu.</doc>
      </member>
      <member name="menu7"
              value="7"
              c:identifier="GST_NAVIGATION_COMMAND_MENU7"
              glib:nick="menu7">
        <doc xml:space="preserve">Execute navigation menu command 7. For DVD,
this jumps to the chapter menu.</doc>
      </member>
      <member name="left"
              value="20"
              c:identifier="GST_NAVIGATION_COMMAND_LEFT"
              glib:nick="left">
        <doc xml:space="preserve">Select the next button to the left in a menu,
if such a button exists.</doc>
      </member>
      <member name="right"
              value="21"
              c:identifier="GST_NAVIGATION_COMMAND_RIGHT"
              glib:nick="right">
        <doc xml:space="preserve">Select the next button to the right in a menu,
if such a button exists.</doc>
      </member>
      <member name="up"
              value="22"
              c:identifier="GST_NAVIGATION_COMMAND_UP"
              glib:nick="up">
        <doc xml:space="preserve">Select the button above the current one in a
menu, if such a button exists.</doc>
      </member>
      <member name="down"
              value="23"
              c:identifier="GST_NAVIGATION_COMMAND_DOWN"
              glib:nick="down">
        <doc xml:space="preserve">Select the button below the current one in a
menu, if such a button exists.</doc>
      </member>
      <member name="activate"
              value="24"
              c:identifier="GST_NAVIGATION_COMMAND_ACTIVATE"
              glib:nick="activate">
        <doc xml:space="preserve">Activate (click) the currently selected
button in a menu, if such a button exists.</doc>
      </member>
      <member name="prev_angle"
              value="30"
              c:identifier="GST_NAVIGATION_COMMAND_PREV_ANGLE"
              glib:nick="prev-angle">
        <doc xml:space="preserve">Switch to the previous angle in a
multiangle feature.</doc>
      </member>
      <member name="next_angle"
              value="31"
              c:identifier="GST_NAVIGATION_COMMAND_NEXT_ANGLE"
              glib:nick="next-angle">
        <doc xml:space="preserve">Switch to the next angle in a multiangle
feature.</doc>
      </member>
    </enumeration>
    <enumeration name="NavigationEventType"
                 glib:type-name="GstNavigationEventType"
                 glib:get-type="gst_navigation_event_type_get_type"
                 c:type="GstNavigationEventType">
      <doc xml:space="preserve">Enum values for the various events that an element implementing the
GstNavigation interface might send up the pipeline.</doc>
      <member name="invalid"
              value="0"
              c:identifier="GST_NAVIGATION_EVENT_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve">Returned from
gst_navigation_event_get_type() when the passed event is not a navigation event.</doc>
      </member>
      <member name="key_press"
              value="1"
              c:identifier="GST_NAVIGATION_EVENT_KEY_PRESS"
              glib:nick="key-press">
        <doc xml:space="preserve">A key press event. Use
gst_navigation_event_parse_key_event() to extract the details from the event.</doc>
      </member>
      <member name="key_release"
              value="2"
              c:identifier="GST_NAVIGATION_EVENT_KEY_RELEASE"
              glib:nick="key-release">
        <doc xml:space="preserve">A key release event. Use
gst_navigation_event_parse_key_event() to extract the details from the event.</doc>
      </member>
      <member name="mouse_button_press"
              value="3"
              c:identifier="GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS"
              glib:nick="mouse-button-press">
        <doc xml:space="preserve">A mouse button press event. Use
gst_navigation_event_parse_mouse_button_event() to extract the details from the
event.</doc>
      </member>
      <member name="mouse_button_release"
              value="4"
              c:identifier="GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE"
              glib:nick="mouse-button-release">
        <doc xml:space="preserve">A mouse button release event. Use
gst_navigation_event_parse_mouse_button_event() to extract the details from the
event.</doc>
      </member>
      <member name="mouse_move"
              value="5"
              c:identifier="GST_NAVIGATION_EVENT_MOUSE_MOVE"
              glib:nick="mouse-move">
        <doc xml:space="preserve">A mouse movement event. Use
gst_navigation_event_parse_mouse_move_event() to extract the details from the
event.</doc>
      </member>
      <member name="command"
              value="6"
              c:identifier="GST_NAVIGATION_EVENT_COMMAND"
              glib:nick="command">
        <doc xml:space="preserve">A navigation command event. Use
gst_navigation_event_parse_command() to extract the details from the event.</doc>
      </member>
    </enumeration>
    <record name="NavigationInterface"
            c:type="GstNavigationInterface"
            glib:is-gtype-struct-for="Navigation">
      <doc xml:space="preserve">Navigation interface.</doc>
      <field name="iface">
        <doc xml:space="preserve">the parent interface</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="send_event">
        <callback name="send_event">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="navigation" transfer-ownership="none">
              <type name="Navigation" c:type="GstNavigation*"/>
            </parameter>
            <parameter name="structure" transfer-ownership="none">
              <type name="Gst.Structure" c:type="GstStructure*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <enumeration name="NavigationMessageType"
                 glib:type-name="GstNavigationMessageType"
                 glib:get-type="gst_navigation_message_type_get_type"
                 c:type="GstNavigationMessageType">
      <doc xml:space="preserve">A set of notifications that may be received on the bus when navigation
related status changes.</doc>
      <member name="invalid"
              value="0"
              c:identifier="GST_NAVIGATION_MESSAGE_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve">Returned from
gst_navigation_message_get_type() when the passed message is not a
navigation message.</doc>
      </member>
      <member name="mouse_over"
              value="1"
              c:identifier="GST_NAVIGATION_MESSAGE_MOUSE_OVER"
              glib:nick="mouse-over">
        <doc xml:space="preserve">Sent when the mouse moves over or leaves a
clickable region of the output, such as a DVD menu button.</doc>
      </member>
      <member name="commands_changed"
              value="2"
              c:identifier="GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED"
              glib:nick="commands-changed">
        <doc xml:space="preserve">Sent when the set of available commands
changes and should re-queried by interested applications.</doc>
      </member>
      <member name="angles_changed"
              value="3"
              c:identifier="GST_NAVIGATION_MESSAGE_ANGLES_CHANGED"
              glib:nick="angles-changed">
        <doc xml:space="preserve">Sent when display angles in a multi-angle
feature (such as a multiangle DVD) change - either angles have appeared or
disappeared.</doc>
      </member>
      <member name="event"
              value="4"
              c:identifier="GST_NAVIGATION_MESSAGE_EVENT"
              glib:nick="event">
        <doc xml:space="preserve">Sent when a navigation event was not handled
by any element in the pipeline (Since 1.6)</doc>
      </member>
    </enumeration>
    <enumeration name="NavigationQueryType"
                 glib:type-name="GstNavigationQueryType"
                 glib:get-type="gst_navigation_query_type_get_type"
                 c:type="GstNavigationQueryType">
      <doc xml:space="preserve">Tyoes of navigation interface queries.</doc>
      <member name="invalid"
              value="0"
              c:identifier="GST_NAVIGATION_QUERY_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve">invalid query</doc>
      </member>
      <member name="commands"
              value="1"
              c:identifier="GST_NAVIGATION_QUERY_COMMANDS"
              glib:nick="commands">
        <doc xml:space="preserve">command query</doc>
      </member>
      <member name="angles"
              value="2"
              c:identifier="GST_NAVIGATION_QUERY_ANGLES"
              glib:nick="angles">
        <doc xml:space="preserve">viewing angle query</doc>
      </member>
    </enumeration>
    <constant name="VIDEO_COLORIMETRY_BT2020"
              value="bt2020"
              c:type="GST_VIDEO_COLORIMETRY_BT2020">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_COLORIMETRY_BT601"
              value="bt601"
              c:type="GST_VIDEO_COLORIMETRY_BT601">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_COLORIMETRY_BT709"
              value="bt709"
              c:type="GST_VIDEO_COLORIMETRY_BT709">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_COLORIMETRY_SMPTE240M"
              value="smpte240m"
              c:type="GST_VIDEO_COLORIMETRY_SMPTE240M">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_COLORIMETRY_SRGB"
              value="sRGB"
              c:type="GST_VIDEO_COLORIMETRY_SRGB">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_COMP_A" value="3" c:type="GST_VIDEO_COMP_A">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_B" value="2" c:type="GST_VIDEO_COMP_B">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_G" value="1" c:type="GST_VIDEO_COMP_G">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_INDEX" value="0" c:type="GST_VIDEO_COMP_INDEX">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_PALETTE"
              value="1"
              c:type="GST_VIDEO_COMP_PALETTE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_R" value="0" c:type="GST_VIDEO_COMP_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_U" value="1" c:type="GST_VIDEO_COMP_U">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_V" value="2" c:type="GST_VIDEO_COMP_V">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_COMP_Y" value="0" c:type="GST_VIDEO_COMP_Y">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_ALPHA_MODE"
              value="GstVideoConverter.alpha-mode"
              c:type="GST_VIDEO_CONVERTER_OPT_ALPHA_MODE">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_ALPHA_MODE, the alpha mode to use.
Default is #GST_VIDEO_ALPHA_MODE_COPY.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_ALPHA_VALUE"
              value="GstVideoConverter.alpha-value"
              c:type="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE">
      <doc xml:space="preserve">#G_TYPE_DOUBLE, the alpha color value to use.
Default to 1.0</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_BORDER_ARGB"
              value="GstVideoConverter.border-argb"
              c:type="GST_VIDEO_CONVERTER_OPT_BORDER_ARGB">
      <doc xml:space="preserve">#G_TYPE_UINT, the border color to use if #GST_VIDEO_CONVERTER_OPT_FILL_BORDER
is set to %TRUE. The color is in ARGB format.
Default 0xff000000</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_CHROMA_MODE"
              value="GstVideoConverter.chroma-mode"
              c:type="GST_VIDEO_CONVERTER_OPT_CHROMA_MODE">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_CHROMA_MODE, set the chroma resample mode subsampled
formats. Default is #GST_VIDEO_CHROMA_MODE_FULL.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD"
              value="GstVideoConverter.chroma-resampler-method"
              c:type="GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD">
      <doc xml:space="preserve">#GST_TYPE_RESAMPLER_METHOD, The resampler method to use for
chroma resampling. Other options for the resampler can be used, see
the #GstResampler. Default is #GST_RESAMPLER_METHOD_LINEAR</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_DEST_HEIGHT"
              value="GstVideoConverter.dest-height"
              c:type="GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT">
      <doc xml:space="preserve">#G_TYPE_INT, height in the destination frame, default destination height</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_DEST_WIDTH"
              value="GstVideoConverter.dest-width"
              c:type="GST_VIDEO_CONVERTER_OPT_DEST_WIDTH">
      <doc xml:space="preserve">#G_TYPE_INT, width in the destination frame, default destination width</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_DEST_X"
              value="GstVideoConverter.dest-x"
              c:type="GST_VIDEO_CONVERTER_OPT_DEST_X">
      <doc xml:space="preserve">#G_TYPE_INT, x position in the destination frame, default 0</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_DEST_Y"
              value="GstVideoConverter.dest-y"
              c:type="GST_VIDEO_CONVERTER_OPT_DEST_Y">
      <doc xml:space="preserve">#G_TYPE_INT, y position in the destination frame, default 0</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_DITHER_METHOD"
              value="GstVideoConverter.dither-method"
              c:type="GST_VIDEO_CONVERTER_OPT_DITHER_METHOD">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_DITHER_METHOD, The dither method to use when
changing bit depth.
Default is #GST_VIDEO_DITHER_BAYER.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION"
              value="GstVideoConverter.dither-quantization"
              c:type="GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION">
      <doc xml:space="preserve">#G_TYPE_UINT, The quantization amount to dither to. Components will be
quantized to multiples of this value.
Default is 1</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_FILL_BORDER"
              value="GstVideoConverter.fill-border"
              c:type="GST_VIDEO_CONVERTER_OPT_FILL_BORDER">
      <doc xml:space="preserve">#G_TYPE_BOOLEAN, if the destination rectangle does not fill the complete
destination image, render a border with
#GST_VIDEO_CONVERTER_OPT_BORDER_ARGB. Otherwise the unusded pixels in the
destination are untouched. Default %TRUE.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_GAMMA_MODE"
              value="GstVideoConverter.gamma-mode"
              c:type="GST_VIDEO_CONVERTER_OPT_GAMMA_MODE">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_GAMMA_MODE, set the gamma mode.
Default is #GST_VIDEO_GAMMA_MODE_NONE.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_MATRIX_MODE"
              value="GstVideoConverter.matrix-mode"
              c:type="GST_VIDEO_CONVERTER_OPT_MATRIX_MODE">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_MATRIX_MODE, set the color matrix conversion mode for
converting between Y'PbPr and non-linear RGB (R'G'B').
Default is #GST_VIDEO_MATRIX_MODE_FULL.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_PRIMARIES_MODE"
              value="GstVideoConverter.primaries-mode"
              c:type="GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_PRIMARIES_MODE, set the primaries conversion mode.
Default is #GST_VIDEO_PRIMARIES_MODE_NONE.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_RESAMPLER_METHOD"
              value="GstVideoConverter.resampler-method"
              c:type="GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD">
      <doc xml:space="preserve">#GST_TYPE_RESAMPLER_METHOD, The resampler method to use for
resampling. Other options for the resampler can be used, see
the #GstResampler. Default is #GST_RESAMPLER_METHOD_CUBIC</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_RESAMPLER_TAPS"
              value="GstVideoConverter.resampler-taps"
              c:type="GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS">
      <doc xml:space="preserve">#G_TYPE_UINT, The number of taps for the resampler.
Default is 0: let the resampler choose a good value.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_SRC_HEIGHT"
              value="GstVideoConverter.src-height"
              c:type="GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT">
      <doc xml:space="preserve">#G_TYPE_INT, source height to convert, default source height</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_SRC_WIDTH"
              value="GstVideoConverter.src-width"
              c:type="GST_VIDEO_CONVERTER_OPT_SRC_WIDTH">
      <doc xml:space="preserve">#G_TYPE_INT, source width to convert, default source width</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_SRC_X"
              value="GstVideoConverter.src-x"
              c:type="GST_VIDEO_CONVERTER_OPT_SRC_X">
      <doc xml:space="preserve">#G_TYPE_INT, source x position to start conversion, default 0</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_SRC_Y"
              value="GstVideoConverter.src-y"
              c:type="GST_VIDEO_CONVERTER_OPT_SRC_Y">
      <doc xml:space="preserve">#G_TYPE_INT, source y position to start conversion, default 0</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_CONVERTER_OPT_THREADS"
              value="GstVideoConverter.threads"
              c:type="GST_VIDEO_CONVERTER_OPT_THREADS">
      <doc xml:space="preserve">#G_TYPE_UINT, maximum number of threads to use. Default 1, 0 for the number
of cores.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_DECODER_MAX_ERRORS"
              value="10"
              c:type="GST_VIDEO_DECODER_MAX_ERRORS">
      <doc xml:space="preserve">Default maximum number of errors tolerated before signaling error.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_DECODER_SINK_NAME"
              value="sink"
              c:type="GST_VIDEO_DECODER_SINK_NAME">
      <doc xml:space="preserve">The name of the templates for the sink pad.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_DECODER_SRC_NAME"
              value="src"
              c:type="GST_VIDEO_DECODER_SRC_NAME">
      <doc xml:space="preserve">The name of the templates for the source pad.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_ENCODER_SINK_NAME"
              value="sink"
              c:type="GST_VIDEO_ENCODER_SINK_NAME">
      <doc xml:space="preserve">The name of the templates for the sink pad.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_ENCODER_SRC_NAME"
              value="src"
              c:type="GST_VIDEO_ENCODER_SRC_NAME">
      <doc xml:space="preserve">The name of the templates for the source pad.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_FORMATS_ALL"
1711
              value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }"
Sebastian Dröge's avatar
Sebastian Dröge committed
1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809
              c:type="GST_VIDEO_FORMATS_ALL">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_FPS_RANGE"
              value="(fraction) [ 0, max ]"
              c:type="GST_VIDEO_FPS_RANGE">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_MAX_COMPONENTS"
              value="4"
              c:type="GST_VIDEO_MAX_COMPONENTS">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_MAX_PLANES" value="4" c:type="GST_VIDEO_MAX_PLANES">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS"
              value="{ BGRx, RGBx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, I420, YV12, AYUV, YUY2, UYVY, v308, Y41B, Y42B, Y444, NV12, NV21, A420, YUV9, YVU9, IYU1, GRAY8 }"
              c:type="GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS"
              version="1.2">
      <doc xml:space="preserve">Video formats supported by gst_video_overlay_composition_blend(), for
use in overlay elements' pad template caps.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_RESAMPLER_OPT_CUBIC_B"
              value="GstVideoResampler.cubic-b"
              c:type="GST_VIDEO_RESAMPLER_OPT_CUBIC_B">
      <doc xml:space="preserve">G_TYPE_DOUBLE, B parameter of the cubic filter. The B
parameter controls the bluriness. Values between 0.0 and
2.0 are accepted. 1/3 is the default.

Below are some values of popular filters:
                   B       C
Hermite           0.0     0.0
Spline            1.0     0.0
Catmull-Rom       0.0     1/2
Mitchell          1/3     1/3
Robidoux          0.3782  0.3109
Robidoux
 Sharp            0.2620  0.3690
Robidoux
 Soft             0.6796  0.1602</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_RESAMPLER_OPT_CUBIC_C"
              value="GstVideoResampler.cubic-c"
              c:type="GST_VIDEO_RESAMPLER_OPT_CUBIC_C">
      <doc xml:space="preserve">G_TYPE_DOUBLE, C parameter of the cubic filter. The C
parameter controls the Keys alpha value. Values between 0.0 and
2.0 are accepted. 1/3 is the default.

See #GST_VIDEO_RESAMPLER_OPT_CUBIC_B for some more common values</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_RESAMPLER_OPT_ENVELOPE"
              value="GstVideoResampler.envelope"
              c:type="GST_VIDEO_RESAMPLER_OPT_ENVELOPE">
      <doc xml:space="preserve">G_TYPE_DOUBLE, specifies the size of filter envelope for
@GST_VIDEO_RESAMPLER_METHOD_LANCZOS. values are clamped between
1.0 and 5.0. 2.0 is the default.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_RESAMPLER_OPT_MAX_TAPS"
              value="GstVideoResampler.max-taps"
              c:type="GST_VIDEO_RESAMPLER_OPT_MAX_TAPS">
      <doc xml:space="preserve">G_TYPE_INT, limits the maximum number of taps to use.
16 is the default.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_RESAMPLER_OPT_SHARPEN"
              value="GstVideoResampler.sharpen"
              c:type="GST_VIDEO_RESAMPLER_OPT_SHARPEN">
      <doc xml:space="preserve">G_TYPE_DOUBLE, specifies sharpening of the filter for
@GST_VIDEO_RESAMPLER_METHOD_LANCZOS. values are clamped between
0.0 and 1.0. 0.0 is the default.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_RESAMPLER_OPT_SHARPNESS"
              value="GstVideoResampler.sharpness"
              c:type="GST_VIDEO_RESAMPLER_OPT_SHARPNESS">
      <doc xml:space="preserve">G_TYPE_DOUBLE, specifies sharpness of the filter for
@GST_VIDEO_RESAMPLER_METHOD_LANCZOS. values are clamped between
0.5 and 1.5. 1.0 is the default.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_SCALER_OPT_DITHER_METHOD"
              value="GstVideoScaler.dither-method"
              c:type="GST_VIDEO_SCALER_OPT_DITHER_METHOD">
      <doc xml:space="preserve">#GST_TYPE_VIDEO_DITHER_METHOD, The dither method to use for propagating
quatization errors.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_SIZE_RANGE"
              value="(int) [ 1, max ]"
              c:type="GST_VIDEO_SIZE_RANGE">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_TILE_TYPE_MASK"
1810
              value="65535"
Sebastian Dröge's avatar
Sebastian Dröge committed
1811 1812 1813 1814 1815 1816 1817 1818 1819
              c:type="GST_VIDEO_TILE_TYPE_MASK">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_TILE_TYPE_SHIFT"
              value="16"
              c:type="GST_VIDEO_TILE_TYPE_SHIFT">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_TILE_X_TILES_MASK"
1820
              value="65535"
Sebastian Dröge's avatar
Sebastian Dröge committed
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844
              c:type="GST_VIDEO_TILE_X_TILES_MASK">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VIDEO_TILE_Y_TILES_SHIFT"
              value="16"
              c:type="GST_VIDEO_TILE_Y_TILES_SHIFT">
      <type name="gint" c:type="gint"/>
    </constant>
    <callback name="VideoAffineTransformationGetMatrix"
              c:type="GstVideoAffineTransformationGetMatrix">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="meta" transfer-ownership="none">
          <type name="VideoAffineTransformationMeta"
                c:type="GstVideoAffineTransformationMeta*"/>
        </parameter>
        <parameter name="matrix" transfer-ownership="none">
          <type name="gfloat" c:type="gfloat*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="VideoAffineTransformationMeta"
1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856
            c:type="GstVideoAffineTransformationMeta"
            version="1.8">
      <doc xml:space="preserve">Extra buffer metadata for performing an affine transformation using a 4x4
matrix. The transformation matrix can be composed with
gst_video_affine_transformation_meta_apply_matrix().

The vertices operated on are all in the range 0 to 1, not in
Normalized Device Coordinates (-1 to +1). Transforming points in this space
are assumed to have an origin at (0.5, 0.5, 0.5) in a left-handed coordinate
system with the x-axis moving horizontally (positive values to the right),
the y-axis moving vertically (positive values up the screen) and the z-axis
perpendicular to the screen (positive values into the screen).</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
1857
      <field name="meta" writable="1">
1858
        <doc xml:space="preserve">parent #GstMeta</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
1859 1860 1861
        <type name="Gst.Meta" c:type="GstMeta"/>
      </field>
      <field name="matrix" writable="1">
1862
        <doc xml:space="preserve">the column-major 4x4 transformation matrix</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
1863 1864 1865 1866 1867 1868 1869
        <array zero-terminated="0" c:type="gfloat" fixed-size="16">
          <type name="gfloat" c:type="gfloat"/>
        </array>
      </field>
      <method name="apply_matrix"
              c:identifier="gst_video_affine_transformation_meta_apply_matrix"
              version="1.8">
1870 1871
        <doc xml:space="preserve">Apply a transformation using the given 4x4 transformation matrix.
Performs the multiplication, meta-&gt;matrix X matrix.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="meta" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoAffineTransformationMeta</doc>
            <type name="VideoAffineTransformationMeta"
                  c:type="GstVideoAffineTransformationMeta*"/>
          </instance-parameter>
          <parameter name="matrix" transfer-ownership="none">
            <doc xml:space="preserve">a 4x4 transformation matrix to be applied</doc>
            <type name="gfloat" c:type="const gfloat"/>
          </parameter>
        </parameters>
      </method>
      <function name="get_info"
                c:identifier="gst_video_affine_transformation_meta_get_info">
        <return-value transfer-ownership="none">
          <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <record name="VideoAlignment" c:type="GstVideoAlignment">
      <doc xml:space="preserve">Extra alignment parameters for the memory of video buffers. This
structure is usually used to configure the bufferpool if it supports the
#GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT.</doc>
      <field name="padding_top" writable="1">
        <doc xml:space="preserve">extra pixels on the top</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="padding_bottom" writable="1">
        <doc xml:space="preserve">extra pixels on the bottom</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="padding_left" writable="1">
        <doc xml:space="preserve">extra pixels on the left side</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="padding_right" writable="1">
        <doc xml:space="preserve">extra pixels on the right side</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="stride_align" writable="1">
        <doc xml:space="preserve">array with extra alignment requirements for the strides</doc>
        <array zero-terminated="0" c:type="guint" fixed-size="4">
          <type name="guint" c:type="guint"/>
        </array>
      </field>
      <method name="reset" c:identifier="gst_video_alignment_reset">
        <doc xml:space="preserve">Set @align to its default values with no padding and no alignment.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoAlignment</doc>
            <type name="VideoAlignment" c:type="GstVideoAlignment*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="VideoAlphaMode"
                 version="1.6"
                 glib:type-name="GstVideoAlphaMode"
                 glib:get-type="gst_video_alpha_mode_get_type"
                 c:type="GstVideoAlphaMode">
      <doc xml:space="preserve">Different alpha modes.</doc>
      <member name="copy"
              value="0"
              c:identifier="GST_VIDEO_ALPHA_MODE_COPY"
              glib:nick="copy">
        <doc xml:space="preserve">When input and output have alpha, it will be copied.
        When the input has no alpha, alpha will be set to
        #GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</doc>
      </member>
      <member name="set"
              value="1"
              c:identifier="GST_VIDEO_ALPHA_MODE_SET"
              glib:nick="set">
        <doc xml:space="preserve">set all alpha to
   #GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</doc>
      </member>
      <member name="mult"
              value="2"
              c:identifier="GST_VIDEO_ALPHA_MODE_MULT"
              glib:nick="mult">
        <doc xml:space="preserve">multiply all alpha with
        #GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE.
        When the input format has no alpha but the output format has, the
        alpha value will be set to #GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</doc>
      </member>
    </enumeration>
    <bitfield name="VideoBufferFlags"
              glib:type-name="GstVideoBufferFlags"
              glib:get-type="gst_video_buffer_flags_get_type"
              c:type="GstVideoBufferFlags">
      <doc xml:space="preserve">Additional video buffer flags. These flags can potentially be used on any
buffers carrying video data - even encoded data.

Note that these are only valid for #GstCaps of type: video/...
They can conflict with other extended buffer flags.</doc>
      <member name="interlaced"
              value="1048576"
              c:identifier="GST_VIDEO_BUFFER_FLAG_INTERLACED"
              glib:nick="interlaced">
        <doc xml:space="preserve">If the #GstBuffer is interlaced. In mixed
                                    interlace-mode, this flags specifies if the frame is
                                    interlaced or progressive.</doc>
      </member>
      <member name="tff"
              value="2097152"
              c:identifier="GST_VIDEO_BUFFER_FLAG_TFF"
              glib:nick="tff">
        <doc xml:space="preserve">If the #GstBuffer is interlaced, then the first field
                                    in the video frame is the top field.  If unset, the
                                    bottom field is first.</doc>
      </member>
      <member name="rff"
              value="4194304"
              c:identifier="GST_VIDEO_BUFFER_FLAG_RFF"
              glib:nick="rff">
        <doc xml:space="preserve">If the #GstBuffer is interlaced, then the first field
                                    (as defined by the %GST_VIDEO_BUFFER_TFF flag setting)
                                    is repeated.</doc>
      </member>
      <member name="onefield"
              value="8388608"
              c:identifier="GST_VIDEO_BUFFER_FLAG_ONEFIELD"
              glib:nick="onefield">
        <doc xml:space="preserve">If the #GstBuffer is interlaced, then only the
                                    first field (as defined by the %GST_VIDEO_BUFFER_TFF
                                    flag setting) is to be displayed.</doc>
      </member>
      <member name="multiple_view"
              value="16777216"
              c:identifier="GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW"
              glib:nick="multiple-view">
        <doc xml:space="preserve">The #GstBuffer contains one or more specific views,
                                    such as left or right eye view. This flags is set on
                                    any buffer that contains non-mono content - even for
                                    streams that contain only a single viewpoint. In mixed
                                    mono / non-mono streams, the absense of the flag marks
                                    mono buffers.</doc>
      </member>
      <member name="first_in_bundle"
              value="33554432"
              c:identifier="GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE"
              glib:nick="first-in-bundle">
        <doc xml:space="preserve">When conveying stereo/multiview content with
                                    frame-by-frame methods, this flag marks the first buffer
                                     in a bundle of frames that belong together.</doc>
      </member>
      <member name="last"
              value="268435456"
              c:identifier="GST_VIDEO_BUFFER_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">Offset to define more flags</doc>
      </member>
    </bitfield>
    <class name="VideoBufferPool"
           c:symbol-prefix="video_buffer_pool"
           c:type="GstVideoBufferPool"
           parent="Gst.BufferPool"
           glib:type-name="GstVideoBufferPool"
           glib:get-type="gst_video_buffer_pool_get_type"
           glib:type-struct="VideoBufferPoolClass">
      <constructor name="new" c:identifier="gst_video_buffer_pool_new">
        <doc xml:space="preserve">Create a new bufferpool that can allocate video frames. This bufferpool
supports all the video bufferpool options.</doc>
2041
        <return-value transfer-ownership="full">
Sebastian Dröge's avatar
Sebastian Dröge committed
2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376
          <doc xml:space="preserve">a new #GstBufferPool to allocate video frames</doc>
          <type name="Gst.BufferPool" c:type="GstBufferPool*"/>
        </return-value>
      </constructor>
      <field name="bufferpool">
        <type name="Gst.BufferPool" c:type="GstBufferPool"/>
      </field>
      <field name="priv">
        <type name="VideoBufferPoolPrivate"
              c:type="GstVideoBufferPoolPrivate*"/>
      </field>
    </class>
    <record name="VideoBufferPoolClass"
            c:type="GstVideoBufferPoolClass"
            glib:is-gtype-struct-for="VideoBufferPool">
      <field name="parent_class">
        <type name="Gst.BufferPoolClass" c:type="GstBufferPoolClass"/>
      </field>
    </record>
    <record name="VideoBufferPoolPrivate"
            c:type="GstVideoBufferPoolPrivate"
            disguised="1">
    </record>
    <bitfield name="VideoChromaFlags"
              glib:type-name="GstVideoChromaFlags"
              glib:get-type="gst_video_chroma_flags_get_type"
              c:type="GstVideoChromaFlags">
      <doc xml:space="preserve">Extra flags that influence the result from gst_video_chroma_resample_new().</doc>
      <member name="none"
              value="0"
              c:identifier="GST_VIDEO_CHROMA_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no flags</doc>
      </member>
      <member name="interlaced"
              value="1"
              c:identifier="GST_VIDEO_CHROMA_FLAG_INTERLACED"
              glib:nick="interlaced">
        <doc xml:space="preserve">the input is interlaced</doc>
      </member>
    </bitfield>
    <enumeration name="VideoChromaMethod"
                 glib:type-name="GstVideoChromaMethod"
                 glib:get-type="gst_video_chroma_method_get_type"
                 c:type="GstVideoChromaMethod">
      <doc xml:space="preserve">Different subsampling and upsampling methods</doc>
      <member name="nearest"
              value="0"
              c:identifier="GST_VIDEO_CHROMA_METHOD_NEAREST"
              glib:nick="nearest">
        <doc xml:space="preserve">Duplicates the chroma samples when
   upsampling and drops when subsampling</doc>
      </member>
      <member name="linear"
              value="1"
              c:identifier="GST_VIDEO_CHROMA_METHOD_LINEAR"
              glib:nick="linear">
        <doc xml:space="preserve">Uses linear interpolation to reconstruct
   missing chroma and averaging to subsample</doc>
      </member>
    </enumeration>
    <enumeration name="VideoChromaMode"
                 version="1.6"
                 glib:type-name="GstVideoChromaMode"
                 glib:get-type="gst_video_chroma_mode_get_type"
                 c:type="GstVideoChromaMode">
      <doc xml:space="preserve">Different chroma downsampling and upsampling modes</doc>
      <member name="full"
              value="0"
              c:identifier="GST_VIDEO_CHROMA_MODE_FULL"
              glib:nick="full">
        <doc xml:space="preserve">do full chroma up and down sampling</doc>
      </member>
      <member name="upsample_only"
              value="1"
              c:identifier="GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY"
              glib:nick="upsample-only">
        <doc xml:space="preserve">only perform chroma upsampling</doc>
      </member>
      <member name="downsample_only"
              value="2"
              c:identifier="GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY"
              glib:nick="downsample-only">
        <doc xml:space="preserve">only perform chroma downsampling</doc>
      </member>
      <member name="none"
              value="3"
              c:identifier="GST_VIDEO_CHROMA_MODE_NONE"
              glib:nick="none">
        <doc xml:space="preserve">disable chroma resampling</doc>
      </member>
    </enumeration>
    <record name="VideoChromaResample"
            c:type="GstVideoChromaResample"
            disguised="1">
      <method name=""
              c:identifier="gst_video_chroma_resample"
              moved-to="video_chroma_resample">
        <doc xml:space="preserve">Perform resampling of @width chroma pixels in @lines.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="resample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoChromaResample</doc>
            <type name="VideoChromaResample" c:type="GstVideoChromaResample*"/>
          </instance-parameter>
          <parameter name="lines"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">pixel lines</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">the number of pixels on one line</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_video_chroma_resample_free">
        <doc xml:space="preserve">Free @resample</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="resample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoChromaResample</doc>
            <type name="VideoChromaResample" c:type="GstVideoChromaResample*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_info"
              c:identifier="gst_video_chroma_resample_get_info">
        <doc xml:space="preserve">The resampler must be fed @n_lines at a time. The first line should be
at @offset.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="resample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoChromaResample</doc>
            <type name="VideoChromaResample" c:type="GstVideoChromaResample*"/>
          </instance-parameter>
          <parameter name="n_lines" transfer-ownership="none">
            <doc xml:space="preserve">the number of input lines</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the first line</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <function name="new"
                c:identifier="gst_video_chroma_resample_new"
                introspectable="0">
        <doc xml:space="preserve">Create a new resampler object for the given parameters. When @h_factor or
@v_factor is &gt; 0, upsampling will be used, otherwise subsampling is
performed.</doc>
        <return-value>
          <doc xml:space="preserve">a new #GstVideoChromaResample that should be freed with
    gst_video_chroma_resample_free() after usage.</doc>
          <type name="VideoChromaResample" c:type="GstVideoChromaResample*"/>
        </return-value>
        <parameters>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoChromaMethod</doc>
            <type name="VideoChromaMethod" c:type="GstVideoChromaMethod"/>
          </parameter>
          <parameter name="site" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoChromaSite</doc>
            <type name="VideoChromaSite" c:type="GstVideoChromaSite"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstVideoChromaFlags</doc>
            <type name="VideoChromaFlags" c:type="GstVideoChromaFlags"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstVideoFormat</doc>
            <type name="VideoFormat" c:type="GstVideoFormat"/>
          </parameter>
          <parameter name="h_factor" transfer-ownership="none">
            <doc xml:space="preserve">horizontal resampling factor</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="v_factor" transfer-ownership="none">
            <doc xml:space="preserve">vertical resampling factor</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <bitfield name="VideoChromaSite"
              glib:type-name="GstVideoChromaSite"
              glib:get-type="gst_video_chroma_site_get_type"
              c:type="GstVideoChromaSite">
      <doc xml:space="preserve">Various Chroma sitings.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_VIDEO_CHROMA_SITE_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">unknown cositing</doc>
      </member>
      <member name="none"
              value="1"
              c:identifier="GST_VIDEO_CHROMA_SITE_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no cositing</doc>
      </member>
      <member name="h_cosited"
              value="2"
              c:identifier="GST_VIDEO_CHROMA_SITE_H_COSITED"
              glib:nick="h-cosited">
        <doc xml:space="preserve">chroma is horizontally cosited</doc>
      </member>
      <member name="v_cosited"
              value="4"
              c:identifier="GST_VIDEO_CHROMA_SITE_V_COSITED"
              glib:nick="v-cosited">
        <doc xml:space="preserve">chroma is vertically cosited</doc>
      </member>
      <member name="alt_line"
              value="8"
              c:identifier="GST_VIDEO_CHROMA_SITE_ALT_LINE"
              glib:nick="alt-line">
        <doc xml:space="preserve">choma samples are sited on alternate lines</doc>
      </member>
      <member name="cosited"
              value="6"
              c:identifier="GST_VIDEO_CHROMA_SITE_COSITED"
              glib:nick="cosited">
        <doc xml:space="preserve">chroma samples cosited with luma samples</doc>
      </member>
      <member name="jpeg"
              value="1"
              c:identifier="GST_VIDEO_CHROMA_SITE_JPEG"
              glib:nick="jpeg">
        <doc xml:space="preserve">jpeg style cositing, also for mpeg1 and mjpeg</doc>
      </member>
      <member name="mpeg2"
              value="2"
              c:identifier="GST_VIDEO_CHROMA_SITE_MPEG2"
              glib:nick="mpeg2">
        <doc xml:space="preserve">mpeg2 style cositing</doc>
      </member>
      <member name="dv"
              value="14"
              c:identifier="GST_VIDEO_CHROMA_SITE_DV"
              glib:nick="dv">
        <doc xml:space="preserve">DV style cositing</doc>
      </member>
    </bitfield>
    <record name="VideoCodecFrame"
            c:type="GstVideoCodecFrame"
            glib:type-name="GstVideoCodecFrame"
            glib:get-type="gst_video_codec_frame_get_type"
            c:symbol-prefix="video_codec_frame">
      <doc xml:space="preserve">A #GstVideoCodecFrame represents a video frame both in raw and
encoded form.</doc>
      <field name="ref_count" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="flags" readable="0" private="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="system_frame_number" writable="1">
        <doc xml:space="preserve">Unique identifier for the frame. Use this if you need
      to get hold of the frame later (like when data is being decoded).
      Typical usage in decoders is to set this on the opaque value provided
      to the library and get back the frame using gst_video_decoder_get_frame()</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="decode_frame_number" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="presentation_frame_number" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="dts" writable="1">
        <doc xml:space="preserve">Decoding timestamp</doc>
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="pts" writable="1">
        <doc xml:space="preserve">Presentation timestamp</doc>
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="duration" writable="1">
        <doc xml:space="preserve">Duration of the frame</doc>
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="distance_from_sync" writable="1">
        <doc xml:space="preserve">Distance in frames from the last synchronization point.</doc>
        <type name="gint" c:type="int"/>
      </field>
      <field name="input_buffer" writable="1">
        <doc xml:space="preserve">the input #GstBuffer that created this frame. The buffer is owned
          by the frame and references to the frame instead of the buffer should
          be kept.</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </field>
      <field name="output_buffer" writable="1">
        <doc xml:space="preserve">the output #GstBuffer. Implementations should set this either
          directly, or by using the
          @gst_video_decoder_allocate_output_frame() or
          @gst_video_decoder_allocate_output_buffer() methods. The buffer is
          owned by the frame and references to the frame instead of the
          buffer should be kept.</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </field>
      <field name="deadline" writable="1">
        <doc xml:space="preserve">Running time when the frame will be used.</doc>
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="events" readable="0" private="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="user_data" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="user_data_destroy_notify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <union name="abidata" c:type="abidata">
        <record name="ABI" c:type="ABI">
          <field name="ts" writable="1">
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </field>
          <field name="ts2" writable="1">
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </field>
        </record>
        <field name="padding" writable="1">
2377 2378
          <array zero-terminated="0" c:type="gpointer" fixed-size="20">
            <type name="gpointer" c:type="gpointer"/>
Sebastian Dröge's avatar
Sebastian Dröge committed
2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513
          </array>
        </field>
      </union>
      <method name="get_user_data"
              c:identifier="gst_video_codec_frame_get_user_data">
        <doc xml:space="preserve">Gets private data set on the frame by the subclass via
gst_video_codec_frame_set_user_data() previously.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The previously set user_data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="frame" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoCodecFrame</doc>
            <type name="VideoCodecFrame" c:type="GstVideoCodecFrame*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gst_video_codec_frame_ref">
        <doc xml:space="preserve">Increases the refcount of the given frame by one.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">@buf</doc>
          <type name="VideoCodecFrame" c:type="GstVideoCodecFrame*"/>
        </return-value>
        <parameters>
          <instance-parameter name="frame" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoCodecFrame</doc>
            <type name="VideoCodecFrame" c:type="GstVideoCodecFrame*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_user_data"
              c:identifier="gst_video_codec_frame_set_user_data">
        <doc xml:space="preserve">Sets @user_data on the frame and the #GDestroyNotify that will be called when
the frame is freed. Allows to attach private data by the subclass to frames.

If a @user_data was previously set, then the previous set @notify will be called
before the @user_data is replaced.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="frame" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoCodecFrame</doc>
            <type name="VideoCodecFrame" c:type="GstVideoCodecFrame*"/>
          </instance-parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify"
                     transfer-ownership="none"
                     scope="async"
                     closure="0">
            <doc xml:space="preserve">a #GDestroyNotify</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gst_video_codec_frame_unref">
        <doc xml:space="preserve">Decreases the refcount of the frame. If the refcount reaches 0, the frame
will be freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="frame" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoCodecFrame</doc>
            <type name="VideoCodecFrame" c:type="GstVideoCodecFrame*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="VideoCodecFrameFlags" c:type="GstVideoCodecFrameFlags">
      <doc xml:space="preserve">Flags for #GstVideoCodecFrame</doc>
      <member name="decode_only"
              value="1"
              c:identifier="GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY">
        <doc xml:space="preserve">is the frame only meant to be decoded</doc>
      </member>
      <member name="sync_point"
              value="2"
              c:identifier="GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT">
        <doc xml:space="preserve">is the frame a synchronization point (keyframe)</doc>
      </member>
      <member name="force_keyframe"
              value="4"
              c:identifier="GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME">
        <doc xml:space="preserve">should the output frame be made a keyframe</doc>
      </member>
      <member name="force_keyframe_headers"
              value="8"
              c:identifier="GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS">
        <doc xml:space="preserve">should the encoder output stream headers</doc>
      </member>
    </bitfield>
    <record name="VideoCodecState"
            c:type="GstVideoCodecState"
            glib:type-name="GstVideoCodecState"
            glib:get-type="gst_video_codec_state_get_type"
            c:symbol-prefix="video_codec_state">
      <doc xml:space="preserve">Structure representing the state of an incoming or outgoing video
stream for encoders and decoders.

Decoders and encoders will receive such a state through their
respective @set_format vmethods.

Decoders and encoders can set the downstream state, by using the
@gst_video_decoder_set_output_state() or
@gst_video_encoder_set_output_state() methods.</doc>
      <field name="ref_count" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="info" writable="1">
        <doc xml:space="preserve">The #GstVideoInfo describing the stream</doc>
        <type name="VideoInfo" c:type="GstVideoInfo"/>
      </field>
      <field name="caps" writable="1">
        <doc xml:space="preserve">The #GstCaps used in the caps negotiation of the pad.</doc>
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="codec_data" writable="1">
        <doc xml:space="preserve">a #GstBuffer corresponding to the
    'codec_data' field of a stream, or NULL.</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </field>
      <field name="allocation_caps" writable="1">
        <doc xml:space="preserve">The #GstCaps for allocation query and pool
    negotiation. Since: 1.10</doc>
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="padding" readable="0" private="1">
2514 2515
        <array zero-terminated="0" c:type="gpointer" fixed-size="19">
          <type name="gpointer" c:type="gpointer"/>
Sebastian Dröge's avatar
Sebastian Dröge committed
2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590
        </array>
      </field>
      <method name="ref" c:identifier="gst_video_codec_state_ref">
        <doc xml:space="preserve">Increases the refcount of the given state by one.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">@buf</doc>
          <type name="VideoCodecState" c:type="GstVideoCodecState*"/>
        </return-value>
        <parameters>
          <instance-parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoCodecState</doc>
            <type name="VideoCodecState" c:type="GstVideoCodecState*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gst_video_codec_state_unref">
        <doc xml:space="preserve">Decreases the refcount of the state. If the refcount reaches 0, the state
will be freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoCodecState</doc>
            <type name="VideoCodecState" c:type="GstVideoCodecState*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="VideoColorMatrix"
                 glib:type-name="GstVideoColorMatrix"
                 glib:get-type="gst_video_color_matrix_get_type"
                 c:type="GstVideoColorMatrix">
      <doc xml:space="preserve">The color matrix is used to convert between Y'PbPr and
non-linear RGB (R'G'B')</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_VIDEO_COLOR_MATRIX_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">unknown matrix</doc>
      </member>
      <member name="rgb"
              value="1"
              c:identifier="GST_VIDEO_COLOR_MATRIX_RGB"
              glib:nick="rgb">
        <doc xml:space="preserve">identity matrix</doc>
      </member>
      <member name="fcc"
              value="2"
              c:identifier="GST_VIDEO_COLOR_MATRIX_FCC"
              glib:nick="fcc">
        <doc xml:space="preserve">FCC color matrix</doc>
      </member>
      <member name="bt709"
              value="3"
              c:identifier="GST_VIDEO_COLOR_MATRIX_BT709"
              glib:nick="bt709">
        <doc xml:space="preserve">ITU-R BT.709 color matrix</doc>
      </member>
      <member name="bt601"
              value="4"
              c:identifier="GST_VIDEO_COLOR_MATRIX_BT601"
              glib:nick="bt601">
        <doc xml:space="preserve">ITU-R BT.601 color matrix</doc>
      </member>
      <member name="smpte240m"
              value="5"
              c:identifier="GST_VIDEO_COLOR_MATRIX_SMPTE240M"
              glib:nick="smpte240m">
        <doc xml:space="preserve">SMPTE 240M color matrix</doc>
      </member>
      <member name="bt2020"
              value="6"
              c:identifier="GST_VIDEO_COLOR_MATRIX_BT2020"
              glib:nick="bt2020">
2591
        <doc xml:space="preserve">ITU-R BT.2020 color matrix. Since: 1.6</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629
      </member>
      <function name="get_Kr_Kb"
                c:identifier="gst_video_color_matrix_get_Kr_Kb"
                version="1.6">
        <doc xml:space="preserve">Get the coefficients used to convert between Y'PbPr and R'G'B' using @matrix.

When:

|[
  0.0 &lt;= [Y',R',G',B'] &lt;= 1.0)
  (-0.5 &lt;= [Pb,Pr] &lt;= 0.5)
]|

the general conversion is given by:

|[
  Y' = Kr*R' + (1-Kr-Kb)*G' + Kb*B'
  Pb = (B'-Y')/(2*(1-Kb))
  Pr = (R'-Y')/(2*(1-Kr))
]|

and the other way around:

|[
  R' = Y' + Cr*2*(1-Kr)
  G' = Y' - Cb*2*(1-Kb)*Kb/(1-Kr-Kb) - Cr*2*(1-Kr)*Kr/(1-Kr-Kb)
  B' = Y' + Cb*2*(1-Kb)
]|</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if @matrix was a YUV color format and @Kr and @Kb contain valid
   values.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="matrix" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoColorMatrix</doc>
            <type name="VideoColorMatrix" c:type="GstVideoColorMatrix"/>
          </parameter>
2630 2631 2632 2633
          <parameter name="Kr"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
Sebastian Dröge's avatar
Sebastian Dröge committed
2634 2635 2636
            <doc xml:space="preserve">result red channel coefficient</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
2637 2638 2639 2640
          <parameter name="Kb"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
Sebastian Dröge's avatar
Sebastian Dröge committed
2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698
            <doc xml:space="preserve">result blue channel coefficient</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <enumeration name="VideoColorPrimaries"
                 glib:type-name="GstVideoColorPrimaries"
                 glib:get-type="gst_video_color_primaries_get_type"
                 c:type="GstVideoColorPrimaries">
      <doc xml:space="preserve">The color primaries define the how to transform linear RGB values to and from
the CIE XYZ colorspace.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">unknown color primaries</doc>
      </member>
      <member name="bt709"
              value="1"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_BT709"
              glib:nick="bt709">
        <doc xml:space="preserve">BT709 primaries</doc>
      </member>
      <member name="bt470m"
              value="2"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_BT470M"
              glib:nick="bt470m">
        <doc xml:space="preserve">BT470M primaries</doc>
      </member>
      <member name="bt470bg"
              value="3"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_BT470BG"
              glib:nick="bt470bg">
        <doc xml:space="preserve">BT470BG primaries</doc>
      </member>
      <member name="smpte170m"
              value="4"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTE170M"
              glib:nick="smpte170m">
        <doc xml:space="preserve">SMPTE170M primaries</doc>
      </member>
      <member name="smpte240m"
              value="5"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTE240M"
              glib:nick="smpte240m">
        <doc xml:space="preserve">SMPTE240M primaries</doc>
      </member>
      <member name="film"
              value="6"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_FILM"
              glib:nick="film">
        <doc xml:space="preserve">Generic film</doc>
      </member>
      <member name="bt2020"
              value="7"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_BT2020"
              glib:nick="bt2020">
2699
        <doc xml:space="preserve">BT2020 primaries. Since: 1.6</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813
      </member>
      <member name="adobergb"
              value="8"
              c:identifier="GST_VIDEO_COLOR_PRIMARIES_ADOBERGB"
              glib:nick="adobergb">
        <doc xml:space="preserve">Adobe RGB primaries. Since: 1.8</doc>
      </member>
      <function name="get_info"
                c:identifier="gst_video_color_primaries_get_info"
                version="1.6">
        <doc xml:space="preserve">Get information about the chromaticity coordinates of @primaries.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstVideoColorPrimariesInfo for @primaries.</doc>
          <type name="VideoColorPrimariesInfo"
                c:type="const GstVideoColorPrimariesInfo*"/>
        </return-value>
        <parameters>
          <parameter name="primaries" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoColorPrimaries</doc>
            <type name="VideoColorPrimaries" c:type="GstVideoColorPrimaries"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <record name="VideoColorPrimariesInfo"
            c:type="GstVideoColorPrimariesInfo"
            version="1.6">
      <doc xml:space="preserve">Structure describing the chromaticity coordinates of an RGB system. These
values can be used to construct a matrix to transform RGB to and from the
XYZ colorspace.</doc>
      <field name="primaries" writable="1">
        <doc xml:space="preserve">a #GstVideoColorPrimaries</doc>
        <type name="VideoColorPrimaries" c:type="GstVideoColorPrimaries"/>
      </field>
      <field name="Wx" writable="1">
        <doc xml:space="preserve">reference white x coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="Wy" writable="1">
        <doc xml:space="preserve">reference white y coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="Rx" writable="1">
        <doc xml:space="preserve">red x coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="Ry" writable="1">
        <doc xml:space="preserve">red y coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="Gx" writable="1">
        <doc xml:space="preserve">green x coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="Gy" writable="1">
        <doc xml:space="preserve">green y coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="Bx" writable="1">
        <doc xml:space="preserve">blue x coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="By" writable="1">
        <doc xml:space="preserve">blue y coordinate</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
    </record>
    <enumeration name="VideoColorRange"
                 glib:type-name="GstVideoColorRange"
                 glib:get-type="gst_video_color_range_get_type"
                 c:type="GstVideoColorRange">
      <doc xml:space="preserve">Possible color range values. These constants are defined for 8 bit color
values and can be scaled for other bit depths.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_VIDEO_COLOR_RANGE_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">unknown range</doc>
      </member>
      <member name="0_255"
              value="1"
              c:identifier="GST_VIDEO_COLOR_RANGE_0_255"
              glib:nick="0-255">
        <doc xml:space="preserve">[0..255] for 8 bit components</doc>
      </member>
      <member name="16_235"
              value="2"
              c:identifier="GST_VIDEO_COLOR_RANGE_16_235"
              glib:nick="16-235">
        <doc xml:space="preserve">[16..235] for 8 bit components. Chroma has
                [16..240] range.</doc>
      </member>
      <function name="offsets" c:identifier="gst_video_color_range_offsets">
        <doc xml:space="preserve">Compute the offset and scale values for each component of @info. For each
component, (c[i] - offset[i]) / scale[i] will scale the component c[i] to the
range [0.0 .. 1.0].

The reverse operation (c[i] * scale[i]) + offset[i] can be used to convert
the component values in range [0.0 .. 1.0] back to their representation in
@info and @range.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="range" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoColorRange</doc>
            <type name="VideoColorRange" c:type="GstVideoColorRange"/>
          </parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoFormatInfo</doc>
            <type name="VideoFormatInfo" c:type="const GstVideoFormatInfo*"/>
          </parameter>
          <parameter name="offset"
                     direction="out"
2814 2815
                     caller-allocates="1"
                     transfer-ownership="none">
Sebastian Dröge's avatar
Sebastian Dröge committed
2816
            <doc xml:space="preserve">output offsets</doc>
2817 2818 2819
            <array zero-terminated="0" c:type="gint" fixed-size="4">
              <type name="gint" c:type="gint"/>
            </array>
Sebastian Dröge's avatar
Sebastian Dröge committed
2820 2821 2822
          </parameter>
          <parameter name="scale"
                     direction="out"
2823 2824
                     caller-allocates="1"
                     transfer-ownership="none">
Sebastian Dröge's avatar
Sebastian Dröge committed
2825
            <doc xml:space="preserve">output scale</doc>
2826 2827 2828
            <array zero-terminated="0" c:type="gint" fixed-size="4">
              <type name="gint" c:type="gint"/>
            </array>
Sebastian Dröge's avatar
Sebastian Dröge committed
2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <record name="VideoColorimetry" c:type="GstVideoColorimetry">
      <doc xml:space="preserve">Structure describing the color info.</doc>
      <field name="range" writable="1">
        <doc xml:space="preserve">the color range. This is the valid range for the samples.
        It is used to convert the samples to Y'PbPr values.</doc>
        <type name="VideoColorRange" c:type="GstVideoColorRange"/>
      </field>
      <field name="matrix" writable="1">
        <doc xml:space="preserve">the color matrix. Used to convert between Y'PbPr and
         non-linear RGB (R'G'B')</doc>
        <type name="VideoColorMatrix" c:type="GstVideoColorMatrix"/>
      </field>
      <field name="transfer" writable="1">
        <doc xml:space="preserve">the transfer function. used to convert between R'G'B' and RGB</doc>
        <type name="VideoTransferFunction" c:type="GstVideoTransferFunction"/>
      </field>
      <field name="primaries" writable="1">
        <doc xml:space="preserve">color primaries. used to convert between R'G'B' and CIE XYZ</doc>
        <type name="VideoColorPrimaries" c:type="GstVideoColorPrimaries"/>
      </field>
      <method name="from_string"
              c:identifier="gst_video_colorimetry_from_string">
        <doc xml:space="preserve">Parse the colorimetry string and update @cinfo with the parsed
values.</doc>
        <return-value transfer-ownership="none">
2858
          <doc xml:space="preserve">%TRUE if @color points to valid colorimetry info.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cinfo" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoColorimetry</doc>
            <type name="VideoColorimetry" c:type="GstVideoColorimetry*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">a colorimetry string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_equal"
              c:identifier="gst_video_colorimetry_is_equal"
              version="1.6">
        <doc xml:space="preserve">Compare the 2 colorimetry sets for equality</doc>
        <return-value transfer-ownership="none">
2877
          <doc xml:space="preserve">%TRUE if @cinfo and @other are equal.</doc>
Sebastian Dröge's avatar
Sebastian Dröge committed
2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cinfo" transfer-ownership="none">
            <doc xml:space="preserve">a #GstVideoColorimetry</doc>
            <type name="VideoColorimetry" c:type="const GstVideoColorimetry*"/>
          </instance-parameter>
          <parameter name="other" transfer-ownership="none">
            <doc xml:space="preserve">another #GstVideoColorimetry</doc>
            <type name="VideoColorimetry" c:type="const GstVideoColorimetry*"/>
          </parameter>
        </parameters>
      </method>
      <method name="matches" c:identifier="gst_video_colorimetry_matches">
        <doc xml:space="preserve">Check if the colorimetry information in @info matches that of the
string @color.</doc>
        <return-value transfer-ownership="none">
2895
          <doc xml:space="preserve">%TRUE if @color conveys the same colorimetry info as the color
Sebastian Dröge's avatar
Sebastian Dröge committed
2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964