#[repr(C)]pub struct VADRMPRIMESurfaceDescriptorLayer {
pub drm_format: u32,
pub num_planes: u32,
pub object_index: [u32; 4],
pub offset: [u32; 4],
pub pitch: [u32; 4],
}Expand description
Description of each layer in the surface.
Fields§
§drm_format: u32DRM format fourcc of this layer (DRM_FOURCC_*).
num_planes: u32Number of planes in this layer.
object_index: [u32; 4]Index in the objects array of the object containing each plane.
offset: [u32; 4]Offset within the object of each plane.
pitch: [u32; 4]Pitch of each plane.
Trait Implementations§
impl Copy for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Eq for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl StructuralPartialEq for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl RefUnwindSafe for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Send for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Sync for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Unpin for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl UnsafeUnpin for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl UnwindSafe for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more