Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/tests/unit/
Du_format_compatible_test.c42 const struct util_format_description *src_format_desc; in test_all() local
43 src_format_desc = util_format_description(src_format); in test_all()
44 if (!src_format_desc) { in test_all()
59 if (util_is_format_compatible(src_format_desc, dst_format_desc)) { in test_all()
60 printf("%s -> %s\n", src_format_desc->short_name, dst_format_desc->short_name); in test_all()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.c622 const struct util_format_description *src_format_desc; in util_format_translate() local
630 src_format_desc = util_format_description(src_format); in util_format_translate()
632 if (util_is_format_compatible(src_format_desc, dst_format_desc)) { in util_format_translate()
645 assert(src_x % src_format_desc->block.width == 0); in util_format_translate()
646 assert(src_y % src_format_desc->block.height == 0); in util_format_translate()
649 src_row = (const uint8_t *)src + src_y*src_stride + src_x*(src_format_desc->block.bits/8); in util_format_translate()
656 y_step = MAX2(dst_format_desc->block.height, src_format_desc->block.height); in util_format_translate()
657 x_step = MAX2(dst_format_desc->block.width, src_format_desc->block.width); in util_format_translate()
659 assert(y_step % src_format_desc->block.height == 0); in util_format_translate()
662 src_step = y_step / src_format_desc->block.height * src_stride; in util_format_translate()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blt.c451 const struct util_format_description *src_format_desc = in etna_try_blt_blit() local
454 op.src.swizzle[x] = src_format_desc->swizzle[x]; in etna_try_blt_blit()