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

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

Required methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<T: VideoEncoderImpl + ObjectImpl> VideoEncoderImplExt for T[src]

Loading content...