/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 107 return util_next_power_of_two(util_format_get_stride(format, width)); in get_pot_stride() 298 unsigned width = util_next_power_of_two(pt->width0); in i9x5_texture_layout_cube() 337 unsigned width = util_next_power_of_two(pt->width0); in i915_texture_layout_2d() 338 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_2d() 366 unsigned width = util_next_power_of_two(pt->width0); in i915_texture_layout_3d() 367 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_3d() 368 unsigned depth = util_next_power_of_two(pt->depth0); in i915_texture_layout_3d() 402 tex->total_nblocksy = stack_nblocksy * util_next_power_of_two(pt->depth0); in i915_texture_layout_3d() 443 unsigned width = util_next_power_of_two(pt->width0); in i945_texture_layout_2d() 444 unsigned height = util_next_power_of_two(pt->height0); in i945_texture_layout_2d() [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_decoder.c | 83 temp.width = pot_buffers ? util_next_power_of_two(width) : align(width, VL_MACROBLOCK_WIDTH); in vl_create_decoder() 84 temp.height = pot_buffers ? util_next_power_of_two(height) : align(height, VL_MACROBLOCK_HEIGHT); in vl_create_decoder()
|
D | vl_video_buffer.c | 431 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) in vl_video_buffer_create() 433 templat.height = pot_buffers ? util_next_power_of_two(tmpl->height) in vl_video_buffer_create()
|
D | vl_mpeg12_decoder.c | 1132 dec->blocks_per_line = MAX2(util_next_power_of_two(dec->base.width) / block_size_pixels, 4); in vl_create_mpeg12_decoder()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_test_dma.c | 242 tsrc.width0 = util_next_power_of_two(tsrc.width0); in r600_test_dma() 243 tsrc.height0 = util_next_power_of_two(tsrc.height0); in r600_test_dma() 260 tdst.width0 = util_next_power_of_two(tdst.width0); in r600_test_dma() 261 tdst.height0 = util_next_power_of_two(tdst.height0); in r600_test_dma()
|
D | cayman_msaa.c | 230 util_logbase2(util_next_power_of_two(ps_iter_samples)); in cayman_emit_msaa_config()
|
D | r600_texture.c | 672 unsigned macro_tile_width = util_next_power_of_two(sqrt_pixels_per_macro_tile); in r600_texture_get_cmask_info()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 164 height = util_next_power_of_two(height); in r300_texture_get_nblocksy() 593 tex->tex.width0 = util_next_power_of_two(tex->tex.width0); in r300_texture_desc_init() 594 tex->tex.height0 = util_next_power_of_two(tex->tex.height0); in r300_texture_desc_init() 595 tex->tex.depth0 = util_next_power_of_two(tex->tex.depth0); in r300_texture_desc_init()
|
D | r300_transfer.c | 162 base.depth0 = util_next_power_of_two(box->depth); in r300_texture_transfer_map()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_screen.c | 760 screen->cur_tls_space = util_next_power_of_two(tls_space / ONE_TEMP_SIZE) * in nv50_tls_alloc() 764 util_next_power_of_two(tls_space / ONE_TEMP_SIZE)); in nv50_tls_alloc() 765 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc() 963 stack_size = util_next_power_of_two(screen->TPs) * screen->MPsInTP * in nv50_screen_create() 973 uint64_t size_of_one_temp = util_next_power_of_two(screen->TPs) * in nv50_screen_create()
|
D | nv50_miptree.c | 257 h = util_next_power_of_two(h); in nv50_miptree_init_layout_linear()
|
D | nv50_state_validate.c | 439 samples = util_next_power_of_two(nv50->min_samples); in nv50_validate_min_samples()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | subpicture.c | 237 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture() 238 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 82 msaa_mode = util_next_power_of_two(st->ctx->Const.MaxFramebufferSamples); in framebuffer_quantize_num_samples()
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_compute.c | 359 return util_next_power_of_two((interface->slm_size + 4095) / 4096); in compute_interface_get_gen7_slm_size()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_compiler.h | 888 slm_size = util_next_power_of_two(bytes); in encode_slm_size()
|
D | brw_context.h | 1342 return MAX2(1024, util_next_power_of_two(size)); in brw_get_scratch_size()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 475 buffer_size = 4 *util_next_power_of_two(ib->max_ib_size); in amdgpu_ib_new_buffer() 477 buffer_size = 4 *util_next_power_of_two(4 * ib->max_ib_size); in amdgpu_ib_new_buffer() 569 4 * MIN2(util_next_power_of_two(ib->max_ib_size), in amdgpu_get_new_ib()
|
D | amdgpu_bo.c | 681 alignment <= MAX2(1 << AMDGPU_SLAB_MIN_SIZE_LOG2, util_next_power_of_two(size))) { in amdgpu_bo_create()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_math.h | 449 util_next_power_of_two(unsigned x) in util_next_power_of_two() function
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_resource.c | 409 uint32_t pot_width = util_next_power_of_two(width); in vc4_setup_slices() 410 uint32_t pot_height = util_next_power_of_two(height); in vc4_setup_slices()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_soa.c | 507 fetch_width = util_next_power_of_two(format_desc->block.bits); in lp_build_fetch_rgba_soa()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state_validate.c | 602 samples = util_next_power_of_two(nvc0->min_samples); in nvc0_validate_min_samples()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 1064 unsigned log_ps_iter_samples = util_logbase2(util_next_power_of_two(ps_iter_samples)); in radv_pipeline_init_multisample_state()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 956 alignment <= MAX2(1 << RADEON_SLAB_MIN_SIZE_LOG2, util_next_power_of_two(size))) { in radeon_winsys_bo_create()
|