Home
last modified time | relevance | path

Searched refs:srcImg (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/host/vulkan/emulated_textures/
DCompressedImageInfo.h46 const CompressedImageInfo& srcImg,
50 const CompressedImageInfo& srcImg,
DCompressedImageInfo.cpp564 const CompressedImageInfo& srcImg, in getCompressedMipmapsImageCopy() argument
572 region.srcOffset.x /= srcImg.mBlock.width; in getCompressedMipmapsImageCopy()
573 region.srcOffset.y /= srcImg.mBlock.height; in getCompressedMipmapsImageCopy()
574 region.extent = srcImg.compressedMipmapPortion(region.extent, mipLevel); in getCompressedMipmapsImageCopy()
585 const CompressedImageInfo& srcImg, in getCompressedMipmapsImageCopy() argument
593 region.srcOffset.x /= srcImg.mBlock.width; in getCompressedMipmapsImageCopy()
594 region.srcOffset.y /= srcImg.mBlock.height; in getCompressedMipmapsImageCopy()
595 region.extent = srcImg.compressedMipmapPortion(region.extent, mipLevel); in getCompressedMipmapsImageCopy()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.h207 const uint32_t layerIndex, const exynos_image &srcImg,
232 bool needHdrProcessing(ExynosDisplay *display, exynos_image &srcImg, exynos_image &dstImg);
233 uint32_t needHWResource(ExynosDisplay *display, exynos_image &srcImg, exynos_image &dstImg,
DExynosResourceManager.cpp1127 const exynos_image &srcImg, in validateRCDLayer() argument
1129 if (CC_UNLIKELY(srcImg.bufferHandle == NULL || srcImg.format != HAL_PIXEL_FORMAT_GOOGLE_R_8)) { in validateRCDLayer()
1138 if (srcImg.transform & (HAL_TRANSFORM_ROT_90 | HAL_TRANSFORM_ROT_180)) { in validateRCDLayer()
1143 if (srcImg.w != dstImg.w || srcImg.h != dstImg.h) { in validateRCDLayer()
2783 bool ExynosResourceManager::needHdrProcessing(ExynosDisplay *display, exynos_image &srcImg, in needHdrProcessing() argument
2791 uint32_t ExynosResourceManager::needHWResource(ExynosDisplay *display, exynos_image &srcImg, in needHWResource() argument
2798 ret = (srcImg.compressionInfo.type == COMP_TYPE_SBWC) ? 1 : 0; in needHWResource()
2801 ret = (srcImg.compressionInfo.type == COMP_TYPE_AFBC) ? 1 : 0; in needHWResource()
2804 ret = (isFormatYUV(srcImg.format)) ? 1 : 0; in needHWResource()
2807 ret = (srcImg.needPreblending) ? 1 : 0; in needHWResource()
[all …]
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp3457 auto* srcImg = android::base::find(mImageInfo, srcImage); in on_vkCmdCopyImage() local
3459 if (!srcImg || !dstImg) return; in on_vkCmdCopyImage()
3461 VkDevice device = srcImg->cmpInfo.device(); in on_vkCmdCopyImage()
3465 bool needEmulatedSrc = deviceInfo->needEmulatedDecompression(srcImg->cmpInfo); in on_vkCmdCopyImage()
3476 srcImageMip = srcImg->cmpInfo.compressedMipmap(pRegions[r].srcSubresource.mipLevel); in on_vkCmdCopyImage()
3482 pRegions[r], srcImg->cmpInfo, dstImg->cmpInfo, needEmulatedSrc, needEmulatedDst); in on_vkCmdCopyImage()
3522 auto* srcImg = android::base::find(mImageInfo, pCopyImageInfo->srcImage); in on_vkCmdCopyImage2() local
3524 if (!srcImg || !dstImg) return; in on_vkCmdCopyImage2()
3526 VkDevice device = srcImg->cmpInfo.device(); in on_vkCmdCopyImage2()
3530 bool needEmulatedSrc = deviceInfo->needEmulatedDecompression(srcImg->cmpInfo); in on_vkCmdCopyImage2()
[all …]
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp1301 exynos_image srcImg; in doPreProcessing() local
1303 mLayers[i]->setSrcExynosImage(&srcImg); in doPreProcessing()
1305 mLayers[i]->setExynosImage(srcImg, dstImg); in doPreProcessing()
1838 struct exynos_image srcImg, dstImg; in doExynosComposition() local
1839 mLayers[i]->setSrcExynosImage(&srcImg); in doExynosComposition()
1840 dumpExynosImage(eDebugFence, srcImg); in doExynosComposition()
1842 mLayers[i]->setExynosImage(srcImg, dstImg); in doExynosComposition()
3822 struct exynos_image srcImg, dstImg, midImg; in presentDisplay() local
3823 mLayers[i]->setSrcExynosImage(&srcImg); in presentDisplay()
3825 mLayers[i]->setExynosImage(srcImg, dstImg); in presentDisplay()
[all …]