Home
last modified time | relevance | path

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

/developtools/profiler/host/smartperf/client/client_command/
H A DCapture.cpp150 std::shared_ptr<Media::PixelMap> pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId()); in TakeScreenCap() local
152 if (pixelMap == nullptr) { in TakeScreenCap()
153 LOGE("Failed to get display pixelMap"); in TakeScreenCap()
156 auto width = static_cast<uint32_t>(pixelMap->GetWidth()); in TakeScreenCap()
157 auto height = static_cast<uint32_t>(pixelMap->GetHeight()); in TakeScreenCap()
158 auto data = pixelMap->GetPixels(); in TakeScreenCap()
159 auto stride = static_cast<uint32_t>(pixelMap->GetRowBytes()); in TakeScreenCap()

Completed in 1 milliseconds