Lines Matching defs:format
37 #include "util/format/u_format.h"
38 #include "util/format/u_format_bptc.h"
55 dst_stride = util_format_get_stride(pt->resource->format, w);
60 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y);
73 enum pipe_format format = pt->resource->format;
76 src_stride = util_format_get_stride(format, w);
81 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0);
361 enum pipe_format format, const void *p)
371 if (util_format_is_depth_or_stencil(format))
374 util_format_write_4(format,
384 enum pipe_format format,
394 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format));
399 if (format == PIPE_FORMAT_UYVY || format == PIPE_FORMAT_YUYV) {
405 switch (format) {
439 util_format_read_4(format,
441 packed, util_format_get_stride(format, w),