Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_decoder.c68 buffer_width = pot_buffers ? util_next_power_of_two(width) : align(width, VL_MACROBLOCK_WIDTH); in vl_create_decoder()
69 …buffer_height = pot_buffers ? util_next_power_of_two(height) : align(height, VL_MACROBLOCK_HEIGHT); in vl_create_decoder()
Dvl_video_buffer.c412 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) in vl_video_buffer_create()
414 templat.height = pot_buffers ? util_next_power_of_two(tmpl->height) in vl_video_buffer_create()
Dvl_mpeg12_decoder.c1056 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/r300/
Dr300_texture_desc.c168 height = util_next_power_of_two(height); in r300_texture_get_nblocksy()
497 tex->tex.width0 = util_next_power_of_two(tex->tex.width0); in r300_texture_desc_init()
498 tex->tex.height0 = util_next_power_of_two(tex->tex.height0); in r300_texture_desc_init()
499 tex->tex.depth0 = util_next_power_of_two(tex->tex.depth0); in r300_texture_desc_init()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_screen.c542 screen->cur_tls_space = util_next_power_of_two(tls_space / ONE_TEMP_SIZE) * in nv50_tls_alloc()
546 util_next_power_of_two(tls_space / ONE_TEMP_SIZE)); in nv50_tls_alloc()
547 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc()
722 stack_size = util_next_power_of_two(screen->TPs) * screen->MPsInTP * in nv50_screen_create()
732 uint64_t size_of_one_temp = util_next_power_of_two(screen->TPs) * in nv50_screen_create()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsubpicture.c240 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture()
241 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h592 util_next_power_of_two(unsigned x) in util_next_power_of_two() function
/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()
562 assert(util_next_power_of_two(pt->width0) == pt->width0); /* npot only */ in i945_texture_layout_cube()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_exa.c870 template.width0 = util_next_power_of_two(width); in ExaModifyPixmapHeader()
871 template.height0 = util_next_power_of_two(height); in ExaModifyPixmapHeader()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c341 unsigned macro_tile_width = util_next_power_of_two(sqrt_pixels_per_macro_tile); in r600_texture_get_cmask_info()