Trait gst_plugin::base_transform::BaseTransformImpl [−][src]
pub trait BaseTransformImpl<T: BaseTransformBase>: AnyImpl + ObjectImpl<T> + ElementImpl<T> + Send + Sync + 'static where
T::InstanceStructType: PanicPoison, { fn start(&self, _element: &T) -> bool { ... } fn stop(&self, _element: &T) -> bool { ... } fn transform_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
filter: Option<&Caps>
) -> Caps { ... } fn fixate_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
othercaps: Caps
) -> Caps { ... } fn set_caps(&self, _element: &T, _incaps: &Caps, _outcaps: &Caps) -> bool { ... } fn accept_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps
) -> bool { ... } fn query(
&self,
element: &T,
direction: PadDirection,
query: &mut QueryRef
) -> bool { ... } fn transform_size(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
size: usize,
othercaps: &Caps
) -> Option<usize> { ... } fn get_unit_size(&self, _element: &T, _caps: &Caps) -> Option<usize> { ... } fn sink_event(&self, element: &T, event: Event) -> bool { ... } fn src_event(&self, element: &T, event: Event) -> bool { ... } fn transform(
&self,
_element: &T,
_inbuf: &Buffer,
_outbuf: &mut BufferRef
) -> FlowReturn { ... } fn transform_ip(&self, _element: &T, _buf: &mut BufferRef) -> FlowReturn { ... } fn transform_ip_passthrough(
&self,
_element: &T,
_buf: &BufferRef
) -> FlowReturn { ... } }
Provided Methods
fn start(&self, _element: &T) -> bool
fn stop(&self, _element: &T) -> bool
fn transform_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
filter: Option<&Caps>
) -> Caps
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
filter: Option<&Caps>
) -> Caps
fn fixate_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
othercaps: Caps
) -> Caps
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
othercaps: Caps
) -> Caps
fn set_caps(&self, _element: &T, _incaps: &Caps, _outcaps: &Caps) -> bool
fn accept_caps(&self, element: &T, direction: PadDirection, caps: &Caps) -> bool
fn query(
&self,
element: &T,
direction: PadDirection,
query: &mut QueryRef
) -> bool
&self,
element: &T,
direction: PadDirection,
query: &mut QueryRef
) -> bool
fn transform_size(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
size: usize,
othercaps: &Caps
) -> Option<usize>
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
size: usize,
othercaps: &Caps
) -> Option<usize>
fn get_unit_size(&self, _element: &T, _caps: &Caps) -> Option<usize>
fn sink_event(&self, element: &T, event: Event) -> bool
fn src_event(&self, element: &T, event: Event) -> bool
fn transform(
&self,
_element: &T,
_inbuf: &Buffer,
_outbuf: &mut BufferRef
) -> FlowReturn
&self,
_element: &T,
_inbuf: &Buffer,
_outbuf: &mut BufferRef
) -> FlowReturn
fn transform_ip(&self, _element: &T, _buf: &mut BufferRef) -> FlowReturn
fn transform_ip_passthrough(&self, _element: &T, _buf: &BufferRef) -> FlowReturn
Methods
impl<T: BaseTransformBase> BaseTransformImpl<T> where
T::InstanceStructType: PanicPoison,
impl<T: BaseTransformBase> BaseTransformImpl<T> where
T::InstanceStructType: PanicPoison,
pub fn downcast_ref<U: BaseTransformImpl<T>>(&self) -> Option<&U>
pub fn downcast_ref<U: BaseTransformImpl<T>>(&self) -> Option<&U>
ⓘImportant traits for &'a mut Rpub unsafe fn downcast_ref_unchecked<U: BaseTransformImpl<T>>(&self) -> &U
ⓘImportant traits for &'a mut R
pub unsafe fn downcast_ref_unchecked<U: BaseTransformImpl<T>>(&self) -> &U
pub fn is<U: BaseTransformImpl<T>>(&self) -> bool
pub fn is<U: BaseTransformImpl<T>>(&self) -> bool
Implementations on Foreign Types
impl<T: BaseTransformBase> BaseTransformImpl<T> for Box<BaseTransformImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: BaseTransformBase> BaseTransformImpl<T> for Box<BaseTransformImpl<T>> where
T::InstanceStructType: PanicPoison,
fn start(&self, element: &T) -> bool
[src]
fn start(&self, element: &T) -> bool
fn stop(&self, element: &T) -> bool
[src]
fn stop(&self, element: &T) -> bool
fn transform_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
filter: Option<&Caps>
) -> Caps
[src]
fn transform_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
filter: Option<&Caps>
) -> Caps
fn fixate_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
othercaps: Caps
) -> Caps
[src]
fn fixate_caps(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
othercaps: Caps
) -> Caps
fn set_caps(&self, element: &T, incaps: &Caps, outcaps: &Caps) -> bool
[src]
fn set_caps(&self, element: &T, incaps: &Caps, outcaps: &Caps) -> bool
fn accept_caps(&self, element: &T, direction: PadDirection, caps: &Caps) -> bool
[src]
fn accept_caps(&self, element: &T, direction: PadDirection, caps: &Caps) -> bool
fn query(
&self,
element: &T,
direction: PadDirection,
query: &mut QueryRef
) -> bool
[src]
fn query(
&self,
element: &T,
direction: PadDirection,
query: &mut QueryRef
) -> bool
fn transform_size(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
size: usize,
othercaps: &Caps
) -> Option<usize>
[src]
fn transform_size(
&self,
element: &T,
direction: PadDirection,
caps: &Caps,
size: usize,
othercaps: &Caps
) -> Option<usize>
fn get_unit_size(&self, element: &T, caps: &Caps) -> Option<usize>
[src]
fn get_unit_size(&self, element: &T, caps: &Caps) -> Option<usize>
fn sink_event(&self, element: &T, event: Event) -> bool
[src]
fn sink_event(&self, element: &T, event: Event) -> bool
fn src_event(&self, element: &T, event: Event) -> bool
[src]
fn src_event(&self, element: &T, event: Event) -> bool
fn transform(
&self,
element: &T,
inbuf: &Buffer,
outbuf: &mut BufferRef
) -> FlowReturn
[src]
fn transform(
&self,
element: &T,
inbuf: &Buffer,
outbuf: &mut BufferRef
) -> FlowReturn
fn transform_ip(&self, element: &T, buf: &mut BufferRef) -> FlowReturn
[src]
fn transform_ip(&self, element: &T, buf: &mut BufferRef) -> FlowReturn
fn transform_ip_passthrough(&self, element: &T, buf: &BufferRef) -> FlowReturn
[src]
fn transform_ip_passthrough(&self, element: &T, buf: &BufferRef) -> FlowReturn