Lines Matching refs:ALIGN
263 case HAL_PIXEL_FORMAT_RAW12:size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
271 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
272 size += (unsigned int) ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
278 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
279 size += ALIGN(alignedw * (unsigned int) ALIGN(height / 2, 32), SIZE_8K); in GetSize()
286 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
287 size = ALIGN(size, (unsigned int) SIZE_4K); in GetSize()
291 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
294 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
310 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
329 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, in GetSize()
337 size = ALIGN(size, align) * info.layer_count; in GetSize()
369 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
373 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
377 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
399 uv_size = ALIGN((uv_stride * uv_height), alignment); in GetYuvUbwcInterlacedSPPlaneInfo()
518 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
675 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
678 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
681 size = (unsigned int)ALIGN((meta_width * meta_height), 4096); in GetRgbUBwcMetaBufferSize()
841 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
844 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
849 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
852 aligned_w = ALIGN(width * 12 / 8, 16); in GetAlignedWidthAndHeight()
860 aligned_w = ALIGN(width * 10 / 8, raw10_alignment); in GetAlignedWidthAndHeight()
864 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
867 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
875 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
894 aligned_w = ALIGN(width, 64); in GetAlignedWidthAndHeight()
895 aligned_h = ALIGN(height, 64); in GetAlignedWidthAndHeight()