[][src]Function mmal_sys::mmal_format_compare

pub unsafe extern "C" fn mmal_format_compare(
    format_1: *mut MMAL_ES_FORMAT_T,
    format_2: *mut MMAL_ES_FORMAT_T
) -> u32

Compare 2 format structures and returns a set of flags describing the differences. The result will be zero if the structures are the same, or a combination of one or more of the \ref comparisonflags "Comparison flags" if different.

@param format_1 first \ref MMAL_ES_FORMAT_T to compare @param format_2 second \ref MMAL_ES_FORMAT_T to compare @return set of flags describing the differences