Lines Matching refs:bpp
115 uint32_t bpp = 0; in GetBppForUncompressedRGB() local
118 bpp = 8; in GetBppForUncompressedRGB()
132 bpp = 4; in GetBppForUncompressedRGB()
136 bpp = 3; in GetBppForUncompressedRGB()
142 bpp = 2; in GetBppForUncompressedRGB()
149 return bpp; in GetBppForUncompressedRGB()
191 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local
192 size = alignedw * alignedh * bpp; in GetSize()
336 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument
340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
346 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo()
557 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument
561 switch (bpp) { in GetRgbUBwcBlockSize()
576 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize()
581 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument
586 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize()
588 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcMetaBufferSize()
607 uint32_t bpp = 0; in GetUBwcSize() local
614 bpp = GetBppForUncompressedRGB(format); in GetUBwcSize()
615 size = alignedw * alignedh * bpp; in GetUBwcSize()
616 size += GetRgbUBwcMetaBufferSize(width, height, bpp); in GetUBwcSize()
652 uint32_t bpp = GetBppForUncompressedRGB(hnd->format); in GetRgbDataAddress() local
659 meta_size = GetRgbUBwcMetaBufferSize(hnd->width, hnd->height, bpp); in GetRgbDataAddress()