Lines Matching refs:getChannel
43 static inline deUint8 getChannel (deUint32 color) in getChannel() function
48 static inline deUint8 getChannel (deUint32 color, int channel) in getChannel() function
60 …return Vec4((float)getChannel<0>(color), (float)getChannel<1>(color), (float)getChannel<2>(color),… in toFloatVec()
102 ptr[c] = getChannel(val, c); in writeUnorm8()
115 …const int r = de::max<int>(de::abs((int)getChannel<0>(pa) - (int)getChannel<0>(pb)) - MIN_ERR_THRE… in colorDistSquared()
116 …const int g = de::max<int>(de::abs((int)getChannel<1>(pa) - (int)getChannel<1>(pb)) - MIN_ERR_THRE… in colorDistSquared()
117 …const int b = de::max<int>(de::abs((int)getChannel<2>(pa) - (int)getChannel<2>(pb)) - MIN_ERR_THRE… in colorDistSquared()
118 …const int a = de::max<int>(de::abs((int)getChannel<3>(pa) - (int)getChannel<3>(pb)) - MIN_ERR_THRE… in colorDistSquared()
151 float f = (getChannel(p00, c)*(1.0f-a)*(1.0f-b)) + in bilinearSample()
152 (getChannel(p10, c)*( a)*(1.0f-b)) + in bilinearSample()
153 (getChannel(p01, c)*(1.0f-a)*( b)) + in bilinearSample()
154 (getChannel(p11, c)*( a)*( b)); in bilinearSample()