Trait gstreamer_video::subclass::prelude::VideoDecoderImpl
source · pub trait VideoDecoderImpl: VideoDecoderImplExt + ElementImpl {
Show 18 methods
// Provided methods
fn open(&self) -> Result<(), ErrorMessage> { ... }
fn close(&self) -> Result<(), ErrorMessage> { ... }
fn start(&self) -> Result<(), ErrorMessage> { ... }
fn stop(&self) -> Result<(), ErrorMessage> { ... }
fn finish(&self) -> Result<FlowSuccess, FlowError> { ... }
fn drain(&self) -> Result<FlowSuccess, FlowError> { ... }
fn set_format(
&self,
state: &VideoCodecState<'static, Readable>,
) -> Result<(), LoggableError> { ... }
fn parse(
&self,
frame: &VideoCodecFrame<'_>,
adapter: &Adapter,
at_eos: bool,
) -> Result<FlowSuccess, FlowError> { ... }
fn handle_frame(
&self,
frame: VideoCodecFrame<'_>,
) -> Result<FlowSuccess, FlowError> { ... }
fn flush(&self) -> bool { ... }
fn negotiate(&self) -> Result<(), LoggableError> { ... }
fn caps(&self, filter: Option<&Caps>) -> Caps { ... }
fn sink_event(&self, event: Event) -> bool { ... }
fn sink_query(&self, query: &mut QueryRef) -> bool { ... }
fn src_event(&self, event: Event) -> bool { ... }
fn src_query(&self, query: &mut QueryRef) -> bool { ... }
fn propose_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
fn decide_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
}
Provided Methods§
fn open(&self) -> Result<(), ErrorMessage>
fn close(&self) -> Result<(), ErrorMessage>
fn start(&self) -> Result<(), ErrorMessage>
fn stop(&self) -> Result<(), ErrorMessage>
fn finish(&self) -> Result<FlowSuccess, FlowError>
fn drain(&self) -> Result<FlowSuccess, FlowError>
fn set_format( &self, state: &VideoCodecState<'static, Readable>, ) -> Result<(), LoggableError>
fn parse( &self, frame: &VideoCodecFrame<'_>, adapter: &Adapter, at_eos: bool, ) -> Result<FlowSuccess, FlowError>
fn handle_frame( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError>
fn flush(&self) -> bool
fn negotiate(&self) -> Result<(), LoggableError>
fn caps(&self, filter: Option<&Caps>) -> Caps
fn sink_event(&self, event: Event) -> bool
fn sink_query(&self, query: &mut QueryRef) -> bool
fn src_event(&self, event: Event) -> bool
fn src_query(&self, query: &mut QueryRef) -> bool
fn propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
fn decide_allocation(&self, query: &mut Allocation) -> Result<(), LoggableError>
Object Safety§
This trait is not object safe.