Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp444 uint32_t stride_align, in update_yv12_stride() argument
449 *byte_stride = GRALLOC_ALIGN(luma_stride, GRALLOC_ALIGN(stride_align, 32)); in update_yv12_stride()
459 assert(*byte_stride == GRALLOC_ALIGN(*byte_stride, GRALLOC_ALIGN(stride_align / 2, 16))); in update_yv12_stride()
487 …lane_stride(plane_info_t *plane_info, int plane, const format_info_t format, uint32_t stride_align) in align_plane_stride() argument
489 …ide = GRALLOC_ALIGN(plane_info[plane].byte_stride * format.tile_size, stride_align) / format.tile_… in align_plane_stride()
599 uint32_t stride_align = lcm(hw_align, cpu_align); in calc_allocation_size() local
600 if (stride_align) in calc_allocation_size()
602 align_plane_stride(plane_info, plane, format, stride_align); in calc_allocation_size()
618 stride_align, in calc_allocation_size()
/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_bufferallocation.cpp430 uint32_t stride_align, in update_yv12_stride() argument
440 *byte_stride = GRALLOC_ALIGN(luma_stride, 2 * stride_align); in update_yv12_stride()
450 assert(*byte_stride == GRALLOC_ALIGN(*byte_stride, stride_align)); in update_yv12_stride()
529 uint32_t stride_align = lcm(hw_align, cpu_align); in calc_allocation_size() local
530 if (stride_align) in calc_allocation_size()
532 plane_info[plane].byte_stride = GRALLOC_ALIGN(plane_info[plane].byte_stride, stride_align); in calc_allocation_size()