#[repr(u8)]pub enum SeiPayloadType {
BufferingPeriod = 0,
PictureTiming = 1,
PanScanRect = 2,
UserDataRegistered = 4,
UserDataUnregistered = 5,
RecoveryPoint = 6,
FramePacking = 45,
DisplayOrientation = 47,
Unknown = 255,
}Expand description
SEI payload type codes (ITU-T H.274 / ISO/IEC 23002-7 analogues for royalty-free codecs).
The numeric values are deliberately kept aligned with the H.264/H.265 SEI tables for tooling interoperability, but no H.264/H.265 patents apply here: these structures are used solely inside VP8 extension blocks and AV1 METADATA_OBUs.
Variants§
BufferingPeriod = 0
Buffering period (type 0).
PictureTiming = 1
Picture timing (type 1).
PanScanRect = 2
Pan-scan rectangle (type 2).
UserDataRegistered = 4
User data registered by ITU-T Rec. T.35 (type 4).
UserDataUnregistered = 5
User data unregistered — UUID + opaque bytes (type 5).
RecoveryPoint = 6
Recovery point (type 6).
FramePacking = 45
Frame packing arrangement (type 45).
DisplayOrientation = 47
Display orientation (type 47).
Unknown = 255
Unknown / custom.
Implementations§
Source§impl SeiPayloadType
impl SeiPayloadType
Sourcepub fn from_byte(b: u8) -> Self
pub fn from_byte(b: u8) -> Self
Parse from a raw byte value. Unrecognised values map to Self::Unknown.
Trait Implementations§
Source§impl Clone for SeiPayloadType
impl Clone for SeiPayloadType
Source§fn clone(&self) -> SeiPayloadType
fn clone(&self) -> SeiPayloadType
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 moreSource§impl Debug for SeiPayloadType
impl Debug for SeiPayloadType
Source§impl Hash for SeiPayloadType
impl Hash for SeiPayloadType
Source§impl PartialEq for SeiPayloadType
impl PartialEq for SeiPayloadType
Source§fn eq(&self, other: &SeiPayloadType) -> bool
fn eq(&self, other: &SeiPayloadType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SeiPayloadType
impl Eq for SeiPayloadType
impl StructuralPartialEq for SeiPayloadType
Auto Trait Implementations§
impl Freeze for SeiPayloadType
impl RefUnwindSafe for SeiPayloadType
impl Send for SeiPayloadType
impl Sync for SeiPayloadType
impl Unpin for SeiPayloadType
impl UnsafeUnpin for SeiPayloadType
impl UnwindSafe for SeiPayloadType
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more