Searched refs:ONE_OVER_255 (Results 1 – 4 of 4) sorted by relevance
71 static const float ONE_OVER_255 = 1.f / 255.f; in GrNormalizeByteToFloat() local72 return value * ONE_OVER_255; in GrNormalizeByteToFloat()
70 static const float ONE_OVER_255 = 1.f / 255.f; in GrNormalizeByteToFloat() local71 return value * ONE_OVER_255; in GrNormalizeByteToFloat()
649 const float ONE_OVER_255 = 1.f / 255; in ColorConverter() local652 SkColorGetR(colors[i]) * ONE_OVER_255, in ColorConverter()653 SkColorGetG(colors[i]) * ONE_OVER_255, in ColorConverter()654 SkColorGetB(colors[i]) * ONE_OVER_255, in ColorConverter()655 SkColorGetA(colors[i]) * ONE_OVER_255 }); in ColorConverter()
830 const float ONE_OVER_255 = 1.f / 255; in ColorConverter() local833 SkColorGetR(colors[i]) * ONE_OVER_255, in ColorConverter()834 SkColorGetG(colors[i]) * ONE_OVER_255, in ColorConverter()835 SkColorGetB(colors[i]) * ONE_OVER_255, in ColorConverter()836 SkColorGetA(colors[i]) * ONE_OVER_255 }); in ColorConverter()