Searched refs:RAT_TO_FLOAT (Results 1 – 2 of 2) sorted by relevance
156 sensor_chars->color_filter.rX = RAT_TO_FLOAT(entry.data.r[0]); in GetSensorCharacteristics()157 sensor_chars->color_filter.rY = RAT_TO_FLOAT(entry.data.r[1]); in GetSensorCharacteristics()158 sensor_chars->color_filter.rZ = RAT_TO_FLOAT(entry.data.r[2]); in GetSensorCharacteristics()159 sensor_chars->color_filter.grX = RAT_TO_FLOAT(entry.data.r[3]); in GetSensorCharacteristics()160 sensor_chars->color_filter.grY = RAT_TO_FLOAT(entry.data.r[4]); in GetSensorCharacteristics()161 sensor_chars->color_filter.grZ = RAT_TO_FLOAT(entry.data.r[5]); in GetSensorCharacteristics()162 sensor_chars->color_filter.gbX = RAT_TO_FLOAT(entry.data.r[3]); in GetSensorCharacteristics()163 sensor_chars->color_filter.gbY = RAT_TO_FLOAT(entry.data.r[4]); in GetSensorCharacteristics()164 sensor_chars->color_filter.gbZ = RAT_TO_FLOAT(entry.data.r[5]); in GetSensorCharacteristics()165 sensor_chars->color_filter.bX = RAT_TO_FLOAT(entry.data.r[6]); in GetSensorCharacteristics()[all …]
29 #ifndef RAT_TO_FLOAT30 #define RAT_TO_FLOAT(a) (static_cast<float>(a.numerator) / a.denominator) macro