Trait re_video::decode::async_decoder_wrapper::SyncDecoder

source ·
pub trait SyncDecoder {
    // Required method
    fn submit_chunk(
        &mut self,
        should_stop: &AtomicBool,
        chunk: Chunk,
        on_output: &OutputCallback
    );

    // Provided method
    fn reset(&mut self) { ... }
}
Expand description

Blocking decoder of video chunks.

Required Methods§

source

fn submit_chunk( &mut self, should_stop: &AtomicBool, chunk: Chunk, on_output: &OutputCallback )

Submit some work and read the results.

Stop early if should_stop is true or turns true.

Provided Methods§

source

fn reset(&mut self)

Clear and reset everything

Implementors§