Home
last modified time | relevance | path

Searched refs:ALIGN_UP (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/display/buffer/vdi_base/include/
H A Dhi_gbm_internal.h23 #define ALIGN_UP(x, a) ((((x) + ((a)-1)) / (a)) * (a)) macro
/drivers/peripheral/display/buffer/vdi_base/src/
H A Dhi_gbm.cpp134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in HdiGbmBoCreate()
135 dumb.width = ALIGN_UP(width, WIDTH_ALIGN); in HdiGbmBoCreate()
/drivers/peripheral/display/hal/default/
H A Ddisplay_gralloc.c38 #define ALIGN_UP(x, a) ((((x) + ((a) - 1)) / (a)) * (a)) macro
143 int32_t h = ALIGN_UP(info->height, HEIGHT_ALIGN); in InitBufferHandle()
150 stride = ALIGN_UP(AdjustStrideFromFormat(info->format, info->width), WIDTH_ALIGN) * in InitBufferHandle()

Completed in 2 milliseconds