Lines Matching defs:energy
65 for (uint32_t energy = 0; energy < kEnergyLevels; energy++) {
66 r_table[energy] = (uint8_t)(red1 + energy * r_delta / kEnergyLevels);
67 g_table[energy] = (uint8_t)(green1 + energy * g_delta / kEnergyLevels);
68 b_table[energy] = (uint8_t)(blue1 + energy * b_delta / kEnergyLevels);
77 uint32_t energy = src->rgba8[0] + src->rgba8[1] + src->rgba8[2];
79 int dst_red = r_table[energy];
80 int dst_green = g_table[energy];
81 int dst_blue = b_table[energy];