pub struct Wmv2FrameHeader {
pub frame_type: Wmv2FrameType,
pub pquant: u8,
pub frame_skipped: bool,
pub header_bits: usize,
}Fields§
§frame_type: Wmv2FrameType§pquant: u8Quantizer (upstream: qscale, range 1..31).
frame_skipped: boolWhether upstream would return FRAME_SKIPPED from wmv2_decode_picture_header().
For such frames, the decoder should just output the previous reference.
header_bits: usizeBit offset (from the beginning of the payload slice) where the secondary picture header / macroblock layer begins.
Implementations§
Trait Implementations§
Source§impl Clone for Wmv2FrameHeader
impl Clone for Wmv2FrameHeader
Source§fn clone(&self) -> Wmv2FrameHeader
fn clone(&self) -> Wmv2FrameHeader
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Wmv2FrameHeader
impl RefUnwindSafe for Wmv2FrameHeader
impl Send for Wmv2FrameHeader
impl Sync for Wmv2FrameHeader
impl Unpin for Wmv2FrameHeader
impl UnwindSafe for Wmv2FrameHeader
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