Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format.c661 unsigned x_step, y_step; in util_format_translate() local
692 y_step = MAX2(dst_format_desc->block.height, src_format_desc->block.height); in util_format_translate()
694 assert(y_step % dst_format_desc->block.height == 0); in util_format_translate()
695 assert(y_step % src_format_desc->block.height == 0); in util_format_translate()
697 dst_step = y_step / dst_format_desc->block.height * dst_stride; in util_format_translate()
698 src_step = y_step / src_format_desc->block.height * src_stride; in util_format_translate()
711 assert(y_step == 1); in util_format_translate()
754 tmp_row = malloc((uint64_t)y_step * tmp_stride); in util_format_translate()
758 while (height >= y_step) { in util_format_translate()
759 …ormat_unpack_rgba_8unorm_rect(src_format, tmp_row, tmp_stride, src_row, src_stride, width, y_step); in util_format_translate()
[all …]