Searched refs:invmax (Results 1 – 2 of 2) sorted by relevance
81 int invmax = k256Multiply255 / rgb_max; in ColorTemp() local82 dst_red = dst_red * invmax >> 8; in ColorTemp()83 dst_green = dst_green * invmax >> 8; in ColorTemp()84 dst_blue = dst_blue * invmax >> 8; in ColorTemp()
101 int invmax = k256Multiply255 / rgb_max; in HerfSaturate() local102 dst_red = dst_red * invmax >> 8; in HerfSaturate()103 dst_green = dst_green * invmax >> 8; in HerfSaturate()104 dst_blue = dst_blue * invmax >> 8; in HerfSaturate()