[]Struct gstreamer_gl::GLViewConvert

pub struct GLViewConvert(_, _);

Convert stereoscopic/multiview video using fragment shaders.

Implements

gst::ObjectExt, glib::object::ObjectExt

Methods

impl GLViewConvert[src]

pub fn new() -> GLViewConvert[src]

Returns

a new GLViewConvert

pub fn perform(&self, inbuf: &Buffer) -> Option<Buffer>[src]

Converts the data contained by inbuf using the formats specified by the gst::Caps passed to GLViewConvert::set_caps

inbuf

the GLMemory filled gst::Buffer to convert

Returns

a converted gst::Buffer or None

pub fn reset(&self)[src]

Reset self to the default state. Further operation will require setting the caps with GLViewConvert::set_caps.

pub fn set_caps(&self, in_caps: &Caps, out_caps: &Caps) -> Result<(), BoolError>[src]

Initializes self with the information required for conversion.

in_caps

input gst::Caps

out_caps

output gst::Caps

pub fn set_context<P: IsA<GLContext>>(&self, context: &P)[src]

Set context on self

context

the GLContext to set

pub fn transform_caps(
    &self,
    direction: PadDirection,
    caps: &Caps,
    filter: &Caps
) -> Option<Caps>
[src]

Provides an implementation of gst_base::BaseTransformClass.transform_caps()

direction

a gst::PadDirection

caps

the gst::Caps to transform

filter

a set of filter gst::Caps

Returns

the converted gst::Caps

pub fn get_property_downmix_mode(&self) -> GLStereoDownmix[src]

pub fn set_property_downmix_mode(&self, downmix_mode: GLStereoDownmix)[src]

pub fn get_property_input_flags_override(&self) -> VideoMultiviewFlags[src]

pub fn set_property_input_flags_override(
    &self,
    input_flags_override: VideoMultiviewFlags
)
[src]

pub fn get_property_input_mode_override(&self) -> VideoMultiviewMode[src]

pub fn set_property_input_mode_override(
    &self,
    input_mode_override: VideoMultiviewMode
)
[src]

pub fn get_property_output_flags_override(&self) -> VideoMultiviewFlags[src]

pub fn set_property_output_flags_override(
    &self,
    output_flags_override: VideoMultiviewFlags
)
[src]

pub fn get_property_output_mode_override(&self) -> VideoMultiviewMode[src]

pub fn set_property_output_mode_override(
    &self,
    output_mode_override: VideoMultiviewMode
)
[src]

pub fn connect_property_downmix_mode_notify<F: Fn(&GLViewConvert) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_input_flags_override_notify<F: Fn(&GLViewConvert) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_input_mode_override_notify<F: Fn(&GLViewConvert) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_output_flags_override_notify<F: Fn(&GLViewConvert) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_output_mode_override_notify<F: Fn(&GLViewConvert) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for GLViewConvert

impl Debug for GLViewConvert

impl Default for GLViewConvert[src]

impl Eq for GLViewConvert

impl Hash for GLViewConvert

impl IsA<Object> for GLViewConvert

impl Ord for GLViewConvert

impl<T: ObjectType> PartialEq<T> for GLViewConvert

impl<T: ObjectType> PartialOrd<T> for GLViewConvert

impl Send for GLViewConvert[src]

impl StaticType for GLViewConvert

impl Sync for GLViewConvert[src]

Auto Trait Implementations

impl RefUnwindSafe for GLViewConvert

impl Unpin for GLViewConvert

impl UnwindSafe for GLViewConvert

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExt for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExtManual for O where
    O: IsA<Object>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.