Struct gstreamer_base::BaseTransform[]

pub struct BaseTransform(_, _);

This base class is for filter elements that process data. Elements that are suitable for implementation using BaseTransform are ones where the size and caps of the output is known entirely from the input caps and buffer sizes. These include elements that directly transform one buffer into another, modify the contents of a buffer in-place, as well as elements that collate multiple input buffers into one output buffer, or that expand one input buffer into multiple output buffers. See below for more concrete use cases.

It provides for:

Use Cases

Passthrough mode

Modifications in-place - input buffer and output buffer are the same thing.

Modifications only to the caps/metadata of a buffer

Normal mode

Special output buffer allocations

Sub-class settable flags on GstBaseTransform

Implements

BaseTransformExt, gst::ElementExt, gst::ObjectExt, glib::object::ObjectExt

Trait Implementations

impl Clone for BaseTransform

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for BaseTransform

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for BaseTransform

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl StaticType for BaseTransform

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for BaseTransform

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for BaseTransform

impl<T: IsA<Object>> PartialOrd<T> for BaseTransform

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for BaseTransform

Formats the value using the given formatter. Read more

impl IsA<Element> for BaseTransform

impl IsA<Object> for BaseTransform

impl IsA<Object> for BaseTransform

impl Send for BaseTransform
[src]

impl Sync for BaseTransform
[src]