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§
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>
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.