Trait gstreamer_video::subclass::prelude::VideoDecoderImpl [−][src]
pub trait VideoDecoderImpl: VideoDecoderImplExt + ElementImpl {}Show methods
fn open(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... } fn close(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... } fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... } fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... } fn finish(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError> { ... } fn drain(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError> { ... } fn set_format(
&self,
element: &Self::Type,
state: &VideoCodecState<'static, Readable>
) -> Result<(), LoggableError> { ... } fn parse(
&self,
element: &Self::Type,
frame: &VideoCodecFrame<'_>,
adapter: &Adapter,
at_eos: bool
) -> Result<FlowSuccess, FlowError> { ... } fn handle_frame(
&self,
element: &Self::Type,
frame: VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError> { ... } fn flush(&self, element: &Self::Type) -> bool { ... } fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError> { ... } fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps { ... } fn sink_event(&self, element: &Self::Type, event: Event) -> bool { ... } fn sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool { ... } fn src_event(&self, element: &Self::Type, event: Event) -> bool { ... } fn src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool { ... } fn propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage> { ... } fn decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage> { ... }
Provided methods
fn open(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn close(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn finish(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError>
[src]
fn drain(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError>
[src]
fn set_format(
&self,
element: &Self::Type,
state: &VideoCodecState<'static, Readable>
) -> Result<(), LoggableError>
[src]
&self,
element: &Self::Type,
state: &VideoCodecState<'static, Readable>
) -> Result<(), LoggableError>
fn parse(
&self,
element: &Self::Type,
frame: &VideoCodecFrame<'_>,
adapter: &Adapter,
at_eos: bool
) -> Result<FlowSuccess, FlowError>
[src]
&self,
element: &Self::Type,
frame: &VideoCodecFrame<'_>,
adapter: &Adapter,
at_eos: bool
) -> Result<FlowSuccess, FlowError>
fn handle_frame(
&self,
element: &Self::Type,
frame: VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
[src]
&self,
element: &Self::Type,
frame: VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
fn flush(&self, element: &Self::Type) -> bool
[src]
fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>
[src]
fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps
[src]
fn sink_event(&self, element: &Self::Type, event: Event) -> bool
[src]
fn sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool
[src]
fn src_event(&self, element: &Self::Type, event: Event) -> bool
[src]
fn src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool
[src]
fn propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
fn decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>