28 #ifndef MMAL_UTIL_RATIONAL_H 29 #define MMAL_UTIL_RATIONAL_H
void mmal_rational_simplify(MMAL_RATIONAL_T *rational)
MMAL_RATIONAL_T mmal_rational_divide(MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
MMAL_RATIONAL_T mmal_rational_add(MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
int32_t mmal_rational_to_fixed_16_16(MMAL_RATIONAL_T rational)
MMAL_RATIONAL_T mmal_rational_from_fixed_16_16(int32_t fixed)
MMAL_RATIONAL_T mmal_rational_multiply(MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
MMAL_RATIONAL_T mmal_rational_subtract(MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
MMAL_BOOL_T mmal_rational_equal(MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)