Searched refs:GrColorUnpackG (Results 1 – 7 of 7) sorted by relevance
69 #define GrColorUnpackG(color) (((color) >> GrColor_SHIFT_G) & 0xFF) macro89 unsigned g = GrColorUnpackG(c); in GrColorIsPMAssert()102 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255; in GrColorToRGBAFloat()121 unsigned g = GrColorUnpackG(color); in GrUnPreMulColor()
123 SkMulDiv255Round(GrColorUnpackG(fColor), alpha), in mulByKnownSingleComponent()141 SkMulDiv255Round(GrColorUnpackG(fColor), GrColorUnpackG(color)), in mulByKnownFourComponents()167 SkMulDiv255Round(preAlpha, GrColorUnpackG(color)), in mulAlphaByKnownFourComponents()264 return *alpha == GrColorUnpackR(color) && *alpha == GrColorUnpackG(color) && in GetAlphaAndCheckSingleChannel()
46 unsigned g = saturated_add(GrColorUnpackG(src), GrColorUnpackG(dst)); in add_colors()
29 GrColorUnpackG(fColor) == colorA && in colorComponentsAllEqual()
1982 (*fDistanceAdjustTable)[GrColorUnpackG(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
50 GrColorUnpackG(color) * scale, in setData()73 bool colorIsSingleChannel = r == GrColorUnpackG(fColor) && r == GrColorUnpackB(fColor) && in onComputeInvariantOutput()
1556 g = GrColorUnpackG(color) * scaleRGB; in onClear()