Lines Matching refs:alignedw
264 unsigned int GetSize(const BufferInfo &info, unsigned int alignedw, unsigned int alignedh) { in GetSize() argument
277 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
280 size = alignedw * alignedh * bpp; in GetSize()
282 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize()
287 case HAL_PIXEL_FORMAT_Y16:size = alignedw * alignedh * 2; in GetSize()
290 case HAL_PIXEL_FORMAT_RAW12:size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
293 case HAL_PIXEL_FORMAT_Y8:size = alignedw * alignedh * 1; in GetSize()
297 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize()
304 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize()
305 size += ALIGN(alignedw * (unsigned int) ALIGN(height / 2, 32), SIZE_8K); in GetSize()
312 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize()
317 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize()
320 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize()
336 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize()
355 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, in GetSize()
370 int GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, in GetBufferSizeAndDimensions() argument
373 return GetBufferSizeAndDimensions(info, size, alignedw, alignedh, &graphics_metadata); in GetBufferSizeAndDimensions()
376 int GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, in GetBufferSizeAndDimensions() argument
380 return GetGpuResourceSizeAndDimensions(info, size, alignedw, alignedh, graphics_metadata); in GetBufferSizeAndDimensions()
382 GetAlignedWidthAndHeight(info, alignedw, alignedh); in GetBufferSizeAndDimensions()
383 *size = GetSize(info, *alignedw, *alignedh); in GetBufferSizeAndDimensions()
740 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw, in GetUBwcSize() argument
751 size = alignedw * alignedh * bpp; in GetUBwcSize()
818 unsigned int alignedw = 0, alignedh = 0; in GetCustomDimensions() local
822 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in GetCustomDimensions()
823 *stride = static_cast<int>(alignedw); in GetCustomDimensions()
852 void GetAlignedWidthAndHeight(const BufferInfo &info, unsigned int *alignedw, in GetAlignedWidthAndHeight() argument
865 AdrenoMemInfo::GetInstance()->AlignUnCompressedRGB(width, height, format, tile, alignedw, in GetAlignedWidthAndHeight()
872 GetYuvUBwcWidthAndHeight(width, height, format, alignedw, alignedh); in GetAlignedWidthAndHeight()
878 AdrenoMemInfo::GetInstance()->AlignCompressedRGB(width, height, format, alignedw, alignedh); in GetAlignedWidthAndHeight()
959 *alignedw = (unsigned int)aligned_w; in GetAlignedWidthAndHeight()
1056 unsigned int *alignedw, unsigned int *alignedh, in GetGpuResourceSizeAndDimensions() argument
1058 GetAlignedWidthAndHeight(info, alignedw, alignedh); in GetGpuResourceSizeAndDimensions()