Home
last modified time | relevance | path

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

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_color_unquantize.cpp275 int lum1 = color_unquantization_tables[quantization_level][input[1]]; in luminance_unpack() local
277 *output1 = uint4(lum1, lum1, lum1, 255); in luminance_unpack()
305 int lum1 = color_unquantization_tables[quantization_level][input[1]]; in luminance_alpha_unpack() local
309 *output1 = uint4(lum1, lum1, lum1, alpha1); in luminance_alpha_unpack()
319 int lum1 = color_unquantization_tables[quantization_level][input[1]]; in luminance_alpha_delta_unpack() local
323 lum0 |= (lum1 & 0x80) << 1; in luminance_alpha_delta_unpack()
325 lum1 &= 0x7F; in luminance_alpha_delta_unpack()
327 if (lum1 & 0x40) in luminance_alpha_delta_unpack()
328 lum1 -= 0x80; in luminance_alpha_delta_unpack()
333 lum1 >>= 1; in luminance_alpha_delta_unpack()
[all …]