pub trait ExternalBacking: Send + Sync {
// Required method
fn plane_data(&self, index: usize) -> Option<&[u8]>;
}Expand description
External backing for frames when zero-copy sharing external memory.
Implementations can map DMA buffers or other shared memory into slices.
Required Methods§
Sourcefn plane_data(&self, index: usize) -> Option<&[u8]>
fn plane_data(&self, index: usize) -> Option<&[u8]>
Borrow a plane by index; lifetime must be tied to self.