Lines Matching refs:bpp
230 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local
231 size = alignedw * alignedh * bpp; in GetSize()
356 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument
360 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
366 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo()
672 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument
676 switch (bpp) { in GetRgbUBwcBlockSize()
691 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize()
696 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument
701 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize()
703 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcMetaBufferSize()
722 uint32_t bpp = 0; in GetUBwcSize() local
729 bpp = GetBppForUncompressedRGB(format); in GetUBwcSize()
730 size = alignedw * alignedh * bpp; in GetUBwcSize()
731 size += GetRgbUBwcMetaBufferSize(width, height, bpp); in GetUBwcSize()
764 uint32_t bpp = GetBppForUncompressedRGB(hnd->format); in GetRgbDataAddress() local
771 meta_size = GetRgbUBwcMetaBufferSize(hnd->width, hnd->height, bpp); in GetRgbDataAddress()