Lines Matching refs:ALIGN
242 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
251 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
252 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
258 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
259 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize()
266 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
267 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize()
271 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
274 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
284 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
302 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, SIZE_4K); in GetSize()
310 size = ALIGN(size, align) * layer_count; in GetSize()
340 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
344 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
348 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
443 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
710 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
713 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
716 size = (unsigned int)ALIGN((meta_width * meta_height), 4096); in GetRgbUBwcMetaBufferSize()
821 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
824 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
827 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
830 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
838 aligned_w = ALIGN(width * 10 / 8, raw10_alignment); in GetAlignedWidthAndHeight()
842 aligned_w = ALIGN(width, 8); in GetAlignedWidthAndHeight()
845 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
853 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
869 aligned_w = ALIGN(width, 64); in GetAlignedWidthAndHeight()
870 aligned_h = ALIGN(height, 64); in GetAlignedWidthAndHeight()