• Home
  • Raw
  • Download

Lines Matching refs:dstFormat

170 				   vk::VkFormat	dstFormat)  in isCompatible()  argument
172 if (srcFormat == dstFormat) in isCompatible()
335 && de::contains(DE_ARRAY_BEGIN(class8Bit), DE_ARRAY_END(class8Bit), dstFormat)) in isCompatible()
339 && de::contains(DE_ARRAY_BEGIN(class16Bit), DE_ARRAY_END(class16Bit), dstFormat)) in isCompatible()
343 && de::contains(DE_ARRAY_BEGIN(class24Bit), DE_ARRAY_END(class24Bit), dstFormat)) in isCompatible()
347 && de::contains(DE_ARRAY_BEGIN(class32Bit), DE_ARRAY_END(class32Bit), dstFormat)) in isCompatible()
351 && de::contains(DE_ARRAY_BEGIN(class48Bit), DE_ARRAY_END(class48Bit), dstFormat)) in isCompatible()
355 && de::contains(DE_ARRAY_BEGIN(class64Bit), DE_ARRAY_END(class64Bit), dstFormat)) in isCompatible()
359 && de::contains(DE_ARRAY_BEGIN(class96Bit), DE_ARRAY_END(class96Bit), dstFormat)) in isCompatible()
363 && de::contains(DE_ARRAY_BEGIN(class128Bit), DE_ARRAY_END(class128Bit), dstFormat)) in isCompatible()
367 && de::contains(DE_ARRAY_BEGIN(class192Bit), DE_ARRAY_END(class192Bit), dstFormat)) in isCompatible()
371 && de::contains(DE_ARRAY_BEGIN(class256Bit), DE_ARRAY_END(class256Bit), dstFormat)) in isCompatible()
455 vk::VkFormat dstFormat, in genCopies() argument
461 const vk::PlanarFormatDescription dstPlaneInfo (vk::getPlanarFormatDescription(dstFormat)); in genCopies()
770 bool isCopyCompatible (vk::VkFormat srcFormat, vk::VkFormat dstFormat) in isCopyCompatible() argument
772 if (isYCbCrFormat(srcFormat) && isYCbCrFormat(dstFormat)) in isCopyCompatible()
775 const vk::PlanarFormatDescription dstPlaneInfo (vk::getPlanarFormatDescription(dstFormat)); in isCopyCompatible()
782 const vk::VkFormat dstPlaneFormat (getPlaneCompatibleFormat(dstFormat, dstPlaneNdx)); in isCopyCompatible()
797 if (isCompatible(srcPlaneFormat, dstFormat)) in isCopyCompatible()
801 else if (isYCbCrFormat(dstFormat)) in isCopyCompatible()
803 const vk::PlanarFormatDescription dstPlaneInfo (vk::getPlanarFormatDescription(dstFormat)); in isCopyCompatible()
807 const vk::VkFormat dstPlaneFormat (getPlaneCompatibleFormat(dstFormat, dstPlaneNdx)); in isCopyCompatible()
814 return isCompatible(srcFormat, dstFormat); in isCopyCompatible()
903 const vk::VkFormat dstFormat (ycbcrFormats[dstFormatNdx]); in initYcbcrDefaultCopyTests() local
904 const UVec2 dstSize (isYCbCrFormat(dstFormat) ? UVec2(24u, 16u) : UVec2(23u, 17u)); in initYcbcrDefaultCopyTests()
905 const string dstFormatName (de::toLower(std::string(getFormatName(dstFormat)).substr(10))); in initYcbcrDefaultCopyTests()
907 if ((!vk::isYCbCrFormat(srcFormat) && !vk::isYCbCrFormat(dstFormat)) in initYcbcrDefaultCopyTests()
908 || !isCopyCompatible(srcFormat, dstFormat)) in initYcbcrDefaultCopyTests()
928 … (ImageConfig(srcFormat, srcTiling, srcDisjoint, srcSize), ImageConfig(dstFormat, dstTiling, dstD… in initYcbcrDefaultCopyTests()
1013 const vk::VkFormat dstFormat (testFormats[dstFormatNdx]); in initYcbcrDimensionsCopyTests() local
1014 const string dstFormatName (de::toLower(std::string(getFormatName(dstFormat)).substr(10))); in initYcbcrDimensionsCopyTests()
1016 if ((!vk::isYCbCrFormat(srcFormat) && !vk::isYCbCrFormat(dstFormat)) in initYcbcrDimensionsCopyTests()
1017 || !isCopyCompatible(srcFormat, dstFormat)) in initYcbcrDimensionsCopyTests()
1037 … (ImageConfig(srcFormat, srcTiling, srcDisjoint, srcSize), ImageConfig(dstFormat, dstTiling, dstD… in initYcbcrDimensionsCopyTests()