pub struct VideoDecoderOptions {
pub decoder: CodecChoice,
pub purpose: DecodingPurpose,
pub frame_limit: u32,
pub largest_size: Option<PictureSize>,
pub default_color: Option<VideoColor>,
}Fields§
§decoder: CodecChoiceWhich decoder the app accepts.
purpose: DecodingPurposeWhat the pictures are for.
frame_limit: u32The most frames the app has at one time: what a system that sizes a decoder’s pool as it is made sizes it for.
largest_size: Option<PictureSize>The largest size the stream will reach, where the app knows: what lets Android’s decoders change size in place.
default_color: Option<VideoColor>The colour a file gives for the stream. It fills in only what the stream itself leaves unsaid: the stream describes its own pixels, and a file’s header is often wrong.
Trait Implementations§
Source§impl Clone for VideoDecoderOptions
impl Clone for VideoDecoderOptions
Source§impl Debug for VideoDecoderOptions
impl Debug for VideoDecoderOptions
Source§impl PartialEq for VideoDecoderOptions
impl PartialEq for VideoDecoderOptions
impl StructuralPartialEq for VideoDecoderOptions
Auto Trait Implementations§
impl Forget for VideoDecoderOptions
impl Freeze for VideoDecoderOptions
impl Move for VideoDecoderOptions
impl RefUnwindSafe for VideoDecoderOptions
impl Send for VideoDecoderOptions
impl Sync for VideoDecoderOptions
impl Unpin for VideoDecoderOptions
impl UnsafeUnpin for VideoDecoderOptions
impl UnwindSafe for VideoDecoderOptions
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