pub struct SpsInfo {
pub width: u32,
pub height: u32,
pub profile_idc: u8,
pub level_idc: u8,
}Available on crate features
codec-h264 and codec only.Expand description
Decoded video dimensions and profile from a sequence parameter set.
Fields§
§width: u32Luma width in pixels (after cropping).
height: u32Luma height in pixels (after cropping).
profile_idc: u8profile_idc (66 = baseline, 77 = main, 100 = high, …).
level_idc: u8level_idc × 10 (e.g. 31 = level 3.1).
Trait Implementations§
impl Copy for SpsInfo
impl Eq for SpsInfo
impl StructuralPartialEq for SpsInfo
Auto Trait Implementations§
impl Freeze for SpsInfo
impl RefUnwindSafe for SpsInfo
impl Send for SpsInfo
impl Sync for SpsInfo
impl Unpin for SpsInfo
impl UnsafeUnpin for SpsInfo
impl UnwindSafe for SpsInfo
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