Lines Matching refs:ALIGN
228 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
236 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
237 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
243 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
244 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize()
251 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
252 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize()
256 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
259 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
269 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
287 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, SIZE_4K); in GetSize()
323 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
327 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
331 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
426 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
691 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
694 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
697 size = (unsigned int)ALIGN((meta_width * meta_height), 4096); in GetRgbUBwcMetaBufferSize()
802 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
805 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
808 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
811 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
814 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
817 aligned_w = ALIGN(width, 8); in GetAlignedWidthAndHeight()
820 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
828 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
843 aligned_w = ALIGN(width, 64); in GetAlignedWidthAndHeight()
844 aligned_h = ALIGN(height, 64); in GetAlignedWidthAndHeight()