Home
last modified time | relevance | path

Searched refs:linear1 (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/tools/unicode/c/genuca/
Dcollationbasedatabuilder.cpp218 int32_t linear1; in diffTwoBytePrimaries() local
223 linear1 = (int32_t)((p1 >> 16) & 0xff) - 4; in diffTwoBytePrimaries()
228 linear1 = (int32_t)((p1 >> 16) & 0xff) - 2; in diffTwoBytePrimaries()
232 linear1 += factor * (int32_t)((p1 >> 24) & 0xff); in diffTwoBytePrimaries()
234 return linear2 - linear1; in diffTwoBytePrimaries()
245 int32_t linear1 = (int32_t)((p1 >> 8) & 0xff) - 2; in diffThreeBytePrimaries() local
250 linear1 += 254 * ((int32_t)((p1 >> 16) & 0xff) - 4); in diffThreeBytePrimaries()
255 linear1 += 254 * ((int32_t)((p1 >> 16) & 0xff) - 2); in diffThreeBytePrimaries()
259 linear1 += factor * (int32_t)((p1 >> 24) & 0xff); in diffThreeBytePrimaries()
261 return linear2 - linear1; in diffThreeBytePrimaries()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dcommon.h114 float3 linear1 = color.rgb / 12.92; in sRGBtoLinear() local
117 float4 linear = float4(factor * linear1 + float3(1.0 - factor) * linear2, color.a); in sRGBtoLinear()
Dmtl_default_shaders_src_autogen.inc145 float3 linear1 = color.rgb / 12.92;
148 float4 linear = float4(factor * linear1 + float3(1.0 - factor) * linear2, color.a);