Searched refs:kRedRatio (Results 1 – 2 of 2) sorted by relevance
50 const int32_t kRedRatio = static_cast<int32_t>((1 << kShiftBits) * 0.21f); in Grayscale() local64 int32_t dst_color = (kRedRatio * src_red + kGreenRatio * src_green + in Grayscale()
50 const int kRedRatio = static_cast<int>(0.8f * (1 << kShiftBits) * 0.21f); in Tint() local64 int32_t avg = kRedRatio * src->rgba8[0] + kGreenRatio * src->rgba8[1] + in Tint()