Lines Matching refs:ALIGN
229 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
237 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
238 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
244 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
245 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize()
252 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
253 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize()
257 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
260 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
270 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
288 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, SIZE_4K); in GetSize()
324 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
328 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
332 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
427 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
693 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
696 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
699 size = (unsigned int)ALIGN((meta_width * meta_height), 4096); in GetRgbUBwcMetaBufferSize()
804 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
807 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
810 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
813 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
816 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
819 aligned_w = ALIGN(width, 8); in GetAlignedWidthAndHeight()
822 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
830 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
845 aligned_w = ALIGN(width, 64); in GetAlignedWidthAndHeight()
846 aligned_h = ALIGN(height, 64); in GetAlignedWidthAndHeight()