Searched refs:avg (Results 1 – 1 of 1) sorted by relevance
64 int32_t avg = kRedRatio * src->rgba8[0] + kGreenRatio * src->rgba8[1] + in Tint() local67 int32_t dst_red = (avg + tint_red) >> kShiftBits; in Tint()68 int32_t dst_green = (avg + tint_green) >> kShiftBits; in Tint()69 int32_t dst_blue = (avg + tint_blue) >> kShiftBits; in Tint()