Searched refs:ONE_OVER_255 (Results 1 – 2 of 2) sorted by relevance
72 static const float ONE_OVER_255 = 1.f / 255.f; in GrNormalizeByteToFloat() local73 return value * ONE_OVER_255; in GrNormalizeByteToFloat()
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()