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

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format.c604 unsigned x_step, y_step; local in function:util_format_translate
635 y_step = MAX2(dst_format_desc->block.height, src_format_desc->block.height);
637 assert(y_step % dst_format_desc->block.height == 0);
638 assert(y_step % src_format_desc->block.height == 0);
640 dst_step = y_step / dst_format_desc->block.height * dst_stride;
641 src_step = y_step / src_format_desc->block.height * src_stride;
654 assert(y_step == 1);
699 tmp_row = MALLOC(y_step * tmp_stride);
703 while (height >= y_step) {
704 src_format_desc->unpack_rgba_8unorm(tmp_row, tmp_stride, src_row, src_stride, width, y_step);
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format.c656 unsigned x_step, y_step; local in function:util_format_translate
687 y_step = MAX2(dst_format_desc->block.height, src_format_desc->block.height);
689 assert(y_step % dst_format_desc->block.height == 0);
690 assert(y_step % src_format_desc->block.height == 0);
692 dst_step = y_step / dst_format_desc->block.height * dst_stride;
693 src_step = y_step / src_format_desc->block.height * src_stride;
706 assert(y_step == 1);
749 tmp_row = malloc(y_step * tmp_stride);
753 while (height >= y_step) {
754 util_format_unpack_rgba_8unorm_rect(src_format, tmp_row, tmp_stride, src_row, src_stride, width, y_step);
[all...]

Completed in 89 milliseconds