Searched refs:util_next_power_of_two (Results 1 – 10 of 10) sorted by relevance
68 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()
412 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()
1056 dec->blocks_per_line = MAX2(util_next_power_of_two(dec->base.width) / block_size_pixels, 4); in vl_create_mpeg12_decoder()
168 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()
542 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()
240 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture()241 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()
592 util_next_power_of_two(unsigned x) in util_next_power_of_two() function
107 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()
870 template.width0 = util_next_power_of_two(width); in ExaModifyPixmapHeader()871 template.height0 = util_next_power_of_two(height); in ExaModifyPixmapHeader()
341 unsigned macro_tile_width = util_next_power_of_two(sqrt_pixels_per_macro_tile); in r600_texture_get_cmask_info()