| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| H A D | radeon_textured_video.c | 284 aligned_height = RADEON_ALIGN(dst_height, h_align); 289 srcPitch = RADEON_ALIGN(width, 4); 290 srcPitch2 = RADEON_ALIGN(width >> 1, 4); 292 dstPitch = RADEON_ALIGN(dst_width << 1, pPriv->hw_align); 295 dstPitch = RADEON_ALIGN(dst_width, pPriv->hw_align); 296 dstPitch2 = RADEON_ALIGN(dstPitch >> 1, pPriv->hw_align); 302 dstPitch = RADEON_ALIGN(dst_width << 1, pPriv->hw_align); 308 size = dstPitch * aligned_height + 2 * dstPitch2 * RADEON_ALIGN(((aligned_height + 1) >> 1), h_align); 309 size = RADEON_ALIGN(size, pPriv->hw_align); 362 pPriv->planeu_offset = RADEON_ALIGN(pPri [all...] |
| H A D | radeon_bo_helper.c | 119 surface->npix_y = RADEON_ALIGN(height, 8); 264 heighta = RADEON_ALIGN(height, drmmode_get_height_align(pScrn, tiling)); 265 pitch = RADEON_ALIGN(width, drmmode_get_pitch_align(pScrn, cpp, tiling)) * cpp; 267 size = RADEON_ALIGN(heighta * pitch, RADEON_GPU_PAGE_SIZE);
|
| H A D | evergreen_textured_videofuncs.c | 273 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align); 297 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align);
|
| H A D | r600_textured_videofuncs.c | 289 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align); 312 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align);
|
| H A D | radeon_exa_funcs.c | 383 uint32_t scratch_pitch = RADEON_ALIGN(w * bpp / 8, 64); 488 uint32_t scratch_pitch = RADEON_ALIGN(w * bpp / 8, 64);
|
| H A D | evergreen_exa.c | 500 unsigned height = RADEON_ALIGN(pDst->drawable.height, 1691 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1692 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0)); 1819 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1820 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0));
|
| H A D | r600_exa.c | 1721 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1722 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0)); 1845 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1846 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0));
|
| H A D | radeon.h | 235 #define RADEON_ALIGN(x,bytes) (((x) + ((bytes) - 1)) & ~((bytes) - 1)) macro
|
| H A D | radeon_textured_videofuncs.c | 135 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64); 545 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64); 1066 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64); 2510 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64);
|
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | radeon_textured_video.c | 312 aligned_height = RADEON_ALIGN(dst_height, h_align); 317 srcPitch = RADEON_ALIGN(width, 4); 318 srcPitch2 = RADEON_ALIGN(width >> 1, 4); 320 dstPitch = RADEON_ALIGN(dst_width << 1, pPriv->hw_align); 323 dstPitch = RADEON_ALIGN(dst_width, pPriv->hw_align); 324 dstPitch2 = RADEON_ALIGN(dstPitch >> 1, pPriv->hw_align); 330 dstPitch = RADEON_ALIGN(dst_width << 1, pPriv->hw_align); 336 size = dstPitch * aligned_height + 2 * dstPitch2 * RADEON_ALIGN(((aligned_height + 1) >> 1), h_align); 337 size = RADEON_ALIGN(size, pPriv->hw_align); 415 pPriv->planeu_offset = RADEON_ALIGN(pPri [all...] |
| H A D | radeon_exa.c | 224 size = RADEON_ALIGN(size, RADEON_GPU_PAGE_SIZE); 494 heighta = RADEON_ALIGN(height, drmmode_get_height_align(pScrn, tiling)); 495 pitch = RADEON_ALIGN(width, drmmode_get_pitch_align(pScrn, cpp, tiling)) * cpp; 497 size = RADEON_ALIGN(heighta * pitch, RADEON_GPU_PAGE_SIZE); 505 surface.npix_y = RADEON_ALIGN(height, 8); 735 screen_size = RADEON_ALIGN(pScrn->virtualY, 16) * byteStride; 757 RADEON_ALIGN(info->accel_state->exa->offScreenBase, align); 793 next = RADEON_ALIGN(info->accel_state->exa->offScreenBase, RADEON_GPU_PAGE_SIZE); 807 info->dri->depthPitch = RADEON_ALIGN(pScrn->displayWidth, 32); 808 depth_size = RADEON_ALIGN(pScr [all...] |
| H A D | radeon_accel.c | 782 info->cp->indirectStart = buffer->used = RADEON_ALIGN(buffer->used, 8); 881 *bufPitch = 2 * RADEON_ALIGN(w, 2); 885 *bufPitch = RADEON_ALIGN(w, 4); 1199 bufferSize = RADEON_ALIGN((RADEON_ALIGN(pScrn->virtualY, 16)) * width_bytes, 1202 bufferSize = RADEON_ALIGN(pScrn->virtualY * width_bytes, 1210 info->dri->depthPitch = RADEON_ALIGN(pScrn->displayWidth, 32); 1211 depthSize = RADEON_ALIGN((RADEON_ALIGN(pScrn->virtualY, 16)) * info->dri->depthPitch 1319 info->dri->textureOffset = RADEON_ALIGN(inf [all...] |
| H A D | radeon_video.c | 2982 srcPitch = RADEON_ALIGN(width * 2, 4); 2993 dstPitch = (RADEON_ALIGN(width, 128)); 2994 srcPitch = RADEON_ALIGN(width, 4); 2998 srcPitch = RADEON_ALIGN(width, 4); 3013 dstPitch = RADEON_ALIGN(dstPitch, 64); 3017 dstPitch = RADEON_ALIGN(dstPitch, 16); 3021 new_size += (dstPitch >> 1) * (RADEON_ALIGN(height, 2)); 3057 srcPitch2 = RADEON_ALIGN(width >> 1, 4); 3059 s2offset = srcPitch * (RADEON_ALIGN(height, 2)); 3082 srcPitch2 = RADEON_ALIGN(widt [all...] |
| H A D | drmmode_display.c | 277 pitch = RADEON_ALIGN(pScrn->displayWidth, 343 pitch = RADEON_ALIGN(pScrn->displayWidth, drmmode_get_pitch_align(pScrn, info->CurrentLayout.pixel_bytes, tiling_flags)) * 345 height = RADEON_ALIGN(pScrn->virtualY, drmmode_get_height_align(pScrn, tiling_flags)); 527 RADEON_ALIGN(width, drmmode_get_pitch_align(crtc->scrn, drmmode->cpp, 0)) * drmmode->cpp; 528 height = RADEON_ALIGN(height, drmmode_get_height_align(crtc->scrn, 0)); 530 size = RADEON_ALIGN(rotate_pitch * height, RADEON_GPU_PAGE_SIZE); 562 rotate_pitch = RADEON_ALIGN(width, drmmode_get_pitch_align(pScrn, drmmode->cpp, 0)) * drmmode->cpp; 1293 pitch = RADEON_ALIGN(width, drmmode_get_pitch_align(scrn, cpp, tiling_flags)) * cpp; 1294 height = RADEON_ALIGN(height, drmmode_get_height_align(scrn, tiling_flags)); 1295 screen_size = RADEON_ALIGN(pitc [all...] |
| H A D | radeon_render.c | 409 dst_pitch = RADEON_ALIGN(width * tex_bytepp, 64); 416 (RADEON_ALIGN(width * tex_bytepp, 32) != dst_pitch)) 748 dst_pitch = RADEON_ALIGN(width * tex_bytepp, 64); 752 (RADEON_ALIGN(width * tex_bytepp, 32) != dst_pitch))
|
| H A D | radeon_kms.c | 810 RADEON_ALIGN(pScrn->virtualX, drmmode_get_pitch_align(pScrn, cpp, tiling)); 1258 pitch = RADEON_ALIGN(pScrn->virtualX, drmmode_get_pitch_align(pScrn, cpp, tiling_flags)) * cpp; 1259 screen_size = RADEON_ALIGN(pScrn->virtualY, drmmode_get_height_align(pScrn, tiling_flags)) * pitch; 1323 cursor_size = RADEON_ALIGN(cursor_size, RADEON_GPU_PAGE_SIZE); 1345 screen_size = RADEON_ALIGN(screen_size, RADEON_GPU_PAGE_SIZE);
|
| H A D | evergreen_textured_videofuncs.c | 288 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align); 311 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align);
|
| H A D | r600_textured_videofuncs.c | 316 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align); 339 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align);
|
| H A D | radeon_dri2.c | 183 aligned_width = RADEON_ALIGN(aligned_width, width_align); 185 aligned_height = RADEON_ALIGN(drawable->height, height_align); 187 size = RADEON_ALIGN(size, base_align); 190 aligned_height = RADEON_ALIGN(size / pitch_bytes, height_align);
|
| H A D | radeon_exa_funcs.c | 478 uint32_t scratch_pitch = RADEON_ALIGN(w * bpp / 8, 64); 580 uint32_t scratch_pitch = RADEON_ALIGN(w * bpp / 8, 64); 684 uint32_t datatype, src_pitch_offset, scratch_pitch = RADEON_ALIGN(w * bpp / 8, 64), scratch_off = 0;
|
| H A D | r600_exa.c | 1646 int scratch_pitch_bytes = RADEON_ALIGN(wpass, 256); 1759 int scratch_pitch_bytes = RADEON_ALIGN(dst_pitch, 256); 1888 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1889 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0)); 2014 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 2015 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0));
|
| H A D | evergreen_exa.c | 500 unsigned height = RADEON_ALIGN(pDst->drawable.height, 1531 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1532 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0)); 1661 scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); 1662 height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0));
|
| H A D | radeon_modes.c | 81 dummy = RADEON_ALIGN(pScrn->virtualX, pitch_mask);
|
| H A D | radeon_accelfuncs.c | 830 OUT_ACCEL_REG(RADEON_DST_HEIGHT_WIDTH, (h << 16) | RADEON_ALIGN(w, 32)); 839 info->accel_state->scanline_w = RADEON_ALIGN(w, 32);
|
| H A D | radeon_textured_videofuncs.c | 213 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64); 718 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64); 1332 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64); 2840 txpitch = RADEON_ALIGN(pPriv->src_pitch >> 1, 64);
|