/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_rgtc.c | 49 const unsigned h = MIN2(height - y, bh); in util_format_rgtc1_unorm_unpack_r_8unorm() 51 const unsigned w = MIN2(width - x, bw); in util_format_rgtc1_unorm_unpack_r_8unorm() 73 const unsigned h = MIN2(height - y, bh); in util_format_rgtc1_unorm_unpack_rgba_8unorm() 75 const unsigned w = MIN2(width - x, bw); in util_format_rgtc1_unorm_unpack_rgba_8unorm() 121 const unsigned h = MIN2(height - y, 4); in util_format_rgtc1_unorm_unpack_rgba_float() 123 const unsigned w = MIN2(width - x, 4); in util_format_rgtc1_unorm_unpack_rgba_float() 201 const unsigned h = MIN2(height - y, bh); in util_format_rgtc1_snorm_unpack_r_8snorm() 203 const unsigned w = MIN2(width - x, bw); in util_format_rgtc1_snorm_unpack_r_8snorm() 253 const unsigned h = MIN2(height - y, 4); in util_format_rgtc1_snorm_unpack_rgba_float() 255 const unsigned w = MIN2(width - x, 4); in util_format_rgtc1_snorm_unpack_rgba_float() [all …]
|
D | format_utils.h | 152 return MIN2(src, u_uintN_max(dst_size)); in _mesa_unsigned_to_unsigned() 158 return MIN2(src, (unsigned)u_intN_max(dst_size)); in _mesa_unsigned_to_signed()
|
D | texcompress_etc_tmp.h | 156 for (j = 0; j < MIN2(bh, height - y); j++) { in etc1_unpack_rgba8888() 158 for (i = 0; i < MIN2(bw, width - x); i++) { in etc1_unpack_rgba8888()
|
D | texcompress_bptc_tmp.h | 324 int n_bits_in_byte = MIN2(n_bits, 8 - bit_index); in extract_bits() 340 n_bits_in_byte = MIN2(n_bits, 8); in extract_bits() 809 decompress_rgba_unorm_block(MIN2(width - x, BLOCK_SIZE), in decompress_rgba_unorm() 810 MIN2(height - y, BLOCK_SIZE), in decompress_rgba_unorm() 1148 decompress_rgb_float_block(MIN2(width - x, BLOCK_SIZE), in decompress_rgb_float() 1149 MIN2(height - y, BLOCK_SIZE), in decompress_rgb_float() 1277 decompress_rgb_fp16_block(MIN2(width - x, BLOCK_SIZE), in decompress_rgb_fp16() 1278 MIN2(height - y, BLOCK_SIZE), in decompress_rgb_fp16() 1584 compress_rgba_unorm_block(MIN2(width - x, BLOCK_SIZE), in compress_rgba_unorm() 1585 MIN2(height - y, BLOCK_SIZE), in compress_rgba_unorm() [all …]
|
D | u_format_s3tc.c | 133 const unsigned h = MIN2(height - y, bh); in util_format_dxtn_rgb_unpack_rgba_8unorm() 135 const unsigned w = MIN2(width - x, bw); in util_format_dxtn_rgb_unpack_rgba_8unorm()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | streaming-load-memcpy.c | 59 memcpy(d, s, MIN2(bytes_before_alignment_boundary, len)); in util_streaming_load_memcpy() 63 len -= MIN2(bytes_before_alignment_boundary, len); in util_streaming_load_memcpy()
|
D | os_memory_aligned.h | 120 const size_t copySize = MIN2(oldsize, newsize); in os_realloc_aligned()
|
D | macros.h | 366 #define MIN2( A, B ) ( (A)<(B) ? (A) : (B) ) macro 372 #define MIN3( A, B, C ) ((A) < (B) ? MIN2(A, C) : MIN2(B, C))
|
D | u_math.h | 631 #define MIN2( A, B ) ( (A)<(B) ? (A) : (B) ) macro 634 #define MIN3( A, B, C ) ((A) < (B) ? MIN2(A, C) : MIN2(B, C))
|
D | u_queue.c | 369 num_threads = MIN2(num_threads, queue->max_threads); in util_queue_adjust_num_threads() 429 name_len = MIN2(name_len, max_chars); in util_queue_init() 433 process_len = MIN2(process_len, max_chars - name_len - 1); in util_queue_init()
|
D | u_idalloc.c | 149 buf->lowest_free_idx = MIN2(idx, buf->lowest_free_idx); in util_idalloc_free()
|
D | u_thread.c | 82 const size_t len = MIN2(strlen(name), ARRAY_SIZE(buf) - 1); in u_thread_setname()
|
D | os_misc.c | 343 *size = MIN2(mem_available, rl.rlim_cur); in os_get_available_system_memory()
|
D | register_allocate.c | 335 int end = MIN2(regs->count, rc + class_c->contig_len); in ra_set_finalize() 486 unsigned k2 = MIN2(n1, n2); in ra_get_adjacency_bit_index() 873 int end = MIN2(g->regs->count, n2->reg + n2c->contig_len); in ra_compute_available_regs()
|
D | bitset.h | 449 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size); in __bitset_next_range()
|
D | ralloc.c | 1160 memcpy(new_ptr, old, MIN2(old_size, new_size)); in linear_realloc()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common_queue.h | 127 abstime.tv_sec = MIN2(abs_sec, INT_TYPE_MAX(abstime.tv_sec)); in wsi_queue_pull()
|
D | wsi_common_x11.c | 932 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in x11_surface_get_present_modes() 1352 rel_timeout = MIN2(poll_busywait_ns, abs_timeout - current_time); in x11_poll_for_special_event() 1367 poll_busywait_ns = MIN2(10ull * 1000ull * 1000ull, poll_busywait_ns); in x11_poll_for_special_event() 1681 int this_lines = MIN2(num_lines, y_todo); in x11_present_to_x11_sw() 2022 min_image_count = MIN2(min_image_count, chain->base.image_count); in x11_manage_fifo_queues()
|
D | wsi_common_headless.c | 224 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in wsi_headless_surface_get_present_modes()
|
D | wsi_common_wayland.c | 792 MIN2(version, ZWP_LINUX_DMABUF_V1_GET_DEFAULT_FEEDBACK_SINCE_VERSION)); in registry_handle_global() 1299 *pPresentModeCount = MIN2(*pPresentModeCount, present_modes_count); in wsi_wl_surface_get_present_modes()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/ |
D | device_select_wayland.c | 87 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface, MIN2(version, 2)); in device_select_registry_global()
|
/hardware/google/gfxstream/guest/mesa/src/util/perf/ |
D | u_trace.c | 752 unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces, in u_trace_clone_append() 755 to_copy = MIN2(to_copy, end_it.event_idx - from_idx); in u_trace_clone_append()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_meta_draw_rects.c | 318 const uint32_t count = MIN2(rects_per_draw, rect_count - next_rect); in vk_meta_draw_rects()
|
D | vk_drm_syncobj.c | 225 abs_timeout_ns = MIN2(abs_timeout_ns, (uint64_t)INT64_MAX); in vk_drm_syncobj_wait_many()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/rmv/ |
D | vk_rmv_exporter.c | 1349 rmt_file_write_bits(&data, MIN2(description->max_sets, 65535), 0, 15); in rmt_dump_descriptor_pool_resource() 1361 rmt_file_write_bits(&data, MIN2(description->pool_sizes[i].descriptorCount, 65535), 16, 31); in rmt_dump_descriptor_pool_resource()
|