pub trait VideoFrame: Send + Sync {
// Required methods
fn buffer_index(&self) -> usize;
fn width(&self) -> usize;
fn height(&self) -> usize;
}Expand description
Provides a handle to a video frame on the GPU.
pub trait VideoFrame: Send + Sync {
// Required methods
fn buffer_index(&self) -> usize;
fn width(&self) -> usize;
fn height(&self) -> usize;
}Provides a handle to a video frame on the GPU.