Lines Matching refs:pScreenshot
316 VBOX_DISPLAY_SAVESCREENSHOT_DATA *pScreenshot =
317 (VBOX_DISPLAY_SAVESCREENSHOT_DATA*)RTMemAllocZ(sizeof(*pScreenshot));
318 if (pScreenshot)
321 pScreenshot->Base.u32Screen = 0;
322 pScreenshot->Base.u32Width = 0;
323 pScreenshot->Base.u32Height = 0;
324 pScreenshot->Base.u32Pitch = 0;
325 pScreenshot->Base.pvBuffer = NULL;
326 pScreenshot->Base.pvContext = pScreenshot;
327 pScreenshot->Base.pfnScreenshotBegin = NULL;
328 pScreenshot->Base.pfnScreenshotPerform = displaySaveScreenshotReport;
329 pScreenshot->Base.pfnScreenshotEnd = NULL;
336 data.aParms[0].u.pointer.addr = &pScreenshot->Base;
337 data.aParms[0].u.pointer.size = sizeof(pScreenshot->Base);
342 if (pScreenshot->pu8PNG)
344 pu8Thumbnail = pScreenshot->pu8Thumbnail;
345 cbThumbnail = pScreenshot->cbThumbnail;
346 cxThumbnail = pScreenshot->cxThumbnail;
347 cyThumbnail = pScreenshot->cyThumbnail;
350 pu8PNG = pScreenshot->pu8PNG;
351 cbPNG = pScreenshot->cbPNG;
352 cxPNG = pScreenshot->cxPNG;
353 cyPNG = pScreenshot->cyPNG;
363 RTMemFree(pScreenshot);
1870 CRVBOXHGCMTAKESCREENSHOT *pScreenshot = (CRVBOXHGCMTAKESCREENSHOT*)RTMemAlloc(sizeof(*pScreenshot));
1871 if (pScreenshot)
1874 pScreenshot->u32Screen = aScreenId;
1875 pScreenshot->u32Width = u32Width;
1876 pScreenshot->u32Height = u32Height;
1877 pScreenshot->u32Pitch = u32Width * 4;
1878 pScreenshot->pvBuffer = pu8Data;
1879 pScreenshot->pvContext = NULL;
1880 pScreenshot->pfnScreenshotBegin = NULL;
1881 pScreenshot->pfnScreenshotPerform = NULL;
1882 pScreenshot->pfnScreenshotEnd = NULL;
1889 data.aParms[0].u.pointer.addr = pScreenshot;
1890 data.aParms[0].u.pointer.size = sizeof(*pScreenshot);
1894 RTMemFree(pScreenshot);