Searched refs:RAT_TO_FLOAT (Results 1 – 2 of 2) sorted by relevance
303 sensor_chars->color_filter.rX = RAT_TO_FLOAT(entry.data.r[0]); in GetSensorCharacteristics()304 sensor_chars->color_filter.rY = RAT_TO_FLOAT(entry.data.r[1]); in GetSensorCharacteristics()305 sensor_chars->color_filter.rZ = RAT_TO_FLOAT(entry.data.r[2]); in GetSensorCharacteristics()306 sensor_chars->color_filter.grX = RAT_TO_FLOAT(entry.data.r[3]); in GetSensorCharacteristics()307 sensor_chars->color_filter.grY = RAT_TO_FLOAT(entry.data.r[4]); in GetSensorCharacteristics()308 sensor_chars->color_filter.grZ = RAT_TO_FLOAT(entry.data.r[5]); in GetSensorCharacteristics()309 sensor_chars->color_filter.gbX = RAT_TO_FLOAT(entry.data.r[3]); in GetSensorCharacteristics()310 sensor_chars->color_filter.gbY = RAT_TO_FLOAT(entry.data.r[4]); in GetSensorCharacteristics()311 sensor_chars->color_filter.gbZ = RAT_TO_FLOAT(entry.data.r[5]); in GetSensorCharacteristics()312 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