pub trait BaseTransformImplExt: Sealed + ObjectSubclass {
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>

Object Safety§

This trait is not object safe.

Implementors§