Lines Matching refs:UVec2

48 using tcu::UVec2;
69 const UVec2& size_)
80 UVec2 size;
202 const UVec2& size,
499 UVec2 randomUVec2 (de::Random& rng,
500 const UVec2& min,
501 const UVec2& max)
503 UVec2 result;
514 const UVec2& srcSize,
516 const UVec2& dstSize,
545 const UVec2 srcBlockExtent (getBlockExtent(srcPlaneFormat));
546 const UVec2 srcPlaneExtent (getPlaneExtent(srcPlaneInfo, srcSize, srcPlaneNdx, 0));
547 const UVec2 srcPlaneBlockExtent (srcPlaneExtent / srcBlockExtent);
551 const UVec2 dstBlockExtent (getBlockExtent(dstPlaneFormat));
552 const UVec2 dstPlaneExtent (getPlaneExtent(dstPlaneInfo, dstSize, dstPlaneNdx, 0));
553 const UVec2 dstPlaneBlockExtent (dstPlaneExtent / dstBlockExtent);
555 const UVec2 copyBlockExtent (randomUVec2(rng, UVec2(1u, 1u), tcu::min(srcPlaneBlockExtent, dstPlaneBlockExtent)));
556 const UVec2 srcOffset (srcBlockExtent * randomUVec2(rng, UVec2(0u, 0u), srcPlaneBlockExtent - copyBlockExtent));
557 const UVec2 dstOffset (dstBlockExtent * randomUVec2(rng, UVec2(0u, 0u), dstPlaneBlockExtent - copyBlockExtent));
558 const UVec2 copyExtent (copyBlockExtent * srcBlockExtent);
849 const UVec2 srcPlaneExtent (getPlaneExtent(srcData.getDescription(), config.src.size, srcPlaneNdx, 0));
852 const UVec2 srcBlockExtent (getBlockExtent(srcPlaneFormat));
856 const UVec2 srcPlaneBlockExtent (srcPlaneExtent / srcBlockExtent);
857 const UVec2 srcBlockOffset (copy.srcOffset.x / srcBlockExtent.x(), copy.srcOffset.y / srcBlockExtent.y());
858 const UVec2 srcBlockPitch (blockSizeBytes, blockSizeBytes * srcPlaneBlockExtent.x());
863 const UVec2 dstPlaneExtent (getPlaneExtent(dstData.getDescription(), config.dst.size, dstPlaneNdx, 0));
866 const UVec2 dstBlockExtent (getBlockExtent(dstPlaneFormat));
868 const UVec2 dstPlaneBlockExtent (dstPlaneExtent / dstBlockExtent);
869 const UVec2 dstBlockOffset (copy.dstOffset.x / dstBlockExtent.x(), copy.dstOffset.y / dstBlockExtent.y());
870 const UVec2 dstBlockPitch (blockSizeBytes, blockSizeBytes * dstPlaneBlockExtent.x());
872 const UVec2 blockExtent (copy.extent.width / srcBlockExtent.x(), copy.extent.height / srcBlockExtent.y());
879 const deUint32 srcPos = tcu::dot(srcBlockPitch, UVec2(srcBlockOffset.x(), srcBlockOffset.y() + y));
880 const deUint32 dstPos = tcu::dot(dstBlockPitch, UVec2(dstBlockOffset.x(), dstBlockOffset.y() + y));
1053 const UVec2 srcSize (isYCbCrFormat(srcFormat) ? UVec2(24u, 16u) : UVec2(23u, 17u));
1060 const UVec2 dstSize (isYCbCrFormat(dstFormat) ? UVec2(24u, 16u) : UVec2(23u, 17u));
1118 const tcu::UVec2 imageDimensions[] =
1121 tcu::UVec2(4096, 4u),
1122 tcu::UVec2(8192, 4u),
1123 tcu::UVec2(16384, 4u),
1124 tcu::UVec2(32768, 4u),
1127 tcu::UVec2(4096, 6u),
1128 tcu::UVec2(8192, 6u),
1129 tcu::UVec2(16384, 6u),
1130 tcu::UVec2(32768, 6u),
1133 tcu::UVec2(4u, 4096),
1134 tcu::UVec2(4u, 8192),
1135 tcu::UVec2(4u, 16384),
1136 tcu::UVec2(4u, 32768),
1139 tcu::UVec2(6u, 4096),
1140 tcu::UVec2(6u, 8192),
1141 tcu::UVec2(6u, 16384),
1142 tcu::UVec2(6u, 32768)
1157 const UVec2 srcSize (imageDimensions[imageDimensionNdx]);
1158 const UVec2 dstSize (imageDimensions[imageDimensionNdx]);