Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp561 uint16_t hw_align = 0; in calc_allocation_size() local
569 hw_align = format.is_yuv ? in calc_allocation_size()
582 hw_align = std::max(hw_align, static_cast<uint16_t>(GPU_BYTE_ALIGN_DEFAULT)); in calc_allocation_size()
599 uint32_t stride_align = lcm(hw_align, cpu_align); in calc_allocation_size()
/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_bufferallocation.cpp518 uint16_t hw_align = 0; in calc_allocation_size() local
521 hw_align = format.is_yuv ? 16 : (format.is_rgb ? 64 : 0); in calc_allocation_size()
529 uint32_t stride_align = lcm(hw_align, cpu_align); in calc_allocation_size()