Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp638 uint32_t hw_align = 0; in calc_allocation_size() local
646 hw_align = format.is_yuv ? in calc_allocation_size()
659 hw_align = std::max(hw_align, static_cast<uint32_t>(GPU_BYTE_ALIGN_DEFAULT)); in calc_allocation_size()
669 hw_align = std::max(hw_align, static_cast<uint32_t>(CAMERA_RAW_BUFFER_BYTE_ALIGN)); in calc_allocation_size()
674 hw_align = lcm(hw_align, static_cast<uint32_t>(CAMERA_YUV_BUFFER_BYTE_ALIGN)); in calc_allocation_size()
680 hw_align = lcm(hw_align, static_cast<uint32_t>(BIG_BYTE_ALIGN_DEFAULT)); in calc_allocation_size()
692 uint32_t stride_align = lcm(hw_align, cpu_align); in calc_allocation_size()