Searched refs:hw_align (Results 1 – 2 of 2) sorted by relevance
561 uint16_t hw_align = 0; in calc_allocation_size() local569 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()
518 uint16_t hw_align = 0; in calc_allocation_size() local521 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()