Home
last modified time | relevance | path

Searched refs:ScreenRegionView (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dgralloc_vsoc_priv.h49 struct ScreenRegionView { struct
261 out->ystride = cuttlefish::screen::ScreenRegionView::align(width); in formatToYcbcr()
263 cuttlefish::screen::ScreenRegionView::align(out->ystride / 2); in formatToYcbcr()
298 cuttlefish::screen::ScreenRegionView::kSwiftShaderPadding); in formatToBytesPerFrame()
305 w16 = cuttlefish::screen::ScreenRegionView::align(w); in formatToBytesPerFrame()
306 h16 = cuttlefish::screen::ScreenRegionView::align(h); in formatToBytesPerFrame()
308 cuttlefish::screen::ScreenRegionView::kSwiftShaderPadding; in formatToBytesPerFrame()
Dgralloc.cpp41 using cuttlefish::screen::ScreenRegionView;
64 bytes_per_line = ScreenRegionView::align(bytes_per_pixel * w); in gralloc_alloc_buffer()
66 bytes_per_line = ScreenRegionView::align(bytes_per_pixel * w); in gralloc_alloc_buffer()
/device/google/cuttlefish/host/frontend/vnc_server/
Dvnc_client_connection.cpp47 struct ScreenRegionView { struct
119 return (pixel >> ScreenRegionView::kRedShift) & in RedVal()
120 ((0x1 << ScreenRegionView::kRedBits) - 1); in RedVal()
124 return (pixel >> ScreenRegionView::kBlueShift) & in BlueVal()
125 ((0x1 << ScreenRegionView::kBlueBits) - 1); in BlueVal()
129 return (pixel >> ScreenRegionView::kGreenShift) & in GreenVal()
130 ((0x1 << ScreenRegionView::kGreenBits) - 1); in GreenVal()
317 using Pixel = ScreenRegionView::Pixel; in AppendRawStripe()