Lines Matching refs:pixelMap
39 std::shared_ptr<OHOS::Media::PixelMap>& pixelMap);
68 std::shared_ptr<OHOS::Media::PixelMap> pixelMap = nullptr;
69 if (!GetScreenshotByCmdArguments(cmdArguments, display, pixelMap)) {
74 if (pixelMap != nullptr) {
76 ret = SnapShotUtils::SaveSnapShot(cmdArguments.fileName, *pixelMap, cmdArguments.fileType);
78 ret = SnapShotUtils::WriteToJpegWithPixelMap(cmdArguments.fileName, *pixelMap);
88 cmdArguments.fileName << " as " << cmdArguments.fileType << ", width: " << pixelMap->GetWidth() <<
89 ", height: " << pixelMap->GetHeight() << std::endl;
94 std::shared_ptr<OHOS::Media::PixelMap>& pixelMap)
97 pixelMap = DisplayManager::GetInstance().GetScreenshot(cmdArguments.displayId); // default width & height
115 pixelMap = DisplayManager::GetInstance().GetScreenshot(cmdArguments.displayId, rect, size, rotation);