Searched refs:lum1 (Results 1 – 1 of 1) sorted by relevance
44 static void generate_latc_palette(uint8_t palette[], uint8_t lum0, uint8_t lum1) { in generate_latc_palette() argument46 palette[1] = lum1; in generate_latc_palette()47 if (lum0 > lum1) { in generate_latc_palette()49 palette[i+1] = ((7-i)*lum0 + i*lum1) / 7; in generate_latc_palette()53 palette[i+1] = ((5-i)*lum0 + i*lum1) / 5; in generate_latc_palette()409 uint8_t lum1 = (block >> 8) & 0xFF; in decompress_latc_block() local412 generate_latc_palette(palette, lum0, lum1); in decompress_latc_block()