Searched refs:adjustedWidth (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/xf86-video-vboxvideo/dist/src/
H A Dvboxvideo.c242 int adjustedWidth = pScrn->bitsPerPixel == 16 ? (width + 1) & ~1 : width; local in function:adjustScreenPixmap
243 int cbLine = adjustedWidth * pScrn->bitsPerPixel / 8;
252 TRACE_LOG("pPixmap=%p adjustedWidth=%d height=%d pScrn->depth=%d pScrn->bitsPerPixel=%d cbLine=%d pVBox->base=%p pPixmap->drawable.width=%d pPixmap->drawable.height=%d\n",
253 (void *)pPixmap, adjustedWidth, height, pScrn->depth,
256 if ( adjustedWidth != pPixmap->drawable.width
259 if ( adjustedWidth > VBOX_VIDEO_MAX_VIRTUAL || height > VBOX_VIDEO_MAX_VIRTUAL
264 adjustedWidth, height, (unsigned) pVBox->cbFBMax / 1024);
269 ((size_t)adjustedWidth) * height * (pScrn->bitsPerPixel / 8));
270 pScreen->ModifyPixmapHeader(pPixmap, adjustedWidth, height, pScrn->depth, pScrn->bitsPerPixel, cbLine, pVBox->base);
272 pScrn->displayWidth = pScrn->virtualX = adjustedWidth;
[all...]

Completed in 2 milliseconds