Lines Matching refs:ALIGN
241 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
250 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
251 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
257 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
258 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize()
265 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
266 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize()
270 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
273 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
283 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
301 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, SIZE_4K); in GetSize()
309 size = ALIGN(size, align) * layer_count; in GetSize()
339 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
343 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
347 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
442 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
708 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
711 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
714 size = (unsigned int)ALIGN((meta_width * meta_height), 4096); in GetRgbUBwcMetaBufferSize()
819 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
822 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
825 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
828 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
831 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
834 aligned_w = ALIGN(width, 8); in GetAlignedWidthAndHeight()
837 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
845 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
860 aligned_w = ALIGN(width, 64); in GetAlignedWidthAndHeight()
861 aligned_h = ALIGN(height, 64); in GetAlignedWidthAndHeight()