Searched refs:pixel_align_w (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gchips/gralloc4/src/core/ |
D | mali_gralloc_bufferallocation.cpp | 341 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/ |
D | mali_gralloc_bufferallocation.cpp | 329 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()
|