Lines Matching refs:bpp
231 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local
232 size = alignedw * alignedh * bpp; in GetSize()
357 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument
361 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
367 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo()
674 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument
678 switch (bpp) { in GetRgbUBwcBlockSize()
693 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize()
698 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument
703 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize()
705 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcMetaBufferSize()
724 uint32_t bpp = 0; in GetUBwcSize() local
731 bpp = GetBppForUncompressedRGB(format); in GetUBwcSize()
732 size = alignedw * alignedh * bpp; in GetUBwcSize()
733 size += GetRgbUBwcMetaBufferSize(width, height, bpp); in GetUBwcSize()
766 uint32_t bpp = GetBppForUncompressedRGB(hnd->format); in GetRgbDataAddress() local
773 meta_size = GetRgbUBwcMetaBufferSize(hnd->width, hnd->height, bpp); in GetRgbDataAddress()