pub struct YcbcrEncoding {
pub matrix: YcbcrMatrix,
pub range: YcbcrRange,
}Expand description
How a YCbCr frame’s samples map to non-linear R’G’B’: the matrix and the code range a consumer needs to convert them.
Fields§
§matrix: YcbcrMatrixThe YCbCr to R’G’B’ matrix.
range: YcbcrRangeThe code range the samples span.
Trait Implementations§
Source§impl Clone for YcbcrEncoding
impl Clone for YcbcrEncoding
impl Copy for YcbcrEncoding
Source§impl Debug for YcbcrEncoding
impl Debug for YcbcrEncoding
impl Eq for YcbcrEncoding
Source§impl Hash for YcbcrEncoding
impl Hash for YcbcrEncoding
Source§impl PartialEq for YcbcrEncoding
impl PartialEq for YcbcrEncoding
impl StructuralPartialEq for YcbcrEncoding
Auto Trait Implementations§
impl Freeze for YcbcrEncoding
impl RefUnwindSafe for YcbcrEncoding
impl Send for YcbcrEncoding
impl Sync for YcbcrEncoding
impl Unpin for YcbcrEncoding
impl UnsafeUnpin for YcbcrEncoding
impl UnwindSafe for YcbcrEncoding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.