Searched refs:ScreenRegionView (Results 1 – 3 of 3) sorted by relevance
49 struct ScreenRegionView { struct261 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()
41 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()
47 struct ScreenRegionView { struct119 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()