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

pub trait BaseTransformImpl: BaseTransformImplExt + ElementImpl + Send + Sync + 'static {
    fn start(&self, element: &BaseTransform) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &BaseTransform) -> Result<(), ErrorMessage> { ... }
fn transform_caps(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps,
        filter: Option<&Caps>
    ) -> Option<Caps> { ... }
fn fixate_caps(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps,
        othercaps: Caps
    ) -> Caps { ... }
fn set_caps(
        &self,
        element: &BaseTransform,
        incaps: &Caps,
        outcaps: &Caps
    ) -> Result<(), LoggableError> { ... }
fn accept_caps(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps
    ) -> bool { ... }
fn query(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        query: &mut QueryRef
    ) -> bool { ... }
fn transform_size(
        &self,
        element: &BaseTransform,
        direction: PadDirection,
        caps: &Caps,
        size: usize,
        othercaps: &Caps
    ) -> Option<usize> { ... }
fn get_unit_size(
        &self,
        element: &BaseTransform,
        caps: &Caps
    ) -> Option<usize> { ... }
fn sink_event(&self, element: &BaseTransform, event: Event) -> bool { ... }
fn src_event(&self, element: &BaseTransform, event: Event) -> bool { ... }
fn prepare_output_buffer(
        &self,
        element: &BaseTransform,
        inbuf: &BufferRef
    ) -> Result<PrepareOutputBufferSuccess, FlowError> { ... }
fn transform(
        &self,
        element: &BaseTransform,
        inbuf: &Buffer,
        outbuf: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError> { ... }
fn transform_ip(
        &self,
        element: &BaseTransform,
        buf: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError> { ... }
fn transform_ip_passthrough(
        &self,
        element: &BaseTransform,
        buf: &Buffer
    ) -> Result<FlowSuccess, FlowError> { ... }
fn copy_metadata(
        &self,
        element: &BaseTransform,
        inbuf: &BufferRef,
        outbuf: &mut BufferRef
    ) -> Result<(), LoggableError> { ... }
fn transform_meta<'a>(
        &self,
        element: &BaseTransform,
        outbuf: &mut BufferRef,
        meta: MetaRef<'a, Meta>,
        inbuf: &'a BufferRef
    ) -> bool { ... }
fn before_transform(&self, element: &BaseTransform, inbuf: &BufferRef) { ... }
fn submit_input_buffer(
        &self,
        element: &BaseTransform,
        is_discont: bool,
        inbuf: Buffer
    ) -> Result<FlowSuccess, FlowError> { ... }
fn generate_output(
        &self,
        element: &BaseTransform
    ) -> Result<GenerateOutputSuccess, FlowError> { ... } }

Provided methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...