Trait gstreamer::subclass::buffer_pool::BufferPoolImpl

source ·
pub trait BufferPoolImpl:
    BufferPoolImplExt
    + GstObjectImpl
    + Send
    + Sync {
    // Provided methods
    fn acquire_buffer(
        &self,
        params: Option<&BufferPoolAcquireParams>,
    ) -> Result<Buffer, FlowError> { ... }
    fn alloc_buffer(
        &self,
        params: Option<&BufferPoolAcquireParams>,
    ) -> Result<Buffer, FlowError> { ... }
    fn flush_start(&self) { ... }
    fn flush_stop(&self) { ... }
    fn free_buffer(&self, buffer: Buffer) { ... }
    fn release_buffer(&self, buffer: Buffer) { ... }
    fn reset_buffer(&self, buffer: &mut BufferRef) { ... }
    fn start(&self) -> bool { ... }
    fn stop(&self) -> bool { ... }
    fn options() -> &'static [&'static str] { ... }
    fn set_config(&self, config: &mut BufferPoolConfigRef) -> bool { ... }
}

Provided Methods§

source

fn acquire_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>

source

fn alloc_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>

source

fn flush_start(&self)

source

fn flush_stop(&self)

source

fn free_buffer(&self, buffer: Buffer)

source

fn release_buffer(&self, buffer: Buffer)

source

fn reset_buffer(&self, buffer: &mut BufferRef)

source

fn start(&self) -> bool

source

fn stop(&self) -> bool

source

fn options() -> &'static [&'static str]

source

fn set_config(&self, config: &mut BufferPoolConfigRef) -> bool

Object Safety§

This trait is not object safe.

Implementors§