Searched refs:formatToBpp (Results 1 – 6 of 6) sorted by relevance
147 uint8_t formatToBpp(int format) in formatToBpp() function695 return (formatToBpp(format) / 8); in getBytePerPixelOfPrimaryPlane()1309 if (color_type != PNG_COLOR_TYPE_RGB_ALPHA || bpp != formatToBpp(gmeta.format)) { in load_png_image()1312 filepath, color_type, PNG_COLOR_TYPE_RGB_ALPHA, bpp, formatToBpp(gmeta.format)); in load_png_image()1318 size_t bufferHandleSize = gmeta.stride * gmeta.vstride * formatToBpp(gmeta.format) / 8; in load_png_image()1331 int strideBytes = gmeta.stride * (formatToBpp(gmeta.format) / 8); in load_png_image()
440 uint8_t formatToBpp(int format);
319 if (formatToBpp(format) > 16) { in calculateHWResourceAmount()
1121 gmeta.stride * gmeta.vstride * formatToBpp(gmeta.format)/8; in saveToFile()
2190 uint64_t bufSize = gmeta.size * formatToBpp(gmeta.format); in configureHandle()2191 uint64_t srcSize = cfg.src.f_w * cfg.src.f_h * formatToBpp(cfg.format); in configureHandle()2402 uint64_t bufSize = gmeta.size * formatToBpp(gmeta.format); in configureOverlay()2403 uint64_t srcSize = config.src.f_w * config.src.f_h * formatToBpp(config.format); in configureOverlay()
1112 (formatToBpp(gmeta.format) < formatToBpp(dst.format)) || in needDstBufRealloc()