[][src]Trait gstreamer_video::subclass::prelude::VideoDecoderImpl

pub trait VideoDecoderImpl: VideoDecoderImplExt + ElementImpl + Send + Sync + 'static {
    fn open(&self, element: &VideoDecoder) -> Result<(), ErrorMessage> { ... }
fn close(&self, element: &VideoDecoder) -> Result<(), ErrorMessage> { ... }
fn start(&self, element: &VideoDecoder) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &VideoDecoder) -> Result<(), ErrorMessage> { ... }
fn finish(&self, element: &VideoDecoder) -> Result<FlowSuccess, FlowError> { ... }
fn drain(&self, element: &VideoDecoder) -> Result<FlowSuccess, FlowError> { ... }
fn set_format(
        &self,
        element: &VideoDecoder,
        state: &VideoCodecState<'static, Readable>
    ) -> Result<(), LoggableError> { ... }
fn parse(
        &self,
        element: &VideoDecoder,
        frame: &VideoCodecFrame<'_>,
        adapter: &Adapter,
        at_eos: bool
    ) -> Result<FlowSuccess, FlowError> { ... }
fn handle_frame(
        &self,
        element: &VideoDecoder,
        frame: VideoCodecFrame<'_>
    ) -> Result<FlowSuccess, FlowError> { ... }
fn flush(&self, element: &VideoDecoder) -> bool { ... }
fn negotiate(&self, element: &VideoDecoder) -> Result<(), LoggableError> { ... }
fn get_caps(&self, element: &VideoDecoder, filter: Option<&Caps>) -> Caps { ... }
fn sink_event(&self, element: &VideoDecoder, event: Event) -> bool { ... }
fn sink_query(&self, element: &VideoDecoder, query: &mut QueryRef) -> bool { ... }
fn src_event(&self, element: &VideoDecoder, event: Event) -> bool { ... }
fn src_query(&self, element: &VideoDecoder, query: &mut QueryRef) -> bool { ... }
fn propose_allocation(
        &self,
        element: &VideoDecoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage> { ... }
fn decide_allocation(
        &self,
        element: &VideoDecoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage> { ... } }

Provided methods

fn open(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>

fn close(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>

fn start(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>

fn stop(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>

fn finish(&self, element: &VideoDecoder) -> Result<FlowSuccess, FlowError>

fn drain(&self, element: &VideoDecoder) -> Result<FlowSuccess, FlowError>

fn set_format(
    &self,
    element: &VideoDecoder,
    state: &VideoCodecState<'static, Readable>
) -> Result<(), LoggableError>

fn parse(
    &self,
    element: &VideoDecoder,
    frame: &VideoCodecFrame<'_>,
    adapter: &Adapter,
    at_eos: bool
) -> Result<FlowSuccess, FlowError>

fn handle_frame(
    &self,
    element: &VideoDecoder,
    frame: VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>

fn flush(&self, element: &VideoDecoder) -> bool

fn negotiate(&self, element: &VideoDecoder) -> Result<(), LoggableError>

fn get_caps(&self, element: &VideoDecoder, filter: Option<&Caps>) -> Caps

fn sink_event(&self, element: &VideoDecoder, event: Event) -> bool

fn sink_query(&self, element: &VideoDecoder, query: &mut QueryRef) -> bool

fn src_event(&self, element: &VideoDecoder, event: Event) -> bool

fn src_query(&self, element: &VideoDecoder, query: &mut QueryRef) -> bool

fn propose_allocation(
    &self,
    element: &VideoDecoder,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>

fn decide_allocation(
    &self,
    element: &VideoDecoder,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>

Loading content...

Implementors

Loading content...