Home
last modified time | relevance | path

Searched refs:xalign (Results 1 – 4 of 4) sorted by relevance

/third_party/libdrm/radeon/
Dradeon_surface.c170 uint32_t xalign, uint32_t yalign, uint32_t zalign, in surf_minify() argument
181 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in surf_minify()
186 surflevel->nblk_x = ALIGN(surflevel->nblk_x, xalign); in surf_minify()
270 uint32_t xalign, yalign, zalign; in r6_surface_init_linear() local
280 xalign = MAX2(1, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear()
284 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_linear()
290 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear()
304 uint32_t xalign, yalign, zalign; in r6_surface_init_linear_aligned() local
311 xalign = MAX2(64, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear_aligned()
318 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear_aligned()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c310 unsigned xalign = MAX2(1, 4 / bpp); in cik_sdma_copy_texture() local
317 if (copy_width % xalign != 0 && 0 + copy_width == linear_width && in cik_sdma_copy_texture()
319 align(copy_width, xalign) <= linear_pitch && in cik_sdma_copy_texture()
320 align(copy_width, xalign) <= tiled_pitch) in cik_sdma_copy_texture()
321 copy_width_aligned = align(copy_width, xalign); in cik_sdma_copy_texture()
379 if (tiled_address % 256 == 0 && linear_address % 4 == 0 && linear_pitch % xalign == 0 && in cik_sdma_copy_texture()
380 copy_width_aligned % xalign == 0 && in cik_sdma_copy_texture()
/third_party/cups-filters/filter/pdftopdf/
Dnup.h15 xalign(CENTER),yalign(CENTER) in NupParameters()
28 Position xalign,yalign; member
Dnup.cc44 Position_dump(xalign,Axis::X); in dump()
190 ret.xpos+=lin(param.xalign,width-subwidth); in calculate_edit()