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
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT

use glib::translate::*;
use gst;
use gst_base;
use gst_video_sys;

glib_wrapper! {
    /// Provides useful functions and a base class for video filters.
    ///
    /// The videofilter will by default enable QoS on the parent GstBaseTransform
    /// to implement frame dropping.
    ///
    /// # Implements
    ///
    /// [`gst_base::BaseTransformExt`](../gst_base/trait.BaseTransformExt.html), [`gst::ElementExt`](../gst/trait.ElementExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html)
    pub struct VideoFilter(Object<gst_video_sys::GstVideoFilter, gst_video_sys::GstVideoFilterClass, VideoFilterClass>) @extends gst_base::BaseTransform, gst::Element, gst::Object;

    match fn {
        get_type => || gst_video_sys::gst_video_filter_get_type(),
    }
}

impl VideoFilter {}

unsafe impl Send for VideoFilter {}
unsafe impl Sync for VideoFilter {}

pub const NONE_VIDEO_FILTER: Option<&VideoFilter> = None;