Home
last modified time | relevance | path

Searched refs:compressionInfo (Results 1 – 9 of 9) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp366 CompressionInfo compressionInfo = {COMP_TYPE_NONE, 0}; in getCompressionInfo() local
368 if (handle == NULL) return compressionInfo; in getCompressionInfo()
371 compressionInfo.type = COMP_TYPE_AFBC; in getCompressionInfo()
372 compressionInfo.modifier = getFormatModifier(handle); in getCompressionInfo()
374 compressionInfo.type = COMP_TYPE_SBWC; in getCompressionInfo()
378 compressionInfo.modifier = SBWC_FORMAT_MOD_BLOCK_SIZE_32x5; in getCompressionInfo()
380 compressionInfo.modifier = SBWC_FORMAT_MOD_BLOCK_SIZE_32x4; in getCompressionInfo()
382 compressionInfo.type = COMP_TYPE_NONE; in getCompressionInfo()
385 return compressionInfo; in getCompressionInfo()
562 getFormatStr(img.format, img.compressionInfo.type).c_str()); in dumpExynosImage()
[all …]
DExynosHWCHelper.h402 CompressionInfo compressionInfo; member
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp377 if ((src.compressionInfo.type == COMP_TYPE_AFBC) && (src.transform != 0)) return false; in checkRotationCondition()
408 if (src.compressionInfo.type == COMP_TYPE_AFBC) { in isSupportedCompression()
1108 dst.compressionInfo.type, isFormatLossy(dst.format)); in needDstBufRealloc()
1116 (isAFBCCompressed(dst_handle) != (dst.compressionInfo.type == COMP_TYPE_AFBC)) || in needDstBufRealloc()
1148 (mPrevFrameInfo.srcInfo[i].compressionInfo.type != in canUsePrevFrame()
1149 mAssignedSources[i]->mSrcImg.compressionInfo.type) || in canUsePrevFrame()
1238 if (src.compressionInfo.type == COMP_TYPE_AFBC) { in setupLayer()
1239 if ((src.compressionInfo.modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK) == in setupLayer()
1809 img->compressionInfo.type = COMP_TYPE_AFBC; in getDstImageInfo()
1810 img->compressionInfo.modifier = AFBC_FORMAT_MOD_BLOCK_SIZE_16x16; in getDstImageInfo()
[all …]
DExynosResourceManager.cpp2289 if (mppSource->mSrcImg.compressionInfo.type == COMP_TYPE_AFBC) in deliverPerformanceInfo()
2798 ret = (srcImg.compressionInfo.type == COMP_TYPE_SBWC) ? 1 : 0; in needHWResource()
2801 ret = (srcImg.compressionInfo.type == COMP_TYPE_AFBC) ? 1 : 0; in needHWResource()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.cpp830 src_img->compressionInfo = mCompressionInfo; in setSrcExynosImage()
890 src_img->compressionInfo = mCompressionInfo; in setSrcExynosImage()
959 dst_img->compressionInfo.type = COMP_TYPE_NONE; in setDstExynosImage()
DExynosDisplay.cpp1919 cfg.compressionInfo = layer.mCompressionInfo; in configureHandle()
2029 cfg.compressionInfo = mpp_dst_img.compressionInfo; in configureHandle()
2270 config.compressionInfo = compositionInfo.mCompressionInfo; in configureOverlay()
3491 getFormatStr(image.format, image.compressionInfo.type).c_str()); in dumpBuffer()
3501 configFile << " format: " << getFormatStr(image.format, image.compressionInfo.type) << "\n"; in dumpBuffer()
3509 int bufferNumber = getBufferNumOfFormat(image.format, image.compressionInfo.type); in dumpBuffer()
5099 c.blending, c.protection, getCompressionStr(c.compressionInfo).c_str(), c.comp_src, in dumpConfig()
5168 getCompressionStr(c.compressionInfo).c_str(), c.comp_src, in dumpConfig()
5193 getCompressionStr(c.compressionInfo).c_str(), c.comp_src, in printConfig()
5235 src_img->compressionInfo = compositionInfo.mCompressionInfo; in setCompositionTargetExynosImage()
[all …]
DExynosDisplay.h229 CompressionInfo compressionInfo; member
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp196 auto exynosFormat = halFormatToExynosFormat(config.format, config.compressionInfo.type); in getBuffer()
227 if (config.compressionInfo.type == COMP_TYPE_AFBC) { in getBuffer()
228 uint64_t compressed_modifier = config.compressionInfo.modifier; in getBuffer()
240 } else if (config.compressionInfo.type == COMP_TYPE_SBWC) { in getBuffer()
241 modifiers[0] |= DRM_FORMAT_MOD_SAMSUNG_SBWC(config.compressionInfo.modifier); in getBuffer()
/hardware/google/graphics/zuma/libhwc2.1/libresource/
DExynosResourceManagerModule.cpp270 int32_t compressType = mppSrc->mSrcImg.compressionInfo.type; in calculateHWResourceAmount()