Home
last modified time | relevance | path

Searched refs:kRedRatio (Results 1 – 2 of 2) sorted by relevance

/gdk/samples/PhotoEditor/jni/
Dgrayscale.cpp50 const int32_t kRedRatio = static_cast<int32_t>((1 << kShiftBits) * 0.21f); in Grayscale() local
64 int32_t dst_color = (kRedRatio * src_red + kGreenRatio * src_green + in Grayscale()
Dtint.cpp50 const int kRedRatio = static_cast<int>(0.8f * (1 << kShiftBits) * 0.21f); in Tint() local
64 int32_t avg = kRedRatio * src->rgba8[0] + kGreenRatio * src->rgba8[1] + in Tint()