Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/tests/format/
Du_format_test.c57 print_packed(const struct util_format_description *format_desc, in print_packed() argument
66 for (i = 0; i < format_desc->block.bits/8; ++i) { in print_packed()
76 print_unpacked_rgba_doubl(const struct util_format_description *format_desc, in print_unpacked_rgba_doubl() argument
85 for (i = 0; i < format_desc->block.height; ++i) { in print_unpacked_rgba_doubl()
86 for (j = 0; j < format_desc->block.width; ++j) { in print_unpacked_rgba_doubl()
98 print_unpacked_rgba_float(const struct util_format_description *format_desc, in print_unpacked_rgba_float() argument
107 for (i = 0; i < format_desc->block.height; ++i) { in print_unpacked_rgba_float()
108 for (j = 0; j < format_desc->block.width; ++j) { in print_unpacked_rgba_float()
120 print_unpacked_rgba_8unorm(const struct util_format_description *format_desc, in print_unpacked_rgba_8unorm() argument
129 for (i = 0; i < format_desc->block.height; ++i) { in print_unpacked_rgba_8unorm()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format.c414 const struct util_format_description *format_desc; in util_format_read_4() local
417 format_desc = util_format_description(format); in util_format_read_4()
419 assert(x % format_desc->block.width == 0); in util_format_read_4()
420 assert(y % format_desc->block.height == 0); in util_format_read_4()
422 src_row = (const uint8_t *)src + (uint64_t)y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4()
434 const struct util_format_description *format_desc; in util_format_write_4() local
439 format_desc = util_format_description(format); in util_format_write_4()
441 assert(x % format_desc->block.width == 0); in util_format_write_4()
442 assert(y % format_desc->block.height == 0); in util_format_write_4()
444 dst_row = (uint8_t *)dst + (uint64_t)y*dst_stride + x*(format_desc->block.bits/8); in util_format_write_4()
[all …]
Du_format.h1674 util_format_fits_8unorm(const struct util_format_description *format_desc) ATTRIBUTE_CONST;