Searched refs:w_aligned (Results 1 – 2 of 2) sorted by relevance
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_bufferallocation.cpp | 131 int w_aligned; in get_rgb_stride_and_size() local 138 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_BASIC_WIDTH_ALIGN); in get_rgb_stride_and_size() 144 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 150 w_aligned = GRALLOC_ALIGN(width, 64); in get_rgb_stride_and_size() 154 w_aligned = GRALLOC_ALIGN(width, AFBC_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 159 w_aligned = GRALLOC_ALIGN(width, AFBC_NORMAL_WIDTH_ALIGN); in get_rgb_stride_and_size() 162 stride = w_aligned * pixel_size; in get_rgb_stride_and_size() 175 nblocks = w_aligned / AFBC_PIXELS_PER_BLOCK * h_aligned / AFBC_PIXELS_PER_BLOCK; in get_rgb_stride_and_size()
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_bufferallocation.cpp | 131 int w_aligned; in get_rgb_stride_and_size() local 138 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_BASIC_WIDTH_ALIGN); in get_rgb_stride_and_size() 144 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 150 w_aligned = GRALLOC_ALIGN(width, 64); in get_rgb_stride_and_size() 154 w_aligned = GRALLOC_ALIGN(width, AFBC_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 159 w_aligned = GRALLOC_ALIGN(width, AFBC_NORMAL_WIDTH_ALIGN); in get_rgb_stride_and_size() 162 stride = w_aligned * pixel_size; in get_rgb_stride_and_size() 175 nblocks = w_aligned / AFBC_PIXELS_PER_BLOCK * h_aligned / AFBC_PIXELS_PER_BLOCK; in get_rgb_stride_and_size()
|