Struct ffmpeg_sys_next::AVDRMLayerDescriptor
source · #[repr(C)]pub struct AVDRMLayerDescriptor {
pub format: u32,
pub nb_planes: c_int,
pub planes: [AVDRMPlaneDescriptor; 4],
}Expand description
DRM layer descriptor.
Describes a single layer within a frame. This has the structure defined by its format, and will contain one or more planes.
Fields§
§format: u32Format of the layer (DRM_FORMAT_*).
nb_planes: c_intNumber of planes in the layer.
This must match the number of planes required by format.
planes: [AVDRMPlaneDescriptor; 4]Array of planes in this layer.
Trait Implementations§
source§impl Clone for AVDRMLayerDescriptor
impl Clone for AVDRMLayerDescriptor
source§fn clone(&self) -> AVDRMLayerDescriptor
fn clone(&self) -> AVDRMLayerDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AVDRMLayerDescriptor
impl Debug for AVDRMLayerDescriptor
source§impl PartialEq<AVDRMLayerDescriptor> for AVDRMLayerDescriptor
impl PartialEq<AVDRMLayerDescriptor> for AVDRMLayerDescriptor
source§fn eq(&self, other: &AVDRMLayerDescriptor) -> bool
fn eq(&self, other: &AVDRMLayerDescriptor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.