Home
last modified time | relevance | path

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

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_symbolic_physical.cpp161 int color_formats[4]; in physical_to_symbolic() local
165 color_formats[0] = read_bits(4, 13, pb.data); in physical_to_symbolic()
178 color_formats[i] = (encoded_type >> 2) & 0xF; in physical_to_symbolic()
190 color_formats[i] = (((encoded_type >> bitpos) & 1) + baseclass) << 2; in physical_to_symbolic()
195 color_formats[i] |= (encoded_type >> bitpos) & 3; in physical_to_symbolic()
203 res->color_formats[i] = color_formats[i]; in physical_to_symbolic()
209 int endpoint_class = color_formats[i] >> 2; in physical_to_symbolic()
238 int vals = 2 * (color_formats[i] >> 2) + 2; in physical_to_symbolic()
Dastc_codec_internals.h269 int color_formats[4]; // color format for each endpoint color pair. member
Dastc_decompress_symbolic.cpp224 scb->color_formats[i], in decompress_symbolic_block()
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c228 add_color_format_variants(const struct stw_pf_color_info *color_formats, in add_color_format_variants() argument
257 if (!screen->is_format_supported(screen, color_formats[cfmt].format, in add_color_format_variants()
277 stw_pixelformat_add(stw_dev, extended, &color_formats[cfmt], in add_color_format_variants()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c1263 static const enum pipe_format color_formats[] = { in st_init_extensions() enum
1284 get_max_samples_for_formats(screen, ARRAY_SIZE(color_formats), in st_init_extensions()
1285 color_formats, 16, in st_init_extensions()
1289 get_max_samples_for_formats(screen, ARRAY_SIZE(color_formats), in st_init_extensions()
1290 color_formats, 16, in st_init_extensions()
1294 get_max_samples_for_formats(screen, ARRAY_SIZE(color_formats), in st_init_extensions()
1295 color_formats, consts->MaxSamples, in st_init_extensions()
1319 ARRAY_SIZE(color_formats), in st_init_extensions()
1320 color_formats, 16, in st_init_extensions()