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

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

Required methods

fn parent_open(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_close(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_start(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_finish(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError>[src]

fn parent_drain(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError>[src]

fn parent_set_format(
    &self,
    element: &Self::Type,
    state: &VideoCodecState<'static, Readable>
) -> Result<(), LoggableError>
[src]

fn parent_parse(
    &self,
    element: &Self::Type,
    frame: &VideoCodecFrame<'_>,
    adapter: &Adapter,
    at_eos: bool
) -> Result<FlowSuccess, FlowError>
[src]

fn parent_handle_frame(
    &self,
    element: &Self::Type,
    frame: VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
[src]

fn parent_flush(&self, element: &Self::Type) -> bool[src]

fn parent_negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>[src]

fn parent_caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps[src]

fn parent_sink_event(&self, element: &Self::Type, event: Event) -> bool[src]

fn parent_sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn parent_src_event(&self, element: &Self::Type, event: Event) -> bool[src]

fn parent_src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn parent_propose_allocation(
    &self,
    element: &Self::Type,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]

fn parent_decide_allocation(
    &self,
    element: &Self::Type,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]

Loading content...

Implementors

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

fn parent_open(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_close(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_start(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn parent_finish(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError>[src]

fn parent_drain(&self, element: &Self::Type) -> Result<FlowSuccess, FlowError>[src]

fn parent_set_format(
    &self,
    element: &Self::Type,
    state: &VideoCodecState<'static, Readable>
) -> Result<(), LoggableError>
[src]

fn parent_parse(
    &self,
    element: &Self::Type,
    frame: &VideoCodecFrame<'_>,
    adapter: &Adapter,
    at_eos: bool
) -> Result<FlowSuccess, FlowError>
[src]

fn parent_handle_frame(
    &self,
    element: &Self::Type,
    frame: VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
[src]

fn parent_flush(&self, element: &Self::Type) -> bool[src]

fn parent_negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>[src]

fn parent_caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps[src]

fn parent_sink_event(&self, element: &Self::Type, event: Event) -> bool[src]

fn parent_sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn parent_src_event(&self, element: &Self::Type, event: Event) -> bool[src]

fn parent_src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn parent_propose_allocation(
    &self,
    element: &Self::Type,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]

fn parent_decide_allocation(
    &self,
    element: &Self::Type,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]

Loading content...