[−][src]Function mmal_sys::mmal_encoding_stride_to_width
pub unsafe extern "C" fn mmal_encoding_stride_to_width(
encoding: u32,
stride: u32
) -> u32
Convert stride to pixel width for a given pixel encoding.
@param encoding The pixel encoding (such as one of the \ref MmalEncodings "pre-defined encodings") @param stride The stride in bytes. @return The width in pixels.