pub trait VideoDecoderImplExt: Sealed + ObjectSubclass {
Show 18 methods
// Provided methods
fn parent_open(&self) -> Result<(), ErrorMessage> { ... }
fn parent_close(&self) -> Result<(), ErrorMessage> { ... }
fn parent_start(&self) -> Result<(), ErrorMessage> { ... }
fn parent_stop(&self) -> Result<(), ErrorMessage> { ... }
fn parent_finish(&self) -> Result<FlowSuccess, FlowError> { ... }
fn parent_drain(&self) -> Result<FlowSuccess, FlowError> { ... }
fn parent_set_format(
&self,
state: &VideoCodecState<'static, Readable>,
) -> Result<(), LoggableError> { ... }
fn parent_parse(
&self,
frame: &VideoCodecFrame<'_>,
adapter: &Adapter,
at_eos: bool,
) -> Result<FlowSuccess, FlowError> { ... }
fn parent_handle_frame(
&self,
frame: VideoCodecFrame<'_>,
) -> Result<FlowSuccess, FlowError> { ... }
fn parent_flush(&self) -> bool { ... }
fn parent_negotiate(&self) -> Result<(), LoggableError> { ... }
fn parent_caps(&self, filter: Option<&Caps>) -> Caps { ... }
fn parent_sink_event(&self, event: Event) -> bool { ... }
fn parent_sink_query(&self, query: &mut QueryRef) -> bool { ... }
fn parent_src_event(&self, event: Event) -> bool { ... }
fn parent_src_query(&self, query: &mut QueryRef) -> bool { ... }
fn parent_propose_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
fn parent_decide_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
}
Provided Methods§
fn parent_open(&self) -> Result<(), ErrorMessage>
fn parent_close(&self) -> Result<(), ErrorMessage>
fn parent_start(&self) -> Result<(), ErrorMessage>
fn parent_stop(&self) -> Result<(), ErrorMessage>
fn parent_finish(&self) -> Result<FlowSuccess, FlowError>
fn parent_drain(&self) -> Result<FlowSuccess, FlowError>
fn parent_set_format( &self, state: &VideoCodecState<'static, Readable>, ) -> Result<(), LoggableError>
fn parent_parse( &self, frame: &VideoCodecFrame<'_>, adapter: &Adapter, at_eos: bool, ) -> Result<FlowSuccess, FlowError>
fn parent_handle_frame( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError>
fn parent_flush(&self) -> bool
fn parent_negotiate(&self) -> Result<(), LoggableError>
fn parent_caps(&self, filter: Option<&Caps>) -> Caps
fn parent_sink_event(&self, event: Event) -> bool
fn parent_sink_query(&self, query: &mut QueryRef) -> bool
fn parent_src_event(&self, event: Event) -> bool
fn parent_src_query(&self, query: &mut QueryRef) -> bool
fn parent_propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
Object Safety§
This trait is not object safe.