Searched refs:RGBv (Results 1 – 3 of 3) sorted by relevance
278 void *RGBv; in UpdateHSVFromRGBv() local287 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 …]
516 void PF::ICCProfile::get_lightness( float* RGBv, float* Lv, size_t size ) in get_lightness() argument525 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()
199 void get_lightness( float* RGBv, float* Lv, size_t size );