[][src]Trait gstreamer_base::subclass::prelude::AggregatorImpl

pub trait AggregatorImpl: AggregatorImplExt + ElementImpl + Send + Sync + 'static {
    fn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError> { ... }
fn clip(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        buffer: Buffer
    ) -> Option<Buffer> { ... }
fn finish_buffer_list(
        &self,
        aggregator: &Aggregator,
        buffer_list: BufferList
    ) -> Result<FlowSuccess, FlowError> { ... }
fn finish_buffer(
        &self,
        aggregator: &Aggregator,
        buffer: Buffer
    ) -> Result<FlowSuccess, FlowError> { ... }
fn sink_event(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        event: Event
    ) -> bool { ... }
fn sink_event_pre_queue(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        event: Event
    ) -> Result<FlowSuccess, FlowError> { ... }
fn sink_query(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        query: &mut QueryRef
    ) -> bool { ... }
fn sink_query_pre_queue(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        query: &mut QueryRef
    ) -> bool { ... }
fn src_event(&self, aggregator: &Aggregator, event: Event) -> bool { ... }
fn src_query(&self, aggregator: &Aggregator, query: &mut QueryRef) -> bool { ... }
fn src_activate(
        &self,
        aggregator: &Aggregator,
        mode: PadMode,
        active: bool
    ) -> Result<(), LoggableError> { ... }
fn aggregate(
        &self,
        aggregator: &Aggregator,
        timeout: bool
    ) -> Result<FlowSuccess, FlowError> { ... }
fn start(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage> { ... }
fn stop(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage> { ... }
fn get_next_time(&self, aggregator: &Aggregator) -> ClockTime { ... }
fn create_new_pad(
        &self,
        aggregator: &Aggregator,
        templ: &PadTemplate,
        req_name: Option<&str>,
        caps: Option<&Caps>
    ) -> Option<AggregatorPad> { ... }
fn update_src_caps(
        &self,
        aggregator: &Aggregator,
        caps: &Caps
    ) -> Result<Caps, FlowError> { ... }
fn fixate_src_caps(&self, aggregator: &Aggregator, caps: Caps) -> Caps { ... }
fn negotiated_src_caps(
        &self,
        aggregator: &Aggregator,
        caps: &Caps
    ) -> Result<(), LoggableError> { ... }
fn negotiate(&self, aggregator: &Aggregator) -> bool { ... }
fn peek_next_sample(
        &self,
        aggregator: &Aggregator,
        pad: &AggregatorPad
    ) -> Option<Sample> { ... } }

Provided methods

fn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError>

fn clip(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    buffer: Buffer
) -> Option<Buffer>

fn finish_buffer_list(
    &self,
    aggregator: &Aggregator,
    buffer_list: BufferList
) -> Result<FlowSuccess, FlowError>

fn finish_buffer(
    &self,
    aggregator: &Aggregator,
    buffer: Buffer
) -> Result<FlowSuccess, FlowError>

fn sink_event(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    event: Event
) -> bool

fn sink_event_pre_queue(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    event: Event
) -> Result<FlowSuccess, FlowError>

fn sink_query(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    query: &mut QueryRef
) -> bool

fn sink_query_pre_queue(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    query: &mut QueryRef
) -> bool

fn src_event(&self, aggregator: &Aggregator, event: Event) -> bool

fn src_query(&self, aggregator: &Aggregator, query: &mut QueryRef) -> bool

fn src_activate(
    &self,
    aggregator: &Aggregator,
    mode: PadMode,
    active: bool
) -> Result<(), LoggableError>

fn aggregate(
    &self,
    aggregator: &Aggregator,
    timeout: bool
) -> Result<FlowSuccess, FlowError>

fn start(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage>

fn stop(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage>

fn get_next_time(&self, aggregator: &Aggregator) -> ClockTime

fn create_new_pad(
    &self,
    aggregator: &Aggregator,
    templ: &PadTemplate,
    req_name: Option<&str>,
    caps: Option<&Caps>
) -> Option<AggregatorPad>

fn update_src_caps(
    &self,
    aggregator: &Aggregator,
    caps: &Caps
) -> Result<Caps, FlowError>

fn fixate_src_caps(&self, aggregator: &Aggregator, caps: Caps) -> Caps

fn negotiated_src_caps(
    &self,
    aggregator: &Aggregator,
    caps: &Caps
) -> Result<(), LoggableError>

fn negotiate(&self, aggregator: &Aggregator) -> bool

fn peek_next_sample(
    &self,
    aggregator: &Aggregator,
    pad: &AggregatorPad
) -> Option<Sample>

Loading content...

Implementors

Loading content...