Lines Matching refs:luma
1266 luma; in ColorDecisionListImage() local
1268 luma=0.21267f*image->colormap[i].red+0.71526*image->colormap[i].green+ in ColorDecisionListImage()
1270 image->colormap[i].red=luma+color_correction.saturation*cdl_map[ in ColorDecisionListImage()
1271 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].red))].red-luma; in ColorDecisionListImage()
1272 image->colormap[i].green=luma+color_correction.saturation*cdl_map[ in ColorDecisionListImage()
1273 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].green))].green-luma; in ColorDecisionListImage()
1274 image->colormap[i].blue=luma+color_correction.saturation*cdl_map[ in ColorDecisionListImage()
1275 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].blue))].blue-luma; in ColorDecisionListImage()
1290 luma; in ColorDecisionListImage() local
1308 luma=0.21267f*GetPixelRed(image,q)+0.71526*GetPixelGreen(image,q)+ in ColorDecisionListImage()
1310 SetPixelRed(image,ClampToQuantum(luma+color_correction.saturation* in ColorDecisionListImage()
1311 (cdl_map[ScaleQuantumToMap(GetPixelRed(image,q))].red-luma)),q); in ColorDecisionListImage()
1312 SetPixelGreen(image,ClampToQuantum(luma+color_correction.saturation* in ColorDecisionListImage()
1313 (cdl_map[ScaleQuantumToMap(GetPixelGreen(image,q))].green-luma)),q); in ColorDecisionListImage()
1314 SetPixelBlue(image,ClampToQuantum(luma+color_correction.saturation* in ColorDecisionListImage()
1315 (cdl_map[ScaleQuantumToMap(GetPixelBlue(image,q))].blue-luma)),q); in ColorDecisionListImage()
3447 luma, in ModulateHCL() local
3453 ConvertRGBToHCL(*red,*green,*blue,&hue,&chroma,&luma); in ModulateHCL()
3456 luma*=0.01*percent_luma; in ModulateHCL()
3457 ConvertHCLToRGB(hue,chroma,luma,red,green,blue); in ModulateHCL()
3466 luma, in ModulateHCLp() local
3472 ConvertRGBToHCLp(*red,*green,*blue,&hue,&chroma,&luma); in ModulateHCLp()
3475 luma*=0.01*percent_luma; in ModulateHCLp()
3476 ConvertHCLpToRGB(hue,chroma,luma,red,green,blue); in ModulateHCLp()
3580 luma, in ModulateLCHab() local
3586 ConvertRGBToLCHab(*red,*green,*blue,&luma,&chroma,&hue); in ModulateLCHab()
3587 luma*=0.01*percent_luma; in ModulateLCHab()
3590 ConvertLCHabToRGB(luma,chroma,hue,red,green,blue); in ModulateLCHab()
3599 luma, in ModulateLCHuv() local
3605 ConvertRGBToLCHuv(*red,*green,*blue,&luma,&chroma,&hue); in ModulateLCHuv()
3606 luma*=0.01*percent_luma; in ModulateLCHuv()
3609 ConvertLCHuvToRGB(luma,chroma,hue,red,green,blue); in ModulateLCHuv()