My Project
mmal_util_rational.h File Reference

Go to the source code of this file.

Functions

MMAL_RATIONAL_T mmal_rational_add (MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
 
MMAL_RATIONAL_T mmal_rational_subtract (MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
 
MMAL_RATIONAL_T mmal_rational_multiply (MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)
 
MMAL_RATIONAL_T mmal_rational_divide (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)
 
void mmal_rational_simplify (MMAL_RATIONAL_T *rational)
 
MMAL_BOOL_T mmal_rational_equal (MMAL_RATIONAL_T a, MMAL_RATIONAL_T b)