Lines Matching refs:bpp

147   uint32_t bpp = 0;  in GetBppForUncompressedRGB()  local
150 bpp = 8; in GetBppForUncompressedRGB()
164 bpp = 4; in GetBppForUncompressedRGB()
168 bpp = 3; in GetBppForUncompressedRGB()
174 bpp = 2; in GetBppForUncompressedRGB()
181 return bpp; in GetBppForUncompressedRGB()
279 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local
280 size = alignedw * alignedh * bpp; in GetSize()
439 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument
443 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
449 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo()
693 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument
697 switch (bpp) { in GetRgbUBwcBlockSize()
712 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize()
717 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument
722 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize()
724 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcMetaBufferSize()
743 uint32_t bpp = 0; in GetUBwcSize() local
750 bpp = GetBppForUncompressedRGB(format); in GetUBwcSize()
751 size = alignedw * alignedh * bpp; in GetUBwcSize()
752 size += GetRgbUBwcMetaBufferSize(width, height, bpp); in GetUBwcSize()
788 uint32_t bpp = GetBppForUncompressedRGB(hnd->format); in GetRgbDataAddress() local
795 meta_size = GetRgbUBwcMetaBufferSize(hnd->width, hnd->height, bpp); in GetRgbDataAddress()