Home
last modified time | relevance | path

Searched refs:pixel_align_w (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp341 int pixel_align_w = 1, pixel_align_h = 1; in get_pixel_w_h() local
344 pixel_align_w = format.align_w_cpu; in get_pixel_w_h()
357 pixel_align_w = max(HEADER_STRIDE_ALIGN_IN_SUPER_BLOCKS, num_sb_align) * sb.width; in get_pixel_w_h()
370 MALI_GRALLOC_LOGV("Plane[%hhu]: [PIXEL_ALIGN] w:%d\n", plane, pixel_align_w); in get_pixel_w_h()
374 pixel_align_w = max(pixel_align_w, afbc_tile.width); in get_pixel_w_h()
390 *width = GRALLOC_ALIGN(*width, max(1, pixel_align_w, format.tile_size)); in get_pixel_w_h()
/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_bufferallocation.cpp329 int pixel_align_w = 0, pixel_align_h = 0; in get_pixel_w_h() local
332 pixel_align_w = format.align_w_cpu; in get_pixel_w_h()
345 pixel_align_w = max(HEADER_STRIDE_ALIGN_IN_SUPER_BLOCKS, num_sb_align) * sb.width; in get_pixel_w_h()
372 ALOGV("Plane[%hhu]: [PIXEL_ALIGN] w:%d, h:%d\n", plane, pixel_align_w, pixel_align_h); in get_pixel_w_h()
376 *width = GRALLOC_ALIGN(*width, max(1, pixel_align_w, format.tile_size, afbc_tile.width)); in get_pixel_w_h()