///
/// Accessor function for the YUVLayout. It is difficult to describe the color
/// channels of a YUV pixel format since YUV color model uses macro pixels.
/// Instead the layout of the pixels are stored as an enum.
Accessor function for the YUVLayout. It is difficult to describe the color
channels of a YUV pixel format since YUV color model uses macro pixels.
Instead the layout of the pixels are stored as an enum.
Accessor function for the YUVLayout . It is difficult to describe the color channels of a YUV pixel format since YUV color model uses macro pixels . Instead the layout of the pixels are stored as an enum .
pub fn yuv_layout(&self) -> YUVLayout {
        let (obj_data, funcs) = self.get_pixel_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).yuv_layout)(obj_data);
            let ret_val = { transmute::<u32, YUVLayout>(ret_val) };
            ret_val
        }
    }
pub fn yuv_layout ( & self ) -> YUVLayout { let ( obj_data , funcs ) = self . get_pixel_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . yuv_layout ) ( obj_data ) ; let ret_val = { transmute :: < u32 , YUVLayout > ( ret_val ) } ; ret_val } }
Accessor function for the YUVLayout.
Accessor function for the YUVLayout .
&self