pub struct DmabufFrame {
pub fds: Vec<OwnedFd>,
pub layout: FrameLayout,
}
Fields§
§fds: Vec<OwnedFd>
§layout: FrameLayout
Trait Implementations§
Source§impl Debug for DmabufFrame
impl Debug for DmabufFrame
Source§impl ExternalBufferDescriptor for DmabufFrame
impl ExternalBufferDescriptor for DmabufFrame
Source§const MEMORY_TYPE: MemoryType = libva::MemoryType::DrmPrime2
const MEMORY_TYPE: MemoryType = libva::MemoryType::DrmPrime2
Memory type to set for
VASurfaceAttribMemoryType
.Source§type DescriptorAttribute = _VADRMPRIMESurfaceDescriptor
type DescriptorAttribute = _VADRMPRIMESurfaceDescriptor
Type of the descriptor to be set with
VASurfaceAttribExternalBuffers
.Source§fn va_surface_attribute(&mut self) -> Self::DescriptorAttribute
fn va_surface_attribute(&mut self) -> Self::DescriptorAttribute
Returns the
Self::DescriptorAttribute
instance allowing this memory to be imported
into VAAPI.Auto Trait Implementations§
impl Freeze for DmabufFrame
impl RefUnwindSafe for DmabufFrame
impl Send for DmabufFrame
impl Sync for DmabufFrame
impl Unpin for DmabufFrame
impl UnwindSafe for DmabufFrame
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