pub struct VP9 {
pub profile: u8,
pub level: u8,
pub bit_depth: u8,
pub chroma_subsampling: u8,
pub color_primaries: u8,
pub transfer_characteristics: u8,
pub matrix_coefficients: u8,
pub full_range: bool,
}Expand description
VP9 codec configuration.
This struct contains profile, level, bit depth, and color space information for VP9 video streams. VP9 supports flexible color formats and bit depths.
Fields§
§profile: u8VP9 profile (0-3, determines feature support)
level: u8VP9 level (determines resolution and bitrate constraints)
bit_depth: u8Bit depth (8, 10, or 12 bits per sample)
chroma_subsampling: u8Chroma subsampling format
color_primaries: u8Color primaries specification
transfer_characteristics: u8Transfer characteristics (gamma curve)
matrix_coefficients: u8Matrix coefficients for color conversion
full_range: boolWhether video uses full range (true) or limited range (false)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VP9
impl<'de> Deserialize<'de> for VP9
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VP9
Source§impl From<VP9> for VideoCodec
impl From<VP9> for VideoCodec
impl StructuralPartialEq for VP9
Auto Trait Implementations§
impl Freeze for VP9
impl RefUnwindSafe for VP9
impl Send for VP9
impl Sync for VP9
impl Unpin for VP9
impl UnsafeUnpin for VP9
impl UnwindSafe for VP9
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
impl<T> CatalogExt for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.