pub struct Vc1PictureHeader {
pub fcm: u8,
pub picture_type: u8,
}Expand description
Minimal picture header (§7.1.1). Picture-type decode in VC-1 is
VLC-coded and depends on the entry-point’s interlace flag, the
sequence header’s finterpflag, etc. We surface only the FCM
(frame coding mode) and the picture type, which is what
VdpPictureInfoVC1::picture_type ultimately consumes.
Fields§
§fcm: u8FCM — frame coding mode (§7.1.1.15). 0 = progressive frame, 2 = interlaced field, 3 = interlaced frame.
picture_type: u8Picture type: 0=I, 1=P, 2=B, 3=BI, 4=skipped (for progressive pictures). For interlaced field pictures this is per-field and uses different VLC; the parser falls back to a 3-bit fixed-length read for those.
Trait Implementations§
Source§impl Clone for Vc1PictureHeader
impl Clone for Vc1PictureHeader
Source§impl Debug for Vc1PictureHeader
impl Debug for Vc1PictureHeader
Source§impl Default for Vc1PictureHeader
impl Default for Vc1PictureHeader
impl Eq for Vc1PictureHeader
Source§impl PartialEq for Vc1PictureHeader
impl PartialEq for Vc1PictureHeader
impl StructuralPartialEq for Vc1PictureHeader
Auto Trait Implementations§
impl Freeze for Vc1PictureHeader
impl RefUnwindSafe for Vc1PictureHeader
impl Send for Vc1PictureHeader
impl Sync for Vc1PictureHeader
impl Unpin for Vc1PictureHeader
impl UnsafeUnpin for Vc1PictureHeader
impl UnwindSafe for Vc1PictureHeader
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