Trait gstreamer_gl::subclass::gl_filter::GLFilterImpl
source · pub trait GLFilterImpl: GLFilterImplExt + GLBaseFilterImpl {
const MODE: GLFilterMode;
const ADD_RGBA_PAD_TEMPLATES: bool = true;
// Provided methods
fn set_caps(
&self,
incaps: &Caps,
outcaps: &Caps,
) -> Result<(), LoggableError> { ... }
fn filter(
&self,
input: &Buffer,
output: &Buffer,
) -> Result<(), LoggableError> { ... }
fn filter_texture(
&self,
input: &GLMemory,
output: &GLMemory,
) -> Result<(), LoggableError> { ... }
fn init_fbo(&self) -> Result<(), LoggableError> { ... }
fn transform_internal_caps(
&self,
direction: PadDirection,
caps: &Caps,
filter_caps: Option<&Caps>,
) -> Option<Caps> { ... }
}
Required Associated Constants§
const MODE: GLFilterMode
Provided Associated Constants§
sourceconst ADD_RGBA_PAD_TEMPLATES: bool = true
const ADD_RGBA_PAD_TEMPLATES: bool = true
Calls add_rgba_pad_templates
in GLFilter::class_init
if true
.
Provided Methods§
fn set_caps(&self, incaps: &Caps, outcaps: &Caps) -> Result<(), LoggableError>
fn filter(&self, input: &Buffer, output: &Buffer) -> Result<(), LoggableError>
fn filter_texture( &self, input: &GLMemory, output: &GLMemory, ) -> Result<(), LoggableError>
fn init_fbo(&self) -> Result<(), LoggableError>
fn transform_internal_caps( &self, direction: PadDirection, caps: &Caps, filter_caps: Option<&Caps>, ) -> Option<Caps>
Object Safety§
This trait is not object safe.