Searched refs:green_maxd (Results 1 – 2 of 2) sorted by relevance
/dports/multimedia/lives/lives-3.2.0/src/ |
H A D | plugins.c | 3215 …double red_mind = 0., red_maxd = 1., green_mind = 0., green_maxd = 1., blue_mind = 0., blue_maxd =… in weed_params_to_rfx() local 3460 red_maxd = green_maxd = blue_maxd = weed_get_double_value(wtmpl, WEED_LEAF_MAX, NULL); in weed_params_to_rfx() 3464 green_maxd = maxd[1]; in weed_params_to_rfx() 3479 if (colsd[1] > green_maxd) colsd[1] = green_maxd; in weed_params_to_rfx() 3483 cols[1] = (colsd[1] - green_mind) / (green_maxd - green_mind) * 255. + .49999; in weed_params_to_rfx() 3507 if (colsd[1] > green_maxd) colsd[1] = green_maxd; in weed_params_to_rfx() 3510 cols[1] = (colsd[1] - green_mind) / (green_maxd - green_mind) * 255. + .49999; in weed_params_to_rfx()
|
H A D | paramwindow.c | 3375 double red_maxd, green_maxd, blue_maxd; in update_visual_params() local 3552 … red_maxd = green_maxd = blue_maxd = weed_get_double_value(paramtmpl, WEED_LEAF_MAX, &error); in update_visual_params() 3556 green_maxd = maxds[1]; in update_visual_params() 3568 colsd[1] = (colsd[1] - green_mind) / (green_maxd - green_mind) * 255. + .5; in update_visual_params() 3575 if (colsd[1] > green_maxd) colsd[1] = green_maxd; in update_visual_params()
|