#[repr(C)]pub struct drmtap_dmabuf_desc {
pub dma_buf_fd: c_int,
pub width: u32,
pub height: u32,
pub format: u32,
pub modifier: u64,
pub fb_id: u32,
pub num_planes: u32,
pub offsets: [u32; 4],
pub pitches: [u32; 4],
pub hdr_eotf: u32,
pub hdr_max_nits: u32,
}Expand description
Descriptor of an externally-supplied scanout DMA-BUF (split capture): metadata from the privileged exporter shipped over IPC into drmtap_convert_dmabuf() on the unprivileged side.
Fields§
§dma_buf_fd: c_int§width: u32§height: u32§format: u32§modifier: u64§fb_id: u32§num_planes: u32§offsets: [u32; 4]§pitches: [u32; 4]§hdr_eotf: u32§hdr_max_nits: u32Auto Trait Implementations§
impl Freeze for drmtap_dmabuf_desc
impl RefUnwindSafe for drmtap_dmabuf_desc
impl Send for drmtap_dmabuf_desc
impl Sync for drmtap_dmabuf_desc
impl Unpin for drmtap_dmabuf_desc
impl UnsafeUnpin for drmtap_dmabuf_desc
impl UnwindSafe for drmtap_dmabuf_desc
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