Searched refs:constant_color (Results 1 – 9 of 9) sorted by relevance
146 red = sf16_to_float(unorm16_to_sf16(scb->constant_color[0] & mask)); in decompress_symbolic_block()147 green = sf16_to_float(unorm16_to_sf16(scb->constant_color[1] & mask)); in decompress_symbolic_block()148 blue = sf16_to_float(unorm16_to_sf16(scb->constant_color[2] & mask)); in decompress_symbolic_block()149 alpha = sf16_to_float(unorm16_to_sf16(scb->constant_color[3] & mask)); in decompress_symbolic_block()175 red = sf16_to_float(scb->constant_color[0]); in decompress_symbolic_block()176 green = sf16_to_float(scb->constant_color[1]); in decompress_symbolic_block()177 blue = sf16_to_float(scb->constant_color[2]); in decompress_symbolic_block()178 alpha = sf16_to_float(scb->constant_color[3]); in decompress_symbolic_block()
231 int constant_color[4]; // constant-color, as FP16 or UINT16. Used for constant-color blocks only. member
75 res->constant_color[i] = pb.data[2 * i + 8] | (pb.data[2 * i + 9] << 8); in physical_to_symbolic()
140 pcb.data[2 * i + 8] = scb.constant_color[i] & 0xFF; in symbolic_to_physical()141 pcb.data[2 * i + 9] = (scb.constant_color[i] >> 8) & 0xFF; in symbolic_to_physical()159 pcb.data[2 * i + 8] = scb.constant_color[i] & 0xFF; in symbolic_to_physical()160 pcb.data[2 * i + 9] = (scb.constant_color[i] >> 8) & 0xFF; in symbolic_to_physical()317 scb.constant_color[i] = pcb.data[2 * i + 8] | (pcb.data[2 * i + 9] << 8); in physical_to_symbolic()
1237 store(color_f16, scb.constant_color); in compress_block()1245 store(color_u16, scb.constant_color); in compress_block()1262 scb.color_values[0][pixel << 1] = scb.constant_color[pixel] & BYTE_MASK; // low byte in compress_block()1263 … scb.color_values[0][(pixel << 1) + 1] = (scb.constant_color[pixel] >> 8) & BYTE_MASK; // high byte in compress_block()1461 store(color_u16, scb.constant_color); in compress_block()
229 vint4 colori(scb.constant_color); in decompress_symbolic_block()253 color = float16_to_float(vint4(scb.constant_color)); in decompress_symbolic_block()
1268 int constant_color[BLOCK_MAX_COMPONENTS]; member
440 static int constant_color(const uint8_t *block, ptrdiff_t stride) in constant_color() function457 int constant = constant_color(block, stride); in compress_color()
523 * `constant_color`