Struct cros_libva::buffer::PictureHEVC
source · pub struct PictureHEVC(/* private fields */);Expand description
Wrapper over the VAPictureH264 FFI type.
Implementations§
source§impl PictureHEVC
impl PictureHEVC
sourcepub fn new(picture_id: VASurfaceID, pic_order_cnt: i32, flags: u32) -> Self
pub fn new(picture_id: VASurfaceID, pic_order_cnt: i32, flags: u32) -> Self
Creates the wrapper
sourcepub fn picture_id(&self) -> u32
pub fn picture_id(&self) -> u32
Returns the picture_id field.
sourcepub fn pic_order_cnt(&self) -> i32
pub fn pic_order_cnt(&self) -> i32
Returns the pic_order_cnt field.
Trait Implementations§
source§impl Clone for PictureHEVC
impl Clone for PictureHEVC
source§fn clone(&self) -> PictureHEVC
fn clone(&self) -> PictureHEVC
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 PictureHEVC
impl Debug for PictureHEVC
source§impl Default for PictureHEVC
impl Default for PictureHEVC
source§fn default() -> PictureHEVC
fn default() -> PictureHEVC
Returns the “default value” for a type. Read more
source§impl PartialEq for PictureHEVC
impl PartialEq for PictureHEVC
impl Copy for PictureHEVC
impl Eq for PictureHEVC
impl StructuralPartialEq for PictureHEVC
Auto Trait Implementations§
impl Freeze for PictureHEVC
impl RefUnwindSafe for PictureHEVC
impl Send for PictureHEVC
impl Sync for PictureHEVC
impl Unpin for PictureHEVC
impl UnwindSafe for PictureHEVC
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)