Home
last modified time | relevance | path

Searched refs:RGBv (Results 1 – 3 of 3) sorted by relevance

/dports/devel/agar/agar-1.5.0/gui/
H A Dhsvpal.c278 void *RGBv; in UpdateHSVFromRGBv() local
287 r = (Uint8)(((float *)RGBv)[0] * 255.0); in UpdateHSVFromRGBv()
288 g = (Uint8)(((float *)RGBv)[1] * 255.0); in UpdateHSVFromRGBv()
289 b = (Uint8)(((float *)RGBv)[2] * 255.0); in UpdateHSVFromRGBv()
292 r = (Uint8)(((double *)RGBv)[0] * 255.0); in UpdateHSVFromRGBv()
297 r = (Uint8)(((int *)RGBv)[0]); in UpdateHSVFromRGBv()
298 g = (Uint8)(((int *)RGBv)[1]); in UpdateHSVFromRGBv()
299 b = (Uint8)(((int *)RGBv)[2]); in UpdateHSVFromRGBv()
302 r = ((Uint8 *)RGBv)[0]; in UpdateHSVFromRGBv()
303 g = ((Uint8 *)RGBv)[1]; in UpdateHSVFromRGBv()
[all …]
/dports/graphics/photoflow/PhotoFlow-8472024f/src/base/
H A Diccstore.cc516 void PF::ICCProfile::get_lightness( float* RGBv, float* Lv, size_t size ) in get_lightness() argument
525 Lv[i] = Y_R * RGBv[pos] + Y_G * RGBv[pos+1] + Y_B * RGBv[pos+2]; in get_lightness()
530 lR = perceptual2linear(RGBv[pos]); in get_lightness()
531 lG = perceptual2linear(RGBv[pos+1]); in get_lightness()
532 lB = perceptual2linear(RGBv[pos+2]); in get_lightness()
H A Diccstore.hh199 void get_lightness( float* RGBv, float* Lv, size_t size );