Lines Matching refs:bpp

145   uint32_t bpp = 0;  in GetBppForUncompressedRGB()  local
148 bpp = 8; in GetBppForUncompressedRGB()
162 bpp = 4; in GetBppForUncompressedRGB()
166 bpp = 3; in GetBppForUncompressedRGB()
172 bpp = 2; in GetBppForUncompressedRGB()
179 return bpp; in GetBppForUncompressedRGB()
252 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local
253 size = alignedw * alignedh * bpp; in GetSize()
409 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument
413 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
419 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo()
639 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument
643 switch (bpp) { in GetRgbUBwcBlockSize()
658 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize()
663 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument
668 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize()
670 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcMetaBufferSize()
689 uint32_t bpp = 0; in GetUBwcSize() local
696 bpp = GetBppForUncompressedRGB(format); in GetUBwcSize()
697 size = alignedw * alignedh * bpp; in GetUBwcSize()
698 size += GetRgbUBwcMetaBufferSize(width, height, bpp); in GetUBwcSize()
734 uint32_t bpp = GetBppForUncompressedRGB(hnd->format); in GetRgbDataAddress() local
741 meta_size = GetRgbUBwcMetaBufferSize(hnd->width, hnd->height, bpp); in GetRgbDataAddress()