pub struct VideoDecoderConfig { /* private fields */ }Expand description
Decoder initialization descriptor derived from an MP4 video track.
Implementations§
Source§impl VideoDecoderConfig
impl VideoDecoderConfig
pub fn get_codec(&self) -> VideoCodec
pub fn get_mut_codec(&mut self) -> &mut VideoCodec
pub fn set_codec(&mut self, val: VideoCodec) -> &mut Self
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_color_info(&self) -> VideoColorInfo
pub fn get_mut_color_info(&mut self) -> &mut VideoColorInfo
pub fn set_color_info(&mut self, val: VideoColorInfo) -> &mut Self
Source§impl VideoDecoderConfig
impl VideoDecoderConfig
pub fn new( codec: VideoCodec, width: u32, height: u32, color_info: VideoColorInfo, ) -> Self
Trait Implementations§
Source§impl Clone for VideoDecoderConfig
impl Clone for VideoDecoderConfig
impl Copy for VideoDecoderConfig
Source§impl Debug for VideoDecoderConfig
impl Debug for VideoDecoderConfig
Source§impl Default for VideoDecoderConfig
impl Default for VideoDecoderConfig
impl Eq for VideoDecoderConfig
Source§impl Hash for VideoDecoderConfig
impl Hash 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 VideoDecoderConfig
impl Sync for VideoDecoderConfig
impl Unpin for VideoDecoderConfig
impl UnsafeUnpin for VideoDecoderConfig
impl UnwindSafe for VideoDecoderConfig
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