Lines Matching refs:y_step
544 unsigned x_step, y_step;
575 y_step = MAX2(dst_format_desc->block.height, src_format_desc->block.height);
577 assert(y_step % dst_format_desc->block.height == 0);
578 assert(y_step % src_format_desc->block.height == 0);
580 dst_step = y_step / dst_format_desc->block.height * dst_stride;
581 src_step = y_step / src_format_desc->block.height * src_stride;
594 assert(y_step == 1);
638 tmp_row = MALLOC(y_step * tmp_stride);
642 while (height >= y_step) {
643 src_format_desc->unpack_rgba_8unorm(tmp_row, tmp_stride, src_row, src_stride, width, y_step);
644 dst_format_desc->pack_rgba_8unorm(dst_row, dst_stride, tmp_row, tmp_stride, width, y_step);
648 height -= y_step;
663 tmp_row = MALLOC(y_step * tmp_stride);
667 while (height >= y_step) {
668 src_format_desc->unpack_rgba_float(tmp_row, tmp_stride, src_row, src_stride, width, y_step);
669 dst_format_desc->pack_rgba_float(dst_row, dst_stride, tmp_row, tmp_stride, width, y_step);
673 height -= y_step;