[][src]Trait gstreamer_base::subclass::base_transform::BaseTransformImplExt

pub trait BaseTransformImplExt {
    fn parent_start(&self, element: &BaseTransform) -> Result<(), ErrorMessage>;
fn parent_stop(&self, element: &BaseTransform) -> Result<(), ErrorMessage>;
fn parent_transform_caps(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps,
        filter: Option<&Caps>
    ) -> Option<Caps>;
fn parent_fixate_caps(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps,
        othercaps: Caps
    ) -> Caps;
fn parent_set_caps(
        &self,
        element: &BaseTransform,
        incaps: &Caps,
        outcaps: &Caps
    ) -> Result<(), LoggableError>;
fn parent_accept_caps(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps
    ) -> bool;
fn parent_query(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        query: &mut QueryRef
    ) -> bool;
fn parent_transform_size(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps,
        size: usize,
        othercaps: &Caps
    ) -> Option<usize>;
fn parent_get_unit_size(
        &self,
        element: &BaseTransform,
        caps: &Caps
    ) -> Option<usize>;
fn parent_sink_event(&self, element: &BaseTransform, event: Event) -> bool;
fn parent_src_event(&self, element: &BaseTransform, event: Event) -> bool;
fn parent_prepare_output_buffer(
        &self,
        element: &BaseTransform,
        inbuf: &BufferRef
    ) -> Result<PrepareOutputBufferSuccess, FlowError>;
fn parent_transform(
        &self,
        element: &BaseTransform,
        inbuf: &Buffer,
        outbuf: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError>;
fn parent_transform_ip(
        &self,
        element: &BaseTransform,
        buf: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError>;
fn parent_transform_ip_passthrough(
        &self,
        element: &BaseTransform,
        buf: &Buffer
    ) -> Result<FlowSuccess, FlowError>;
fn parent_copy_metadata(
        &self,
        element: &BaseTransform,
        inbuf: &BufferRef,
        outbuf: &mut BufferRef
    ) -> Result<(), LoggableError>;
fn parent_transform_meta<'a>(
        &self,
        element: &BaseTransform,
        outbuf: &mut BufferRef,
        meta: MetaRef<'a, Meta>,
        inbuf: &'a BufferRef
    ) -> bool;
fn parent_before_transform(
        &self,
        element: &BaseTransform,
        inbuf: &BufferRef
    );
fn parent_submit_input_buffer(
        &self,
        element: &BaseTransform,
        is_discont: bool,
        inbuf: Buffer
    ) -> Result<FlowSuccess, FlowError>;
fn parent_generate_output(
        &self,
        element: &BaseTransform
    ) -> Result<GenerateOutputSuccess, FlowError>;
fn take_queued_buffer(&self) -> Option<Buffer>
    where
        Self: ObjectSubclass,
        Self::ParentType: IsA<BaseTransform>
;
fn get_queued_buffer(&self) -> Option<Buffer>
    where
        Self: ObjectSubclass,
        Self::ParentType: IsA<BaseTransform>
; }

Required methods

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

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

fn parent_transform_caps(
    &self,
    element: &BaseTransform,
    direction: PadDirection,
    caps: &Caps,
    filter: Option<&Caps>
) -> Option<Caps>

fn parent_fixate_caps(
    &self,
    element: &BaseTransform,
    direction: PadDirection,
    caps: &Caps,
    othercaps: Caps
) -> Caps

fn parent_set_caps(
    &self,
    element: &BaseTransform,
    incaps: &Caps,
    outcaps: &Caps
) -> Result<(), LoggableError>

fn parent_accept_caps(
    &self,
    element: &BaseTransform,
    direction: PadDirection,
    caps: &Caps
) -> bool

fn parent_query(
    &self,
    element: &BaseTransform,
    direction: PadDirection,
    query: &mut QueryRef
) -> bool

fn parent_transform_size(
    &self,
    element: &BaseTransform,
    direction: PadDirection,
    caps: &Caps,
    size: usize,
    othercaps: &Caps
) -> Option<usize>

fn parent_get_unit_size(
    &self,
    element: &BaseTransform,
    caps: &Caps
) -> Option<usize>

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

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

fn parent_prepare_output_buffer(
    &self,
    element: &BaseTransform,
    inbuf: &BufferRef
) -> Result<PrepareOutputBufferSuccess, FlowError>

fn parent_transform(
    &self,
    element: &BaseTransform,
    inbuf: &Buffer,
    outbuf: &mut BufferRef
) -> Result<FlowSuccess, FlowError>

fn parent_transform_ip(
    &self,
    element: &BaseTransform,
    buf: &mut BufferRef
) -> Result<FlowSuccess, FlowError>

fn parent_transform_ip_passthrough(
    &self,
    element: &BaseTransform,
    buf: &Buffer
) -> Result<FlowSuccess, FlowError>

fn parent_copy_metadata(
    &self,
    element: &BaseTransform,
    inbuf: &BufferRef,
    outbuf: &mut BufferRef
) -> Result<(), LoggableError>

fn parent_transform_meta<'a>(
    &self,
    element: &BaseTransform,
    outbuf: &mut BufferRef,
    meta: MetaRef<'a, Meta>,
    inbuf: &'a BufferRef
) -> bool

fn parent_before_transform(&self, element: &BaseTransform, inbuf: &BufferRef)

fn parent_submit_input_buffer(
    &self,
    element: &BaseTransform,
    is_discont: bool,
    inbuf: Buffer
) -> Result<FlowSuccess, FlowError>

fn parent_generate_output(
    &self,
    element: &BaseTransform
) -> Result<GenerateOutputSuccess, FlowError>

fn take_queued_buffer(&self) -> Option<Buffer> where
    Self: ObjectSubclass,
    Self::ParentType: IsA<BaseTransform>, 

fn get_queued_buffer(&self) -> Option<Buffer> where
    Self: ObjectSubclass,
    Self::ParentType: IsA<BaseTransform>, 

Loading content...

Implementors

impl<T: BaseTransformImpl + ObjectImpl> BaseTransformImplExt for T[src]

Loading content...