[][src]Function mmal_sys::mmal_encoding_width_to_stride

pub unsafe extern "C" fn mmal_encoding_width_to_stride(
    encoding: u32,
    width: u32
) -> u32

Convert pixel width to stride for a given pixel encoding

@param encoding The pixel encoding (such as one of the \ref MmalEncodings "pre-defined encodings") @param width The width in pixels. @return The stride in bytes.