HomeSort by relevance Sort by last modified time
    Searched refs:format_desc (Results 1 - 25 of 29) sorted by null

1 2

  /external/mesa3d/src/gallium/tests/unit/
u_format_test.c 56 print_packed(const struct util_format_description *format_desc,
65 for (i = 0; i < format_desc->block.bits/8; ++i) {
75 print_unpacked_rgba_doubl(const struct util_format_description *format_desc,
84 for (i = 0; i < format_desc->block.height; ++i) {
85 for (j = 0; j < format_desc->block.width; ++j) {
97 print_unpacked_rgba_float(const struct util_format_description *format_desc,
106 for (i = 0; i < format_desc->block.height; ++i) {
107 for (j = 0; j < format_desc->block.width; ++j) {
119 print_unpacked_rgba_8unorm(const struct util_format_description *format_desc,
128 for (i = 0; i < format_desc->block.height; ++i)
689 const struct util_format_description *format_desc; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_format_soa.c 80 lp_build_format_swizzle_soa(const struct util_format_description *format_desc,
85 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) {
89 if (util_format_has_stencil(format_desc) &&
90 !util_format_has_depth(format_desc)) {
92 swizzle = format_desc->swizzle[1];
96 swizzle = format_desc->swizzle[0];
110 enum pipe_swizzle swizzle = format_desc->swizzle[chan];
295 * \param format_desc the format of the 'packed' incoming pixel vector
302 const struct util_format_description *format_desc,
311 assert(format_desc->layout == UTIL_FORMAT_LAYOUT_PLAIN)
    [all...]
lp_bld_format_aos_array.c 47 * \param format_desc describes format of the image we're fetching from
54 const struct util_format_description *format_desc,
64 boolean pure_integer = format_desc->channel[0].pure_integer;
67 lp_type_from_format_desc(&src_type, format_desc);
112 res = lp_build_format_swizzle_aos(format_desc, &bld, res);
lp_bld_format.h 102 const struct util_format_description *format_desc,
113 const struct util_format_description *format_desc,
124 lp_build_format_swizzle_soa(const struct util_format_description *format_desc,
131 const struct util_format_description *format_desc,
144 const struct util_format_description *format_desc,
160 const struct util_format_description *format_desc,
170 const struct util_format_description *format_desc,
lp_bld_format_aos.c 462 * \param format_desc describes format of the image we're fetching from
471 const struct util_format_description *format_desc,
496 if (format_matches_type(format_desc, type) &&
497 format_desc->block.bits <= type.width * 4 &&
499 util_is_power_of_two(format_desc->block.bits)) {
512 format_desc->block.bits, fetch_type,
515 assert(format_desc->block.bits <= vec_len);
519 return lp_build_format_swizzle_aos(format_desc, &bld, packed);
530 if (format_desc->layout == UTIL_FORMAT_LAYOUT_PLAIN &&
531 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB &
    [all...]
lp_bld_type.h 181 lp_type_from_format_desc(struct lp_type* type, const struct util_format_description *format_desc)
183 assert(format_desc->is_array);
184 assert(!format_desc->is_mixed);
187 type->floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT;
188 type->fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED;
189 type->sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED;
190 type->norm = format_desc->channel[0].normalized;
191 type->width = format_desc->channel[0].size;
192 type->length = format_desc->nr_channels;
lp_bld_format_cached.c 144 const struct util_format_description *format_desc,
161 * Use format_desc->fetch_rgba_8unorm() for each pixel in the block.
176 assert(format_desc->fetch_rgba_8unorm);
188 func_to_pointer((func_pointer) format_desc->fetch_rgba_8unorm));
202 * Invoke format_desc->fetch_rgba_8unorm() for each pixel.
245 const struct util_format_description *format_desc,
267 assert(format_desc->block.width == 4);
268 assert(format_desc->block.height == 4);
284 low_bit = util_logbase2(format_desc->block.bits / 8);
332 update_cached_block(gallivm, format_desc, ptr_addrx, hash_indexx, cache)
    [all...]
lp_bld_sample_soa.c 141 bld->format_desc,
161 bld->format_desc,
185 const struct util_format_description *format_desc = bld->format_desc; local
198 if (chan_s == format_desc->swizzle[chan]) {
1857 const struct util_format_description *format_desc = bld->format_desc; local
1932 const struct util_format_description *format_desc = bld->format_desc; local
3129 const struct util_format_description *format_desc; local
3244 const struct util_format_description *format_desc; local
3412 const struct util_format_description *format_desc; local
    [all...]
lp_bld_sample_aos.c 588 if (util_format_is_rgba8_variant(bld->format_desc)) {
595 bld->format_desc->block.bits,
604 bld->format_desc,
690 bld->format_desc->block.bits/8);
694 bld->format_desc->block.width,
704 bld->format_desc->block.height,
    [all...]
lp_bld_format_yuv.c 485 const struct util_format_description *format_desc,
496 assert(format_desc->layout == UTIL_FORMAT_LAYOUT_SUBSAMPLED);
497 assert(format_desc->block.bits == 32);
498 assert(format_desc->block.width == 2);
499 assert(format_desc->block.height == 1);
506 switch (format_desc->format) {
lp_bld_sample.h 310 const struct util_format_description *format_desc; member in struct:lp_build_sample_context
587 const struct util_format_description *format_desc,
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_screen.c 429 const struct util_format_description *format_desc; local
431 format_desc = util_format_description(format);
432 if (!format_desc)
449 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
451 if (format_desc->nr_channels < 3)
454 else if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB)
457 if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN &&
461 assert(format_desc->block.width == 1);
462 assert(format_desc->block.height == 1);
464 if (format_desc->is_mixed
    [all...]
lp_bld_depth.h 53 lp_depth_type(const struct util_format_description *format_desc,
62 const struct util_format_description *format_desc,
76 const struct util_format_description *format_desc,
87 const struct util_format_description *format_desc,
lp_bld_depth.c 298 lp_depth_type(const struct util_format_description *format_desc,
304 assert(format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS);
305 assert(format_desc->block.width == 1);
306 assert(format_desc->block.height == 1);
309 type.width = format_desc->block.bits;
311 z_swizzle = format_desc->swizzle[0];
313 if (format_desc->channel[z_swizzle].type == UTIL_FORMAT_TYPE_FLOAT) {
316 assert(format_desc->channel[z_swizzle].size == 32);
318 else if(format_desc->channel[z_swizzle].type == UTIL_FORMAT_TYPE_UNSIGNED) {
319 assert(format_desc->block.bits <= 32)
    [all...]
lp_test_format.c 338 const struct util_format_description *format_desc)
342 if (!test_format_float(verbose, fp, format_desc)) {
346 if (!test_format_unorm8(verbose, fp, format_desc)) {
367 const struct util_format_description *format_desc; local
369 format_desc = util_format_description(format);
370 if (!format_desc) {
379 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) {
386 if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC &&
392 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
398 if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC |
    [all...]
lp_state_fs.c 3219 const struct util_format_description *format_desc; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format.c 301 const struct util_format_description *format_desc; local
305 format_desc = util_format_description(format);
307 assert(x % format_desc->block.width == 0);
308 assert(y % format_desc->block.height == 0);
310 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8);
313 format_desc->unpack_rgba_float(dst_row, dst_stride, src_row, src_stride, w, h);
323 const struct util_format_description *format_desc; local
327 format_desc = util_format_description(format);
329 assert(x % format_desc->block.width == 0);
330 assert(y % format_desc->block.height == 0)
342 const struct util_format_description *format_desc; local
361 const struct util_format_description *format_desc; local
382 const struct util_format_description *format_desc; local
403 const struct util_format_description *format_desc; local
424 const struct util_format_description *format_desc; local
445 const struct util_format_description *format_desc; local
    [all...]
u_draw.c 62 const struct util_format_description *format_desc; local
73 format_desc = util_format_description(element->src_format);
74 assert(format_desc->block.width == 1);
75 assert(format_desc->block.height == 1);
76 assert(format_desc->block.bits % 8 == 0);
77 format_size = format_desc->block.bits/8;
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_screen.c 365 const struct util_format_description *format_desc; local
377 format_desc = util_format_description(format);
378 if (!format_desc)
392 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
400 if (format_desc->block.width != 1 ||
401 format_desc->block.height != 1)
406 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
410 if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
411 format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
434 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ETC &
    [all...]
sp_buffer.c 60 const struct util_format_description *format_desc = util_format_description(PIPE_FORMAT_R32_UINT); local
92 format_desc->fetch_rgba_uint(sdata, data_ptr, 0, 0);
118 const struct util_format_description *format_desc = util_format_description(PIPE_FORMAT_R32_UINT); local
148 format_desc->pack_rgba_uint(dptr, 0, temp, 0, 1, 1);
168 const struct util_format_description *format_desc = util_format_description(PIPE_FORMAT_R32_UINT); local
174 format_desc->fetch_rgba_uint(temp, dptr, 0, 0);
273 format_desc->pack_rgba_uint(dptr, 0, temp, 0, 1, 1);
  /external/mesa3d/src/gallium/drivers/virgl/
virgl_screen.c 361 const struct util_format_description *format_desc; local
364 format_desc = util_format_description(format);
365 if (!format_desc)
379 if (format_desc->channel[i].type != UTIL_FORMAT_TYPE_VOID) {
387 if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN)
390 if (format_desc->channel[i].type == UTIL_FORMAT_TYPE_FIXED)
408 const struct util_format_description *format_desc; local
421 format_desc = util_format_description(format);
422 if (!format_desc)
440 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS
    [all...]
  /external/autotest/client/site_tests/camera_V4L2/src/
media_v4l2_device.cc 661 v4l2_fmtdesc format_desc; local
662 memset(&format_desc, 0, sizeof(format_desc));
663 format_desc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
664 format_desc.index = i;
665 if (-1 == DoIoctl(VIDIOC_ENUM_FMT, &format_desc)) {
675 i+1, format_desc.description,
676 (format_desc.pixelformat >> 0) & 0xff,
677 (format_desc.pixelformat >> 8) & 0xff,
678 (format_desc.pixelformat >> 16) & 0xff
688 v4l2_fmtdesc format_desc; local
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/
swr_screen.cpp 88 const struct util_format_description *format_desc; local
99 format_desc = util_format_description(format);
100 if (!format_desc)
113 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
124 if (format_desc->block.width != 1 || format_desc->block.height != 1)
129 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
136 if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
137 format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
141 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ETC &
    [all...]
  /external/mesa3d/src/gallium/auxiliary/translate/
translate_generic.c 789 const struct util_format_description *format_desc = local
792 assert(format_desc);
796 if (format_desc->channel[0].pure_integer) {
800 if (!is_legal_int_format_combo(format_desc, out_format_desc)) {
805 if (format_desc->channel[0].type == UTIL_FORMAT_TYPE_SIGNED) {
806 assert(format_desc->fetch_rgba_sint);
807 tg->attrib[i].fetch = (fetch_func)format_desc->fetch_rgba_sint;
809 assert(format_desc->fetch_rgba_uint);
810 tg->attrib[i].fetch = (fetch_func)format_desc->fetch_rgba_uint;
813 assert(format_desc->fetch_rgba_float)
    [all...]
  /external/mesa3d/src/amd/vulkan/
radv_pipeline.c 1391 const struct vk_format_description *format_desc; local
    [all...]

Completed in 442 milliseconds

1 2