Lines Matching refs:alignedw
237 unsigned int GetSize(const BufferInfo &info, unsigned int alignedw, unsigned int alignedh) { in GetSize() argument
250 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
253 size = alignedw * alignedh * bpp; in GetSize()
255 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize()
260 case HAL_PIXEL_FORMAT_Y16:size = alignedw * alignedh * 2; in GetSize()
263 case HAL_PIXEL_FORMAT_RAW12:size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
266 case HAL_PIXEL_FORMAT_Y8:size = alignedw * alignedh * 1; in GetSize()
271 size = ALIGN(alignedw * alignedh, 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()
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()
341 void GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, in GetBufferSizeAndDimensions() argument
344 GetBufferSizeAndDimensions(info, size, alignedw, alignedh, &graphics_metadata); in GetBufferSizeAndDimensions()
347 void GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, in GetBufferSizeAndDimensions() argument
351 GetGpuResourceSizeAndDimensions(info, size, alignedw, alignedh, graphics_metadata); in GetBufferSizeAndDimensions()
353 GetAlignedWidthAndHeight(info, alignedw, alignedh); in GetBufferSizeAndDimensions()
354 *size = GetSize(info, *alignedw, *alignedh); in GetBufferSizeAndDimensions()
686 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw, in GetUBwcSize() argument
697 size = alignedw * alignedh * bpp; in GetUBwcSize()
764 unsigned int alignedw = 0, alignedh = 0; in GetCustomDimensions() local
768 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in GetCustomDimensions()
769 *stride = static_cast<int>(alignedw); in GetCustomDimensions()
798 void GetAlignedWidthAndHeight(const BufferInfo &info, unsigned int *alignedw, in GetAlignedWidthAndHeight() argument
811 AdrenoMemInfo::GetInstance()->AlignUnCompressedRGB(width, height, format, tile, alignedw, in GetAlignedWidthAndHeight()
818 GetYuvUBwcWidthAndHeight(width, height, format, alignedw, alignedh); in GetAlignedWidthAndHeight()
824 AdrenoMemInfo::GetInstance()->AlignCompressedRGB(width, height, format, alignedw, alignedh); in GetAlignedWidthAndHeight()
901 *alignedw = (unsigned int)aligned_w; in GetAlignedWidthAndHeight()
994 unsigned int *alignedw, unsigned int *alignedh, in GetGpuResourceSizeAndDimensions() argument
996 GetAlignedWidthAndHeight(info, alignedw, alignedh); in GetGpuResourceSizeAndDimensions()