Searched refs:weight0 (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/utils/ |
D | SkTextureCompressor_ASTC.cpp | 1032 const SkColor endpoints[2], int weight0, int weight1, int plane) { in interpolate_dual_endpoints() argument 1033 int a = interpolate_channel(SkColorGetA(endpoints[0]), SkColorGetA(endpoints[1]), weight0); in interpolate_dual_endpoints() 1034 int r = interpolate_channel(SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight0); in interpolate_dual_endpoints() 1035 int g = interpolate_channel(SkColorGetG(endpoints[0]), SkColorGetG(endpoints[1]), weight0); in interpolate_dual_endpoints() 1036 int b = interpolate_channel(SkColorGetB(endpoints[0]), SkColorGetB(endpoints[1]), weight0); in interpolate_dual_endpoints()
|