Skip to main content

VideoDecoderBufferBacking

Trait VideoDecoderBufferBacking 

Source
pub trait VideoDecoderBufferBacking {
    // Required methods
    fn new(queue: QueueType, index: u32, sizes: &[usize]) -> IoctlResult<Self>
       where Self: Sized;
    fn fd_for_plane(&self, plane_idx: usize) -> Option<BorrowedFd<'_>>;
}
Expand description

Backing MMAP memory for VirtioVideoMediaDecoderBuffer.

Required Methods§

Source

fn new(queue: QueueType, index: u32, sizes: &[usize]) -> IoctlResult<Self>
where Self: Sized,

Source

fn fd_for_plane(&self, plane_idx: usize) -> Option<BorrowedFd<'_>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§