Lines Matching refs:ALIGN
209 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
218 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
219 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
225 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
226 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize()
233 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
234 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize()
238 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
241 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
252 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
270 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, SIZE_4K); in GetSize()
297 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
305 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
327 uv_size = ALIGN((uv_stride * uv_height), alignment); in GetYuvUbwcInterlacedSPPlaneInfo()
441 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
593 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
596 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
599 size = (unsigned int)ALIGN((meta_width * meta_height), 4096); in GetRgbUBwcMetaBufferSize()
715 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
718 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
723 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
726 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
729 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
732 aligned_w = ALIGN(width, 8); in GetAlignedWidthAndHeight()
735 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
743 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
758 aligned_w = ALIGN(width, 64); in GetAlignedWidthAndHeight()
759 aligned_h = ALIGN(height, 64); in GetAlignedWidthAndHeight()