Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_decompress_symbolic.cpp146 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()
Dastc_codec_internals.h231 int constant_color[4]; // constant-color, as FP16 or UINT16. Used for constant-color blocks only. member
Dastc_symbolic_physical.cpp75 res->constant_color[i] = pb.data[2 * i + 8] | (pb.data[2 * i + 9] << 8); in physical_to_symbolic()
/third_party/astc-encoder/Source/
Dastcenc_symbolic_physical.cpp140 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()
Dastcenc_compress_symbolic.cpp1237 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()
Dastcenc_decompress_symbolic.cpp229 vint4 colori(scb.constant_color); in decompress_symbolic_block()
253 color = float16_to_float(vint4(scb.constant_color)); in decompress_symbolic_block()
Dastcenc_internal.h1268 int constant_color[BLOCK_MAX_COMPONENTS]; member
/third_party/ffmpeg/libavcodec/
Dtexturedspenc.c440 static int constant_color(const uint8_t *block, ptrdiff_t stride) in constant_color() function
457 int constant = constant_color(block, stride); in compress_color()
/third_party/vk-gl-cts/external/amber/src/docs/
Damber_script.md523 * `constant_color`