Searched refs:interpolate_channel (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/utils/ |
D | SkTextureCompressor_ASTC.cpp | 997 static int interpolate_channel(int c0, int c1, int weight) { in interpolate_channel() function 1017 interpolate_channel(SkColorGetA(endpoints[0]), SkColorGetA(endpoints[1]), weight), in interpolate_endpoints() 1018 interpolate_channel(SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight), in interpolate_endpoints() 1019 interpolate_channel(SkColorGetG(endpoints[0]), SkColorGetG(endpoints[1]), weight), in interpolate_endpoints() 1020 interpolate_channel(SkColorGetB(endpoints[0]), SkColorGetB(endpoints[1]), weight)); in interpolate_endpoints() 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() 1041 r = interpolate_channel( in interpolate_dual_endpoints() [all …]
|