Lines Matching refs:w

50                   uint x, uint y, uint w, uint h,  in pipe_get_tile_raw()  argument
56 dst_stride = util_format_get_stride(pt->resource->format, w); in pipe_get_tile_raw()
58 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_get_tile_raw()
66 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y); in pipe_get_tile_raw()
78 uint x, uint y, uint w, uint h, in pipe_put_tile_raw() argument
85 src_stride = util_format_get_stride(format, w); in pipe_put_tile_raw()
87 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_raw()
95 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0); in pipe_put_tile_raw()
118 unsigned w, unsigned h, in z16_get_tile_rgba() argument
127 for (j = 0; j < w; j++, pRow += 4) { in z16_get_tile_rgba()
147 unsigned w, unsigned h, in z32_get_tile_rgba() argument
156 for (j = 0; j < w; j++, pRow += 4) { in z32_get_tile_rgba()
174 unsigned w, unsigned h, in s8z24_get_tile_rgba() argument
183 for (j = 0; j < w; j++, pRow += 4) { in s8z24_get_tile_rgba()
201 unsigned w, unsigned h, in z24s8_get_tile_rgba() argument
210 for (j = 0; j < w; j++, pRow += 4) { in z24s8_get_tile_rgba()
227 unsigned w, unsigned h, in s8x24_get_tile_rgba() argument
236 for (j = 0; j < w; j++, pRow += 4) { in s8x24_get_tile_rgba()
254 unsigned w, unsigned h, in x24s8_get_tile_rgba() argument
262 for (j = 0; j < w; j++, pRow += 4) { in x24s8_get_tile_rgba()
278 unsigned w, unsigned h, in s8_get_tile_rgba() argument
286 for (j = 0; j < w; j++, pRow += 4) { in s8_get_tile_rgba()
303 unsigned w, unsigned h, in z32f_get_tile_rgba() argument
311 for (j = 0; j < w; j++, pRow += 4) { in z32f_get_tile_rgba()
328 unsigned w, unsigned h, in z32f_x24s8_get_tile_rgba() argument
336 for (j = 0; j < w; j++, pRow += 4) { in z32f_x24s8_get_tile_rgba()
354 unsigned w, unsigned h, in x32_s8_get_tile_rgba() argument
362 for (j = 0; j < w; j++, pRow += 4) { in x32_s8_get_tile_rgba()
376 uint w, uint h, in pipe_tile_raw_to_rgba() argument
381 z16_get_tile_rgba((ushort *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
384 z32_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
388 s8z24_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
391 s8_get_tile_rgba((unsigned char *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
394 s8x24_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
398 z24s8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
401 x24s8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
404 z32f_get_tile_rgba((float *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
407 z32f_x24s8_get_tile_rgba((float *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
410 x32_s8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); in pipe_tile_raw_to_rgba()
415 src, util_format_get_stride(format, w), in pipe_tile_raw_to_rgba()
416 0, 0, w, h); in pipe_tile_raw_to_rgba()
423 uint w, uint h, in pipe_tile_raw_to_unsigned() argument
428 src, util_format_get_stride(format, w), in pipe_tile_raw_to_unsigned()
429 0, 0, w, h); in pipe_tile_raw_to_unsigned()
435 uint w, uint h, in pipe_tile_raw_to_signed() argument
440 src, util_format_get_stride(format, w), in pipe_tile_raw_to_signed()
441 0, 0, w, h); in pipe_tile_raw_to_signed()
447 uint x, uint y, uint w, uint h, in pipe_get_tile_rgba() argument
450 pipe_get_tile_rgba_format(pipe, pt, x, y, w, h, pt->resource->format, p); in pipe_get_tile_rgba()
457 uint x, uint y, uint w, uint h, in pipe_get_tile_rgba_format() argument
461 unsigned dst_stride = w * 4; in pipe_get_tile_rgba_format()
464 if (u_clip_tile(x, y, &w, &h, &pt->box)) { in pipe_get_tile_rgba_format()
468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format()
477 pipe_get_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_get_tile_rgba_format()
479 pipe_tile_raw_to_rgba(format, packed, w, h, p, dst_stride); in pipe_get_tile_rgba_format()
488 uint x, uint y, uint w, uint h, in pipe_put_tile_rgba() argument
491 pipe_put_tile_rgba_format(pipe, pt, x, y, w, h, pt->resource->format, p); in pipe_put_tile_rgba()
498 uint x, uint y, uint w, uint h, in pipe_put_tile_rgba_format() argument
502 unsigned src_stride = w * 4; in pipe_put_tile_rgba_format()
505 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_rgba_format()
508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format()
537 packed, util_format_get_stride(format, w), in pipe_put_tile_rgba_format()
538 0, 0, w, h); in pipe_put_tile_rgba_format()
541 pipe_put_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_put_tile_rgba_format()
549 uint x, uint y, uint w, uint h, in pipe_put_tile_i_format() argument
553 unsigned src_stride = w * 4; in pipe_put_tile_i_format()
556 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_i_format()
559 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format()
566 packed, util_format_get_stride(format, w), in pipe_put_tile_i_format()
567 0, 0, w, h); in pipe_put_tile_i_format()
569 pipe_put_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_put_tile_i_format()
577 uint x, uint y, uint w, uint h, in pipe_put_tile_ui_format() argument
581 unsigned src_stride = w * 4; in pipe_put_tile_ui_format()
584 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_ui_format()
587 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format()
594 packed, util_format_get_stride(format, w), in pipe_put_tile_ui_format()
595 0, 0, w, h); in pipe_put_tile_ui_format()
597 pipe_put_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_put_tile_ui_format()
608 uint x, uint y, uint w, uint h, in pipe_get_tile_z() argument
611 const uint dstStride = w; in pipe_get_tile_z()
617 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_get_tile_z()
632 memcpy(pDest, ptrc, 4 * w); in pipe_get_tile_z()
644 for (j = 0; j < w; j++) { in pipe_get_tile_z()
659 for (j = 0; j < w; j++) { in pipe_get_tile_z()
673 for (j = 0; j < w; j++) { in pipe_get_tile_z()
686 for (j = 0; j < w; j++) { in pipe_get_tile_z()
708 for (j = 0; j < w; j++) { in pipe_get_tile_z()
737 uint x, uint y, uint w, uint h, in pipe_put_tile_z() argument
740 const uint srcStride = w; in pipe_put_tile_z()
746 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_z()
760 memcpy(pDest, ptrc, 4 * w); in pipe_put_tile_z()
771 for (j = 0; j < w; j++) { in pipe_put_tile_z()
784 for (j = 0; j < w; j++) { in pipe_put_tile_z()
798 for (j = 0; j < w; j++) { in pipe_put_tile_z()
811 for (j = 0; j < w; j++) { in pipe_put_tile_z()
824 for (j = 0; j < w; j++) { in pipe_put_tile_z()
837 for (j = 0; j < w; j++) { in pipe_put_tile_z()
851 for (j = 0; j < w; j++) { in pipe_put_tile_z()
872 uint x, uint y, uint w, uint h, in pipe_get_tile_ui_format() argument
876 unsigned dst_stride = w * 4; in pipe_get_tile_ui_format()
879 if (u_clip_tile(x, y, &w, &h, &pt->box)) { in pipe_get_tile_ui_format()
883 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format()
892 pipe_get_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_get_tile_ui_format()
894 pipe_tile_raw_to_unsigned(format, packed, w, h, p, dst_stride); in pipe_get_tile_ui_format()
903 uint x, uint y, uint w, uint h, in pipe_get_tile_i_format() argument
907 unsigned dst_stride = w * 4; in pipe_get_tile_i_format()
910 if (u_clip_tile(x, y, &w, &h, &pt->box)) { in pipe_get_tile_i_format()
914 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_i_format()
923 pipe_get_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_get_tile_i_format()
925 pipe_tile_raw_to_signed(format, packed, w, h, p, dst_stride); in pipe_get_tile_i_format()