Lines Matching refs:gmeta
1296 VendorGraphicBufferMeta gmeta(handle); in doPreProcessing() local
2007 VendorGraphicBufferMeta gmeta(handle); in configureHandle() local
2010 cfg.format = gmeta.format; in configureHandle()
2014 cfg.buffer_id = gmeta.unique_id; in configureHandle()
2015 cfg.fd_idma[0] = gmeta.fd; in configureHandle()
2016 cfg.fd_idma[1] = gmeta.fd1; in configureHandle()
2017 cfg.fd_idma[2] = gmeta.fd2; in configureHandle()
2018 cfg.protection = (getDrmMode(gmeta.producer_usage) == SECURE_DRM) ? 1 : 0; in configureHandle()
2114 getBufferNumOfFormat(gmeta.format, getCompressionType(handle)); in configureHandle()
2117 __func__, gmeta.format); in configureHandle()
2190 uint64_t bufSize = gmeta.size * formatToBpp(gmeta.format); in configureHandle()
2193 if (!isFormatLossy(gmeta.format) && (bufSize < srcSize)) { in configureHandle()
2195 __func__, gmeta.size, gmeta.format, cfg.src.f_w, cfg.src.f_h, cfg.format); in configureHandle()
2219 VendorGraphicBufferMeta gmeta(compositionInfo.mTargetBuffer); in configureOverlay() local
2251 config.buffer_id = gmeta.unique_id; in configureOverlay()
2252 config.fd_idma[0] = gmeta.fd; in configureOverlay()
2253 config.fd_idma[1] = gmeta.fd1; in configureOverlay()
2254 config.fd_idma[2] = gmeta.fd2; in configureOverlay()
2255 config.protection = (getDrmMode(gmeta.producer_usage) == SECURE_DRM) ? 1 : 0; in configureOverlay()
2262 config.format = gmeta.format; in configureOverlay()
2267 config.src.f_w = gmeta.stride; in configureOverlay()
2268 config.src.f_h = gmeta.vstride; in configureOverlay()
2402 uint64_t bufSize = gmeta.size * formatToBpp(gmeta.format); in configureOverlay()
2404 if (!isFormatLossy(gmeta.format) && (bufSize < srcSize)) { in configureOverlay()
2406 __func__, gmeta.size, gmeta.format, config.src.f_w, config.src.f_h, config.format); in configureOverlay()
3466 VendorGraphicBufferMeta gmeta(image.bufferHandle); in dumpBuffer() local
3479 infoDump.appendFormat("\nfd[%d, %d, %d] size[%d, %d, %d]\n", gmeta.fd, gmeta.fd1, gmeta.fd2, in dumpBuffer()
3480 gmeta.size, gmeta.size1, gmeta.size2); in dumpBuffer()
3481 infoDump.appendFormat(" offset[%d, %d, %d] format:%d framework_format:%d\n", gmeta.offset, in dumpBuffer()
3482 gmeta.offset1, gmeta.offset2, gmeta.format, gmeta.frameworkFormat); in dumpBuffer()
3483 infoDump.appendFormat(" width:%d height:%d stride:%d vstride:%d\n", gmeta.width, gmeta.height, in dumpBuffer()
3484 gmeta.stride, gmeta.vstride); in dumpBuffer()
3486 gmeta.producer_usage, gmeta.consumer_usage, gmeta.flags); in dumpBuffer()
3502 configFile << " width: " << gmeta.width << "\n"; in dumpBuffer()
3503 configFile << " height: " << gmeta.height << "\n"; in dumpBuffer()
3504 auto usage = gmeta.producer_usage | gmeta.consumer_usage; in dumpBuffer()
3511 if (gmeta.fds[i] <= 0) { in dumpBuffer()
3512 ALOGE("%s: gmeta.fds[%d]=%d is invalid", __func__, i, gmeta.fds[i]); in dumpBuffer()
3515 if (gmeta.sizes[i] <= 0) { in dumpBuffer()
3516 ALOGE("%s: gmeta.sizes[%d]=%d is invalid", __func__, i, gmeta.sizes[i]); in dumpBuffer()
3519 auto addr = mmap(0, gmeta.sizes[i], PROT_READ | PROT_WRITE, MAP_SHARED, gmeta.fds[i], 0); in dumpBuffer()
3521 bufferFile.write(static_cast<char*>(addr), gmeta.sizes[i]); in dumpBuffer()
3522 munmap(addr, gmeta.sizes[i]); in dumpBuffer()
3524 ALOGE("%s: failed to mmap fds[%d]:%d for %s", __func__, i, gmeta.fds[i]); in dumpBuffer()
4094 VendorGraphicBufferMeta gmeta(handle); in setClientTarget() local
4097 handle, gmeta.fd, gmeta.fd1, gmeta.fd2); in setClientTarget()
4099 ((mClientCompositionInfo.mLastWinConfigData.fd_idma[0] != gmeta.fd) || in setClientTarget()
4100 (mClientCompositionInfo.mLastWinConfigData.fd_idma[1] != gmeta.fd1) || in setClientTarget()
4101 (mClientCompositionInfo.mLastWinConfigData.fd_idma[2] != gmeta.fd2))) { in setClientTarget()
4107 gmeta.fd, gmeta.fd1, gmeta.fd2); in setClientTarget()
5221 VendorGraphicBufferMeta gmeta(compositionInfo.mTargetBuffer); in setCompositionTargetExynosImage() local
5222 src_img->format = gmeta.format; in setCompositionTargetExynosImage()
5223 src_img->usageFlags = gmeta.producer_usage; in setCompositionTargetExynosImage()