#[repr(C)]pub struct VABufferInfo {
pub handle: usize,
pub type_: u32,
pub mem_type: u32,
pub mem_size: usize,
pub va_reserved: [u32; 4],
}Expand description
\brief VA buffer information
Fields§
§handle: usize\brief Buffer handle
type_: u32\brief Buffer type (See \ref VABufferType).
mem_type: u32\brief Buffer memory type (See \ref VASurfaceAttribMemoryType).
On input to vaAcquireBufferHandle(), this field can serve as a hint to specify the set of memory types the caller is interested in. On successful return from vaAcquireBufferHandle(), the field is updated with the best matching memory type.
mem_size: usize\brief Size of the underlying buffer.
va_reserved: [u32; 4]\brief Reserved bytes for future use, must be zero
Trait Implementations§
Source§impl Clone for VABufferInfo
impl Clone for VABufferInfo
Source§fn clone(&self) -> VABufferInfo
fn clone(&self) -> VABufferInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VABufferInfo
Source§impl Debug for VABufferInfo
impl Debug for VABufferInfo
Source§impl Default for VABufferInfo
impl Default for VABufferInfo
Source§fn default() -> VABufferInfo
fn default() -> VABufferInfo
Returns the “default value” for a type. Read more
impl Eq for VABufferInfo
Source§impl PartialEq for VABufferInfo
impl PartialEq for VABufferInfo
Source§fn eq(&self, other: &VABufferInfo) -> bool
fn eq(&self, other: &VABufferInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VABufferInfo
Auto Trait Implementations§
impl Freeze for VABufferInfo
impl RefUnwindSafe for VABufferInfo
impl Send for VABufferInfo
impl Sync for VABufferInfo
impl Unpin for VABufferInfo
impl UnsafeUnpin for VABufferInfo
impl UnwindSafe for VABufferInfo
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