#[non_exhaustive]pub struct KeyframeEncoded {
pub bytes: Vec<u8>,
pub reconstruction: KeyframePlanes,
pub token_prob_updates: Option<TokenProbUpdates>,
pub loop_filter_level: u8,
pub sharpness_level: u8,
}Expand description
A finished key-frame encode with what the encoder settled on along
the way — the result of
encode_keyframe_detailed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bytes: Vec<u8>The VP8 key frame.
reconstruction: KeyframePlanesThe macroblock-aligned post-§15 reconstruction — the planes a
decoder rebuilds from bytes.
token_prob_updates: Option<TokenProbUpdates>The §13.4 token-probability updates the frame carries (None
when it codes against the §13.5 defaults). Feed them to
KeyframeEncodeOptions::with_search_token_probs for the next
similar picture.
loop_filter_level: u8The §9.4 loop_filter_level in the frame header.
sharpness_level: u8The §9.4 sharpness_level in the frame header.
Trait Implementations§
Source§impl Clone for KeyframeEncoded
impl Clone for KeyframeEncoded
Auto Trait Implementations§
impl Forget for KeyframeEncoded
impl Freeze for KeyframeEncoded
impl Move for KeyframeEncoded
impl RefUnwindSafe for KeyframeEncoded
impl Send for KeyframeEncodedwhere
RawVecInner: Send,
impl Sync for KeyframeEncodedwhere
RawVecInner: Sync,
impl Unpin for KeyframeEncoded
impl UnsafeUnpin for KeyframeEncoded
impl UnwindSafe for KeyframeEncodedwhere
RawVecInner: UnwindSafe,
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