/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 | 365 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) in vl_video_buffer_create() 367 templat.height = pot_buffers ? util_next_power_of_two(tmpl->height) in vl_video_buffer_create()
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_tiler.c | 340 best_w = MAX2(best_w, util_next_power_of_two(width / 63)); in panfrost_choose_tile_size() 341 best_h = MAX2(best_h, util_next_power_of_two(height / 63)); in panfrost_choose_tile_size()
|
D | pan_scratch.c | 84 util_next_power_of_two(ALIGN_POT(thread_size, 16)); in panfrost_get_total_stack_size()
|
D | pan_pool.h | 84 assert(sz == util_next_power_of_two(sz)); in panfrost_pool_alloc()
|
D | pan_pool.c | 97 assert(alignment == util_next_power_of_two(alignment)); in panfrost_pool_alloc_aligned()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_resource.c | 36 width0 = util_next_power_of_two(width0); in setup_slices() 48 height = util_next_power_of_two(height); in setup_slices()
|
/external/mesa3d/src/freedreno/fdl/ |
D | fd6_layout.c | 178 ubwc_width0 = util_next_power_of_two(width0); in fdl6_layout() 179 ubwc_height0 = util_next_power_of_two(height0); in fdl6_layout() 197 height = u_minify(util_next_power_of_two(height0), level); in fdl6_layout()
|
D | freedreno_layout.h | 175 pitch = util_next_power_of_two(pitch); in fdl2_pitch()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_test_dma.c | 232 tsrc.width0 = util_next_power_of_two(tsrc.width0); in r600_test_dma() 233 tsrc.height0 = util_next_power_of_two(tsrc.height0); in r600_test_dma() 250 tdst.width0 = util_next_power_of_two(tdst.width0); in r600_test_dma() 251 tdst.height0 = util_next_power_of_two(tdst.height0); in r600_test_dma()
|
D | cayman_msaa.c | 237 util_logbase2(util_next_power_of_two(ps_iter_samples)); in cayman_emit_msaa_state()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_test_dma.c | 229 tsrc.width0 = util_next_power_of_two(tsrc.width0); in si_test_dma() 230 tsrc.height0 = util_next_power_of_two(tsrc.height0); in si_test_dma() 247 tdst.width0 = util_next_power_of_two(tdst.width0); in si_test_dma() 248 tdst.height0 = util_next_power_of_two(tdst.height0); in si_test_dma()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_resource.c | 47 nblocksy = util_next_power_of_two(nblocksy); in fd2_setup_slices()
|
/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/intel/compiler/ |
D | brw_shader.h | 124 return MAX2(1024, util_next_power_of_two(size)); in brw_get_scratch_size()
|
D | brw_nir_lower_mem_access_bit_sizes.c | 127 load_bit_size = util_next_power_of_two(MIN2(bytes_left, 4)) * 8; in lower_mem_load_bit_size()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_screen.c | 877 screen->cur_tls_space = util_next_power_of_two(tls_space / ONE_TEMP_SIZE) * in nv50_tls_alloc() 881 util_next_power_of_two(tls_space / ONE_TEMP_SIZE)); in nv50_tls_alloc() 882 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc() 1124 stack_size = util_next_power_of_two(screen->TPs) * screen->MPsInTP * in nv50_screen_create() 1134 uint64_t size_of_one_temp = util_next_power_of_two(screen->TPs) * in nv50_screen_create()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 84 msaa_mode = util_next_power_of_two(st->ctx->Const.MaxFramebufferSamples); in framebuffer_quantize_num_samples()
|
D | st_atom_array.c | 257 const unsigned alignment = util_next_power_of_two(size); in st_setup_current()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_image.c | 89 uint32_t pot_width = 2 * util_next_power_of_two(u_minify(width, 1)); in v3d_setup_slices() 90 uint32_t pot_height = 2 * util_next_power_of_two(u_minify(height, 1)); in v3d_setup_slices() 91 uint32_t pot_depth = 2 * util_next_power_of_two(u_minify(depth, 1)); in v3d_setup_slices()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_resource.c | 76 u_minify(util_next_power_of_two(prsc->depth0), i); in v3d_debug_resource_layout() 510 uint32_t pot_width = 2 * util_next_power_of_two(u_minify(width, 1)); in v3d_setup_slices() 511 uint32_t pot_height = 2 * util_next_power_of_two(u_minify(height, 1)); in v3d_setup_slices() 512 uint32_t pot_depth = 2 * util_next_power_of_two(u_minify(depth, 1)); in v3d_setup_slices()
|
/external/mesa3d/src/gallium/frontends/xvmc/ |
D | subpicture.c | 309 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture() 310 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd_enc.c | 79 enc->enc_pic.max_poc = MAX2(16, util_next_power_of_two(pic->seq.intra_period)); in radeon_uvd_enc_get_param()
|