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

/vbox/src/VBox/Additions/x11/vboxvideo/
H A Dvboxvideo.c275 int adjustedWidth = pScrn->bitsPerPixel == 16 ? (width + 1) & ~1 : width; local
276 int cbLine = adjustedWidth * pScrn->bitsPerPixel / 8;
286 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",
287 pPixmap, adjustedWidth, height, pScrn->depth, pScrn->bitsPerPixel, cbLine, pVBox->base, pPixmap->drawable.width,
289 if ( adjustedWidth != pPixmap->drawable.width
292 if ( adjustedWidth > VBOX_VIDEO_MAX_VIRTUAL || height > VBOX_VIDEO_MAX_VIRTUAL
297 adjustedWidth, height, (unsigned) pVBox->cbFBMax / 1024);
301 adjustedWidth * height * pScrn->bitsPerPixel / 8);
302 pScreen->ModifyPixmapHeader(pPixmap, adjustedWidth, height, pScrn->depth, pScrn->bitsPerPixel, cbLine, pVBox->base);
304 pScrn->displayWidth = pScrn->virtualX = adjustedWidth;
[all...]

Completed in 46 milliseconds