Home
last modified time | relevance | path

Searched refs:util_next_power_of_two (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c107 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/
Dvl_decoder.c83 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()
Dvl_video_buffer.c431 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()
Dvl_mpeg12_decoder.c1132 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/
Dr600_test_dma.c242 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()
Dcayman_msaa.c230 util_logbase2(util_next_power_of_two(ps_iter_samples)); in cayman_emit_msaa_config()
Dr600_texture.c672 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/
Dr300_texture_desc.c164 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()
Dr300_transfer.c162 base.depth0 = util_next_power_of_two(box->depth); in r300_texture_transfer_map()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c760 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()
Dnv50_miptree.c257 h = util_next_power_of_two(h); in nv50_miptree_init_layout_linear()
Dnv50_state_validate.c439 samples = util_next_power_of_two(nv50->min_samples); in nv50_validate_min_samples()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsubpicture.c237 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/
Dst_atom_framebuffer.c82 msaa_mode = util_next_power_of_two(st->ctx->Const.MaxFramebufferSamples); in framebuffer_quantize_num_samples()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_compute.c359 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/
Dbrw_compiler.h888 slm_size = util_next_power_of_two(bytes); in encode_slm_size()
Dbrw_context.h1342 return MAX2(1024, util_next_power_of_two(size)); in brw_get_scratch_size()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c475 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()
Damdgpu_bo.c681 alignment <= MAX2(1 << AMDGPU_SLAB_MIN_SIZE_LOG2, util_next_power_of_two(size))) { in amdgpu_bo_create()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h449 util_next_power_of_two(unsigned x) in util_next_power_of_two() function
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c409 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/
Dlp_bld_format_soa.c507 fetch_width = util_next_power_of_two(format_desc->block.bits); in lp_build_fetch_rgba_soa()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c602 samples = util_next_power_of_two(nvc0->min_samples); in nvc0_validate_min_samples()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1064 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/
Dradeon_drm_bo.c956 alignment <= MAX2(1 << RADEON_SLAB_MIN_SIZE_LOG2, util_next_power_of_two(size))) { in radeon_winsys_bo_create()

12