pub struct VideoDecoderConfig {
pub codec: Codec,
pub profile: CodecProfile,
pub coded_dimensions: VideoDimensions,
pub output_format: PixelFormat,
pub color_range: ColorRange,
pub hardware: HardwarePreference,
pub configuration: Vec<u8>,
}Expand description
Backend-neutral video decoder configuration.
Fields§
§codec: Codec§profile: CodecProfile§coded_dimensions: VideoDimensions§output_format: PixelFormat§color_range: ColorRange§hardware: HardwarePreference§configuration: Vec<u8>Container configuration bytes in the codec’s standardized format.
Trait Implementations§
Source§impl Clone for VideoDecoderConfig
impl Clone for VideoDecoderConfig
Source§impl Debug for VideoDecoderConfig
impl Debug for VideoDecoderConfig
impl Eq for VideoDecoderConfig
Source§impl PartialEq for VideoDecoderConfig
impl PartialEq for VideoDecoderConfig
impl StructuralPartialEq for VideoDecoderConfig
Auto Trait Implementations§
impl Forget for VideoDecoderConfig
impl Freeze for VideoDecoderConfig
impl Move for VideoDecoderConfig
impl RefUnwindSafe for VideoDecoderConfig
impl Send for VideoDecoderConfigwhere
RawVecInner: Send,
impl Sync for VideoDecoderConfigwhere
RawVecInner: Sync,
impl Unpin for VideoDecoderConfig
impl UnsafeUnpin for VideoDecoderConfig
impl UnwindSafe for VideoDecoderConfigwhere
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