Trait gstreamer_video::subclass::prelude::VideoFilterImpl
source · pub trait VideoFilterImpl: VideoFilterImplExt + BaseTransformImpl {
// 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§
sourcefn set_info(
&self,
incaps: &Caps,
in_info: &VideoInfo,
outcaps: &Caps,
out_info: &VideoInfo,
) -> Result<(), LoggableError>
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
sourcefn transform_frame(
&self,
inframe: &VideoFrameRef<&BufferRef>,
outframe: &mut VideoFrameRef<&mut BufferRef>,
) -> Result<FlowSuccess, FlowError>
fn transform_frame( &self, inframe: &VideoFrameRef<&BufferRef>, outframe: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<FlowSuccess, FlowError>
transform a video frame
sourcefn transform_frame_ip(
&self,
frame: &mut VideoFrameRef<&mut BufferRef>,
) -> Result<FlowSuccess, FlowError>
fn transform_frame_ip( &self, frame: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<FlowSuccess, FlowError>
transform a video frame in place
fn transform_frame_ip_passthrough( &self, frame: &VideoFrameRef<&BufferRef>, ) -> Result<FlowSuccess, FlowError>
Object Safety§
This trait is not object safe.