pub trait PlanarBuffer {
    fn size(&self) -> (u32, u32);
fn format(&self) -> DrmFourcc;
fn pitches(&self) -> [u32; 4];
fn handles(&self) -> [Option<Handle>; 4];
fn offsets(&self) -> [u32; 4]; }
Expand description

Planar buffers are buffers where each channel/plane is in its own buffer.

Each plane has their own handle, pitch, and offsets.

Required methods

The width and height of the buffer.

The format of the buffer.

The pitches of the buffer.

The handles to the buffer.

The offsets of the buffer.

Implementors