gstreamer_video::subclass::prelude

Trait VideoFilterImpl

Source
pub trait VideoFilterImpl: BaseTransformImpl + ObjectSubclass<Type: IsA<VideoFilter>> {
    // Provided methods
    fn set_info(
        &self,
        incaps: &Caps,
        in_info: &VideoInfo,
        outcaps: &Caps,
        out_info: &VideoInfo,
    ) -> Result<(), LoggableError> { ... }
    fn transform_frame(
        &self,
        inframe: &VideoFrameRef<&BufferRef>,
        outframe: &mut VideoFrameRef<&mut BufferRef>,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn transform_frame_ip(
        &self,
        frame: &mut VideoFrameRef<&mut BufferRef>,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn transform_frame_ip_passthrough(
        &self,
        frame: &VideoFrameRef<&BufferRef>,
    ) -> Result<FlowSuccess, FlowError> { ... }
}

Provided Methods§

Source

fn set_info( &self, incaps: &Caps, in_info: &VideoInfo, outcaps: &Caps, out_info: &VideoInfo, ) -> Result<(), LoggableError>

function to be called with the negotiated caps and video infos

Source

fn transform_frame( &self, inframe: &VideoFrameRef<&BufferRef>, outframe: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<FlowSuccess, FlowError>

transform a video frame

Source

fn transform_frame_ip( &self, frame: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<FlowSuccess, FlowError>

transform a video frame in place

Source

fn transform_frame_ip_passthrough( &self, frame: &VideoFrameRef<&BufferRef>, ) -> Result<FlowSuccess, FlowError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§