gstreamer_base::subclass::base_transform

Trait BaseTransformImplExt

Source
pub trait BaseTransformImplExt: BaseTransformImpl {
Show 24 methods // Provided methods fn parent_start(&self) -> Result<(), ErrorMessage> { ... } fn parent_stop(&self) -> Result<(), ErrorMessage> { ... } fn parent_transform_caps( &self, direction: PadDirection, caps: &Caps, filter: Option<&Caps>, ) -> Option<Caps> { ... } fn parent_fixate_caps( &self, direction: PadDirection, caps: &Caps, othercaps: Caps, ) -> Caps { ... } fn parent_set_caps( &self, incaps: &Caps, outcaps: &Caps, ) -> Result<(), LoggableError> { ... } fn parent_accept_caps(&self, direction: PadDirection, caps: &Caps) -> bool { ... } fn parent_query( &self, direction: PadDirection, query: &mut QueryRef, ) -> bool { ... } fn parent_transform_size( &self, direction: PadDirection, caps: &Caps, size: usize, othercaps: &Caps, ) -> Option<usize> { ... } fn parent_unit_size(&self, caps: &Caps) -> Option<usize> { ... } fn parent_sink_event(&self, event: Event) -> bool { ... } fn parent_src_event(&self, event: Event) -> bool { ... } fn parent_prepare_output_buffer( &self, inbuf: InputBuffer<'_>, ) -> Result<PrepareOutputBufferSuccess, FlowError> { ... } fn parent_transform( &self, inbuf: &Buffer, outbuf: &mut BufferRef, ) -> Result<FlowSuccess, FlowError> { ... } fn parent_transform_ip( &self, buf: &mut BufferRef, ) -> Result<FlowSuccess, FlowError> { ... } fn parent_transform_ip_passthrough( &self, buf: &Buffer, ) -> Result<FlowSuccess, FlowError> { ... } fn parent_propose_allocation( &self, decide_query: Option<&Allocation>, query: &mut Allocation, ) -> Result<(), LoggableError> { ... } fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError> { ... } fn parent_copy_metadata( &self, inbuf: &BufferRef, outbuf: &mut BufferRef, ) -> Result<(), LoggableError> { ... } fn parent_transform_meta<'a>( &self, outbuf: &mut BufferRef, meta: MetaRef<'a, Meta>, inbuf: &'a BufferRef, ) -> bool { ... } fn parent_before_transform(&self, inbuf: &BufferRef) { ... } fn parent_submit_input_buffer( &self, is_discont: bool, inbuf: Buffer, ) -> Result<FlowSuccess, FlowError> { ... } fn parent_generate_output(&self) -> Result<GenerateOutputSuccess, FlowError> { ... } fn take_queued_buffer(&self) -> Option<Buffer> where Self: ObjectSubclass, <Self as ObjectSubclass>::ParentType: IsA<BaseTransform> { ... } fn queued_buffer(&self) -> Option<Buffer> where Self: ObjectSubclass, <Self as ObjectSubclass>::ParentType: IsA<BaseTransform> { ... }
}

Provided Methods§

Source

fn parent_start(&self) -> Result<(), ErrorMessage>

Source

fn parent_stop(&self) -> Result<(), ErrorMessage>

Source

fn parent_transform_caps( &self, direction: PadDirection, caps: &Caps, filter: Option<&Caps>, ) -> Option<Caps>

Source

fn parent_fixate_caps( &self, direction: PadDirection, caps: &Caps, othercaps: Caps, ) -> Caps

Source

fn parent_set_caps( &self, incaps: &Caps, outcaps: &Caps, ) -> Result<(), LoggableError>

Source

fn parent_accept_caps(&self, direction: PadDirection, caps: &Caps) -> bool

Source

fn parent_query(&self, direction: PadDirection, query: &mut QueryRef) -> bool

Source

fn parent_transform_size( &self, direction: PadDirection, caps: &Caps, size: usize, othercaps: &Caps, ) -> Option<usize>

Source

fn parent_unit_size(&self, caps: &Caps) -> Option<usize>

Source

fn parent_sink_event(&self, event: Event) -> bool

Source

fn parent_src_event(&self, event: Event) -> bool

Source

fn parent_prepare_output_buffer( &self, inbuf: InputBuffer<'_>, ) -> Result<PrepareOutputBufferSuccess, FlowError>

Source

fn parent_transform( &self, inbuf: &Buffer, outbuf: &mut BufferRef, ) -> Result<FlowSuccess, FlowError>

Source

fn parent_transform_ip( &self, buf: &mut BufferRef, ) -> Result<FlowSuccess, FlowError>

Source

fn parent_transform_ip_passthrough( &self, buf: &Buffer, ) -> Result<FlowSuccess, FlowError>

Source

fn parent_propose_allocation( &self, decide_query: Option<&Allocation>, query: &mut Allocation, ) -> Result<(), LoggableError>

Source

fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>

Source

fn parent_copy_metadata( &self, inbuf: &BufferRef, outbuf: &mut BufferRef, ) -> Result<(), LoggableError>

Source

fn parent_transform_meta<'a>( &self, outbuf: &mut BufferRef, meta: MetaRef<'a, Meta>, inbuf: &'a BufferRef, ) -> bool

Source

fn parent_before_transform(&self, inbuf: &BufferRef)

Source

fn parent_submit_input_buffer( &self, is_discont: bool, inbuf: Buffer, ) -> Result<FlowSuccess, FlowError>

Source

fn parent_generate_output(&self) -> Result<GenerateOutputSuccess, FlowError>

Source

fn take_queued_buffer(&self) -> Option<Buffer>

Source

fn queued_buffer(&self) -> Option<Buffer>

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§