[][src]Function mmal_sys::mmal_util_rgb_order_fixed

pub unsafe extern "C" fn mmal_util_rgb_order_fixed(
    port: *mut MMAL_PORT_T
) -> c_int

On FW prior to June 2016, camera and video_splitter had BGR24 and RGB24 support reversed. This is now fixed, and this function will return whether the FW has the fix or not.

@param port MMAL port to check (on camera or video_splitter) @return 0 if old firmware, 1 if new.