Home
last modified time | relevance | path

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

123

/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.c365 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/
Dpan_tiler.c340 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()
Dpan_scratch.c84 util_next_power_of_two(ALIGN_POT(thread_size, 16)); in panfrost_get_total_stack_size()
Dpan_pool.h84 assert(sz == util_next_power_of_two(sz)); in panfrost_pool_alloc()
Dpan_pool.c97 assert(alignment == util_next_power_of_two(alignment)); in panfrost_pool_alloc_aligned()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_resource.c36 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/
Dfd6_layout.c178 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()
Dfreedreno_layout.h175 pitch = util_next_power_of_two(pitch); in fdl2_pitch()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c232 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()
Dcayman_msaa.c237 util_logbase2(util_next_power_of_two(ps_iter_samples)); in cayman_emit_msaa_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c229 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/
Dfd2_resource.c47 nblocksy = util_next_power_of_two(nblocksy); in fd2_setup_slices()
/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/intel/compiler/
Dbrw_shader.h124 return MAX2(1024, util_next_power_of_two(size)); in brw_get_scratch_size()
Dbrw_nir_lower_mem_access_bit_sizes.c127 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/
Dnv50_screen.c877 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/
Dst_atom_framebuffer.c84 msaa_mode = util_next_power_of_two(st->ctx->Const.MaxFramebufferSamples); in framebuffer_quantize_num_samples()
Dst_atom_array.c257 const unsigned alignment = util_next_power_of_two(size); in st_setup_current()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c89 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/
Dv3d_resource.c76 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/
Dsubpicture.c309 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/
Dradeon_uvd_enc.c79 enc->enc_pic.max_poc = MAX2(16, util_next_power_of_two(pic->seq.intra_period)); in radeon_uvd_enc_get_param()

123