Searched refs:RAT_TO_FLOAT (Results 1 – 2 of 2) sorted by relevance
149 sensor_chars->color_filter.rX = RAT_TO_FLOAT(entry.data.r[0]); in GetSensorCharacteristics()150 sensor_chars->color_filter.rY = RAT_TO_FLOAT(entry.data.r[1]); in GetSensorCharacteristics()151 sensor_chars->color_filter.rZ = RAT_TO_FLOAT(entry.data.r[2]); in GetSensorCharacteristics()152 sensor_chars->color_filter.grX = RAT_TO_FLOAT(entry.data.r[3]); in GetSensorCharacteristics()153 sensor_chars->color_filter.grY = RAT_TO_FLOAT(entry.data.r[4]); in GetSensorCharacteristics()154 sensor_chars->color_filter.grZ = RAT_TO_FLOAT(entry.data.r[5]); in GetSensorCharacteristics()155 sensor_chars->color_filter.gbX = RAT_TO_FLOAT(entry.data.r[3]); in GetSensorCharacteristics()156 sensor_chars->color_filter.gbY = RAT_TO_FLOAT(entry.data.r[4]); in GetSensorCharacteristics()157 sensor_chars->color_filter.gbZ = RAT_TO_FLOAT(entry.data.r[5]); in GetSensorCharacteristics()158 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