Home
last modified time | relevance | path

Searched refs:bytes_per_pixel (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dscreen_view.cpp34 return cuttlefish::AlignToPowerOf2(x_res() * bytes_per_pixel(), 4); in line_length()
37 int ScreenView::bytes_per_pixel() const { return 4; } in bytes_per_pixel() function in cuttlefish::ScreenView
Dscreen_view.h55 int bytes_per_pixel() const;
Dgralloc_utils.cpp123 int bytes_per_pixel = formatToBytesPerPixel(gralloc0_buffer->format); in GetMonoPlanarStrideBytes() local
124 return gralloc0_buffer->stride_in_pixels * bytes_per_pixel; in GetMonoPlanarStrideBytes()
Dcpu_composer.cpp463 AlignToPowerOf2(tmp_buffer_width * screen_view_->bytes_per_pixel(), 4); in CompositeLayer()
491 AlignToPowerOf2(src_width * screen_view_->bytes_per_pixel(), 4); in CompositeLayer()
531 dst_buffer_spec.width * screen_view_->bytes_per_pixel(); in CompositeLayer()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dgralloc.cpp56 int bytes_per_pixel = formatToBytesPerPixel(format); in gralloc_alloc_buffer() local
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()
80 stride_in_pixels = bytes_per_line / bytes_per_pixel; in gralloc_alloc_buffer()
Dgralloc_vsoc_priv.h278 int bytes_per_pixel = formatToBytesPerPixel(format); in formatToBytesPerFrame() local
288 return bytes_per_pixel * w * h; in formatToBytesPerFrame()
307 return bytes_per_pixel * w16 * h16 + in formatToBytesPerFrame()