Home
last modified time | relevance | path

Searched refs:blockwidth (Results 1 – 7 of 7) sorted by relevance

/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c81 int blockwidth = util_format_get_blockwidth(format); in util_copy_rect() local
85 assert(blockwidth > 0); in util_copy_rect()
88 dst_x /= blockwidth; in util_copy_rect()
90 width = (width + blockwidth - 1)/blockwidth; in util_copy_rect()
92 src_x /= blockwidth; in util_copy_rect()
160 int blockwidth = desc->block.width; in util_fill_rect() local
164 assert(blockwidth > 0); in util_fill_rect()
167 dst_x /= blockwidth; in util_fill_rect()
169 width = (width + blockwidth - 1)/blockwidth; in util_fill_rect()
Du_format.h619 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local
620 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h217 GLuint blockwidth; in get_format_blocksx() local
219 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksx()
220 return (x + blockwidth - 1) / blockwidth; in get_format_blocksx()
227 GLuint blockwidth; in get_format_blocksy() local
229 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c81 int blockwidth = util_format_get_blockwidth(format); in util_copy_rect() local
85 assert(blockwidth > 0); in util_copy_rect()
88 dst_x /= blockwidth; in util_copy_rect()
90 width = (width + blockwidth - 1)/blockwidth; in util_copy_rect()
92 src_x /= blockwidth; in util_copy_rect()
160 int blockwidth = desc->block.width; in util_fill_rect() local
164 assert(blockwidth > 0); in util_fill_rect()
167 dst_x /= blockwidth; in util_fill_rect()
169 width = (width + blockwidth - 1)/blockwidth; in util_fill_rect()
Du_format.h811 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local
812 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.cpp2053 int blockwidth = format->bits[0] + format->bits[1] + in processSurfaceCoordsNVE4() local
2059 TYPE_U32, bld.loadImm(NULL, blockwidth / 8), in processSurfaceCoordsNVE4()
2273 int blockwidth = format->bits[0] + format->bits[1] + in processSurfaceCoordsNVC0() local
2279 TYPE_U32, bld.loadImm(NULL, blockwidth / 8), in processSurfaceCoordsNVC0()
2372 int blockwidth = format->bits[0] + format->bits[1] + in processSurfaceCoordsGM107() local
2378 TYPE_U32, bld.loadImm(NULL, blockwidth / 8), in processSurfaceCoordsGM107()
/external/u-boot/common/
Ddlmalloc.src2218 search for best fitting chunk by scanning bins in blockwidth units.