pub enum VideoTransferMatrix {
Bt601,
Bt709,
}Variants§
Implementations§
Source§impl VideoTransferMatrix
impl VideoTransferMatrix
Sourcepub const fn for_unspecified_source(height: u32) -> Self
pub const fn for_unspecified_source(height: u32) -> Self
Windows/DXVA fallback for unspecified transfer-matrix metadata.
DXVA defines HD for this purpose as a source height greater than 576 lines; unknown SD content is treated as BT.601 and unknown HD content as BT.709.
Trait Implementations§
Source§impl Clone for VideoTransferMatrix
impl Clone for VideoTransferMatrix
Source§fn clone(&self) -> VideoTransferMatrix
fn clone(&self) -> VideoTransferMatrix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VideoTransferMatrix
Source§impl Debug for VideoTransferMatrix
impl Debug for VideoTransferMatrix
impl Eq for VideoTransferMatrix
Source§impl PartialEq for VideoTransferMatrix
impl PartialEq for VideoTransferMatrix
impl StructuralPartialEq for VideoTransferMatrix
Auto Trait Implementations§
impl Freeze for VideoTransferMatrix
impl RefUnwindSafe for VideoTransferMatrix
impl Send for VideoTransferMatrix
impl Sync for VideoTransferMatrix
impl Unpin for VideoTransferMatrix
impl UnsafeUnpin for VideoTransferMatrix
impl UnwindSafe for VideoTransferMatrix
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