pub struct HardwareDecoderCapabilities { /* private fields */ }Expand description
Capability report advertised by a hardware or software video decoder backend.
Implementations§
Source§impl HardwareDecoderCapabilities
impl HardwareDecoderCapabilities
pub fn get_kind(&self) -> HardwareDecoderKind
pub fn get_mut_kind(&mut self) -> &mut HardwareDecoderKind
pub fn set_kind(&mut self, val: HardwareDecoderKind) -> &mut Self
pub fn get_zero_copy_gpu_interop(&self) -> bool
pub fn get_mut_zero_copy_gpu_interop(&mut self) -> &mut bool
pub fn set_zero_copy_gpu_interop(&mut self, val: bool) -> &mut Self
pub fn get_supports_h264(&self) -> bool
pub fn get_mut_supports_h264(&mut self) -> &mut bool
pub fn set_supports_h264(&mut self, val: bool) -> &mut Self
pub fn get_supports_h265(&self) -> bool
pub fn get_mut_supports_h265(&mut self) -> &mut bool
pub fn set_supports_h265(&mut self, val: bool) -> &mut Self
pub fn get_supports_vp9(&self) -> bool
pub fn get_mut_supports_vp9(&mut self) -> &mut bool
pub fn set_supports_vp9(&mut self, val: bool) -> &mut Self
pub fn get_supports_av1(&self) -> bool
pub fn get_mut_supports_av1(&mut self) -> &mut bool
pub fn set_supports_av1(&mut self, val: bool) -> &mut Self
pub fn get_supports_hdr10(&self) -> bool
pub fn get_mut_supports_hdr10(&mut self) -> &mut bool
pub fn set_supports_hdr10(&mut self, val: bool) -> &mut Self
pub fn get_max_width(&self) -> u32
pub fn get_mut_max_width(&mut self) -> &mut u32
pub fn set_max_width(&mut self, val: u32) -> &mut Self
pub fn get_max_height(&self) -> u32
pub fn get_mut_max_height(&mut self) -> &mut u32
pub fn set_max_height(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for HardwareDecoderCapabilities
impl Clone for HardwareDecoderCapabilities
impl Copy for HardwareDecoderCapabilities
Source§impl Debug for HardwareDecoderCapabilities
impl Debug for HardwareDecoderCapabilities
Source§impl<'de> Deserialize<'de> for HardwareDecoderCapabilities
impl<'de> Deserialize<'de> for HardwareDecoderCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HardwareDecoderCapabilities
Source§impl Hash for HardwareDecoderCapabilities
impl Hash for HardwareDecoderCapabilities
impl StructuralPartialEq for HardwareDecoderCapabilities
Auto Trait Implementations§
impl Forget for HardwareDecoderCapabilities
impl Freeze for HardwareDecoderCapabilities
impl Move for HardwareDecoderCapabilities
impl RefUnwindSafe for HardwareDecoderCapabilities
impl Send for HardwareDecoderCapabilities
impl Sync for HardwareDecoderCapabilities
impl Unpin for HardwareDecoderCapabilities
impl UnsafeUnpin for HardwareDecoderCapabilities
impl UnwindSafe for HardwareDecoderCapabilities
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