pub fn subsampling(&self) -> Subsampling {
        if !self.subsampling_x && !self.subsampling_y {
            Subsampling::Yuv444
        } else if !self.subsampling_x && self.subsampling_y {
            Subsampling::Yuv440
        } else if self.subsampling_x && !self.subsampling_y {
            Subsampling::Yuv422
        } else {
            Subsampling::Yuv420
        }
    }
/// The subsampling the frame is using.
The subsampling the frame is using.
The subsampling the frame is using .
pub fn subsampling(&self) -> Subsampling {
        if !self.subsampling_x && !self.subsampling_y {
            Subsampling::Yuv444
        } else if !self.subsampling_x && self.subsampling_y {
            Subsampling::Yuv440
        } else if self.subsampling_x && !self.subsampling_y {
            Subsampling::Yuv422
        } else {
            Subsampling::Yuv420
        }
    }
pub fn subsampling ( & self ) -> Subsampling { if ! self . subsampling_x && ! self . subsampling_y { Subsampling :: Yuv444 } else if ! self . subsampling_x && self . subsampling_y { Subsampling :: Yuv440 } else if self . subsampling_x && ! self . subsampling_y { Subsampling :: Yuv422 } else { Subsampling :: Yuv420 } }
The subsampling the frame is using.
The subsampling the frame is using .
&self
&self