Lines Matching refs:luma
741 luma;
743 luma=0.21267f*image->colormap[i].red+0.71526*image->colormap[i].green+
745 image->colormap[i].red=luma+color_correction.saturation*cdl_map[
746 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].red))].red-luma;
747 image->colormap[i].green=luma+color_correction.saturation*cdl_map[
748 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].green))].green-luma;
749 image->colormap[i].blue=luma+color_correction.saturation*cdl_map[
750 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].blue))].blue-luma;
765 luma;
783 luma=0.21267f*GetPixelRed(image,q)+0.71526*GetPixelGreen(image,q)+
785 SetPixelRed(image,ClampToQuantum(luma+color_correction.saturation*
786 (cdl_map[ScaleQuantumToMap(GetPixelRed(image,q))].red-luma)),q);
787 SetPixelGreen(image,ClampToQuantum(luma+color_correction.saturation*
788 (cdl_map[ScaleQuantumToMap(GetPixelGreen(image,q))].green-luma)),q);
789 SetPixelBlue(image,ClampToQuantum(luma+color_correction.saturation*
790 (cdl_map[ScaleQuantumToMap(GetPixelBlue(image,q))].blue-luma)),q);
2937 % whiteness, and hue. And for HCL, use chrome, luma, and hue.
2960 luma,
2964 Increase or decrease color luma, chroma, or hue.
2966 ConvertRGBToHCL(*red,*green,*blue,&hue,&chroma,&luma);
2973 luma*=0.01*percent_luma;
2974 ConvertHCLToRGB(hue,chroma,luma,red,green,blue);
2983 luma,
2987 Increase or decrease color luma, chroma, or hue.
2989 ConvertRGBToHCLp(*red,*green,*blue,&hue,&chroma,&luma);
2996 luma*=0.01*percent_luma;
2997 ConvertHCLpToRGB(hue,chroma,luma,red,green,blue);
3121 luma,
3125 Increase or decrease color luma, chroma, or hue.
3127 ConvertRGBToLCHab(*red,*green,*blue,&luma,&chroma,&hue);
3128 luma*=0.01*percent_luma;
3135 ConvertLCHabToRGB(luma,chroma,hue,red,green,blue);
3144 luma,
3148 Increase or decrease color luma, chroma, or hue.
3150 ConvertRGBToLCHuv(*red,*green,*blue,&luma,&chroma,&hue);
3151 luma*=0.01*percent_luma;
3158 ConvertLCHuvToRGB(luma,chroma,hue,red,green,blue);