Home
last modified time | relevance | path

Searched refs:diff_blue (Results 1 – 4 of 4) sorted by relevance

/dports/print/hplip/hplip-3.20.6/prnt/hpijs/
H A Dcolormatcher_open.cpp122 BYTE diff_blue = b & 0x1f; in Interpolate() local
124 *cyanout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, cyan, INTERPOLATE_5_BITS ); in Interpolate()
125 *magentaout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, magenta, INTERPOLATE_5_BITS ); in Interpolate()
126 *yellowout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, yellow, INTERPOLATE_5_BITS ); in Interpolate()
127 *blackout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, black, INTERPOLATE_5_BITS ); in Interpolate()
174 BYTE diff_blue = b & 0x0f; in Interpolate() local
176 *cyanout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, cyan, INTERPOLATE_4_BITS ); in Interpolate()
177 *magentaout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, magenta, INTERPOLATE_4_BITS ); in Interpolate()
178 *yellowout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, yellow, INTERPOLATE_4_BITS ); in Interpolate()
179 *blackout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, black, INTERPOLATE_4_BITS ); in Interpolate()
/dports/print/hplip/hplip-3.20.6/prnt/hpcups/
H A DColorMatcher.cpp410 BYTE diff_blue = b & 0x1f; in Interpolate() local
412 *cyanout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, cyan, INTERPOLATE_5_BITS ); in Interpolate()
413 *magentaout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, magenta, INTERPOLATE_5_BITS ); in Interpolate()
414 *yellowout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, yellow, INTERPOLATE_5_BITS ); in Interpolate()
415 *blackout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, black, INTERPOLATE_5_BITS ); in Interpolate()
456 BYTE diff_blue = b & 0x0f; in Interpolate() local
458 *cyanout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, cyan, INTERPOLATE_4_BITS ); in Interpolate()
459 *magentaout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, magenta, INTERPOLATE_4_BITS ); in Interpolate()
460 *yellowout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, yellow, INTERPOLATE_4_BITS ); in Interpolate()
461 *blackout = INTERPOLATE_CUBE(diff_red,diff_green,diff_blue, black, INTERPOLATE_4_BITS ); in Interpolate()
/dports/games/openclonk/openclonk-release-8.1-src/planet/System.ocg/
H A DColors.c95 var hue, sat, diff_red, diff_green, diff_blue; in RGB2HSL() local
111 diff_blue = ((255 * (max_val - blue )) / 6 + (255 * diff_val) / 2) / diff_val; in RGB2HSL()
114 hue = diff_blue -diff_green; in RGB2HSL()
116 hue = 255 / 3 + diff_red - diff_blue; in RGB2HSL()
/dports/x11/xterm/xterm-370/
H A Dmisc.c3170 long diff_red, diff_green, diff_blue; in xtermClosestColor() local
3188 diff_blue = ColorDiff(find_blue, res->blue); in xtermClosestColor()
3191 + (diff_blue * diff_blue)); in xtermClosestColor()