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

pub trait VideoDecoderImplExt {
    fn parent_open(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>;
fn parent_close(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>;
fn parent_start(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>;
fn parent_stop(&self, element: &VideoDecoder) -> Result<(), ErrorMessage>;
fn parent_finish(
        &self,
        element: &VideoDecoder
    ) -> Result<FlowSuccess, FlowError>;
fn parent_drain(
        &self,
        element: &VideoDecoder
    ) -> Result<FlowSuccess, FlowError>;
fn parent_set_format(
        &self,
        element: &VideoDecoder,
        state: &VideoCodecState<'static, Readable>
    ) -> Result<(), LoggableError>;
fn parent_parse(
        &self,
        element: &VideoDecoder,
        frame: &VideoCodecFrame<'_>,
        adapter: &Adapter,
        at_eos: bool
    ) -> Result<FlowSuccess, FlowError>;
fn parent_handle_frame(
        &self,
        element: &VideoDecoder,
        frame: VideoCodecFrame<'_>
    ) -> Result<FlowSuccess, FlowError>;
fn parent_flush(&self, element: &VideoDecoder) -> bool;
fn parent_negotiate(
        &self,
        element: &VideoDecoder
    ) -> Result<(), LoggableError>;
fn parent_get_caps(
        &self,
        element: &VideoDecoder,
        filter: Option<&Caps>
    ) -> Caps;
fn parent_sink_event(&self, element: &VideoDecoder, event: Event) -> bool;
fn parent_sink_query(
        &self,
        element: &VideoDecoder,
        query: &mut QueryRef
    ) -> bool;
fn parent_src_event(&self, element: &VideoDecoder, event: Event) -> bool;
fn parent_src_query(
        &self,
        element: &VideoDecoder,
        query: &mut QueryRef
    ) -> bool;
fn parent_propose_allocation(
        &self,
        element: &VideoDecoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage>;
fn parent_decide_allocation(
        &self,
        element: &VideoDecoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage>; }

Required methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<T: VideoDecoderImpl + ObjectImpl> VideoDecoderImplExt for T[src]

Loading content...