#[non_exhaustive]#[repr(u32)]pub enum AVPictureType {
AV_PICTURE_TYPE_NONE = 0,
AV_PICTURE_TYPE_I = 1,
AV_PICTURE_TYPE_P = 2,
AV_PICTURE_TYPE_B = 3,
AV_PICTURE_TYPE_S = 4,
AV_PICTURE_TYPE_SI = 5,
AV_PICTURE_TYPE_SP = 6,
AV_PICTURE_TYPE_BI = 7,
}
Expand description
@} @} @defgroup lavu_picture Image related
AVPicture types, pixel formats and basic image planes manipulation.
@{
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AV_PICTURE_TYPE_NONE = 0
< Undefined
AV_PICTURE_TYPE_I = 1
< Intra
AV_PICTURE_TYPE_P = 2
< Predicted
AV_PICTURE_TYPE_B = 3
< Bi-dir predicted
AV_PICTURE_TYPE_S = 4
< S(GMC)-VOP MPEG-4
AV_PICTURE_TYPE_SI = 5
< Switching Intra
AV_PICTURE_TYPE_SP = 6
< Switching Predicted
AV_PICTURE_TYPE_BI = 7
< BI type
Trait Implementations§
source§impl Clone for AVPictureType
impl Clone for AVPictureType
source§fn clone(&self) -> AVPictureType
fn clone(&self) -> AVPictureType
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 AVPictureType
impl Debug for AVPictureType
source§impl Hash for AVPictureType
impl Hash for AVPictureType
source§impl PartialEq for AVPictureType
impl PartialEq for AVPictureType
source§fn eq(&self, other: &AVPictureType) -> bool
fn eq(&self, other: &AVPictureType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVPictureType
impl Eq for AVPictureType
impl StructuralPartialEq for AVPictureType
Auto Trait Implementations§
impl Freeze for AVPictureType
impl RefUnwindSafe for AVPictureType
impl Send for AVPictureType
impl Sync for AVPictureType
impl Unpin for AVPictureType
impl UnwindSafe for AVPictureType
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