• Home
  • Raw
  • Download

Lines Matching refs:Interval

52 using tcu::Interval;
859 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
875 …const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend… in getChannel()
878 return tcu::Interval(de::max(-1.0, result.lo()), de::max(-1.0, result.hi())); in getChannel()
890 return tcu::Interval(); in getChannel()
895 return tcu::Interval(); in getChannel()
1255 tcu::Interval rangeExpandChroma (vk::VkSamplerYcbcrRange range, in rangeExpandChroma()
1258 const tcu::Interval& sample) in rangeExpandChroma()
1265 …return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u <<… in rangeExpandChroma()
1269 …const tcu::Interval a (conversionFormat.roundOut(sample * tcu::Interval((double)(values - 1u)), … in rangeExpandChroma()
1270 …const tcu::Interval dividend (conversionFormat.roundOut(a - tcu::Interval((double)(128u * (0x1u <<… in rangeExpandChroma()
1271 const tcu::Interval divisor ((double)(224u * (0x1u << (bits - 8u)))); in rangeExpandChroma()
1272 const tcu::Interval result (conversionFormat.roundOut(dividend / divisor, false)); in rangeExpandChroma()
1279 return tcu::Interval(); in rangeExpandChroma()
1283 tcu::Interval rangeExpandLuma (vk::VkSamplerYcbcrRange range, in rangeExpandLuma()
1286 const tcu::Interval& sample) in rangeExpandLuma()
1297 …const tcu::Interval a (conversionFormat.roundOut(sample * tcu::Interval((double)(values - 1u)), … in rangeExpandLuma()
1298 …const tcu::Interval dividend (conversionFormat.roundOut(a - tcu::Interval((double)(16u * (0x1u << … in rangeExpandLuma()
1299 const tcu::Interval divisor ((double)(219u * (0x1u << (bits - 8u)))); in rangeExpandLuma()
1300 const tcu::Interval result (conversionFormat.roundOut(dividend / divisor, false)); in rangeExpandLuma()
1307 return tcu::Interval(); in rangeExpandLuma()
1311 tcu::Interval clampMaybe (const tcu::Interval& x, in clampMaybe()
1315 tcu::Interval result = x; in clampMaybe()
1320 result = result | tcu::Interval(min); in clampMaybe()
1323 result = result | tcu::Interval(max); in clampMaybe()
1332 const tcu::Interval input[4], in convertColor()
1333 tcu::Interval output[4]) in convertColor()
1357 const tcu::Interval y (rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1])); in convertColor()
1358 const tcu::Interval cr (rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0])); in convertColor()
1359 const tcu::Interval cb (rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2])); in convertColor()
1361 const tcu::Interval yClamped (clampMaybe(y, 0.0, 1.0)); in convertColor()
1362 const tcu::Interval crClamped (clampMaybe(cr, -0.5, 0.5)); in convertColor()
1363 const tcu::Interval cbClamped (clampMaybe(cb, -0.5, 0.5)); in convertColor()
1409 tcu::Interval frac (const tcu::Interval& x) in frac()
1412 return tcu::Interval(0.0, 1.0); in frac()
1415 const tcu::Interval ret (deFrac(x.lo()), deFrac(x.hi())); in frac()
1421 tcu::Interval calculateUV (const tcu::FloatFormat& coordFormat, in calculateUV()
1422 const tcu::Interval& st, in calculateUV()
1425 return coordFormat.roundOut(coordFormat.roundOut(st, false) * tcu::Interval((double)size), false); in calculateUV()
1429 const tcu::Interval& uv) in calculateNearestIJRange()
1431 …const tcu::Interval ij (coordFormat.roundOut(coordFormat.roundOut(uv, false) - tcu::Interval(0.5),… in calculateNearestIJRange()
1438 const tcu::Interval& uv) in calculateLinearIJRange()
1440 const tcu::Interval ij (coordFormat.roundOut(uv - tcu::Interval(0.5), false)); in calculateLinearIJRange()
1447 const tcu::Interval& uv) in calculateIJRange()
1454 tcu::Interval calculateAB (const deUint32 subTexelPrecisionBits, in calculateAB()
1455 const tcu::Interval& uv, in calculateAB()
1459 const tcu::Interval ab (frac((uv - 0.5) & tcu::Interval((double)ij, (double)(ij + 1)))); in calculateAB()
1460 const tcu::Interval gridAB (ab * tcu::Interval(subdivisions)); in calculateAB()
1461 …const tcu::Interval rounded (de::max(deFloor(gridAB.lo()) / subdivisions, 0.0) , de::min(deCeil(… in calculateAB()
1466 tcu::Interval lookupWrapped (const ChannelAccess& access, in lookupWrapped()
1476 tcu::Interval linearInterpolate (const tcu::FloatFormat& filteringFormat, in linearInterpolate()
1477 const tcu::Interval& a, in linearInterpolate()
1478 const tcu::Interval& b, in linearInterpolate()
1479 const tcu::Interval& p00, in linearInterpolate()
1480 const tcu::Interval& p10, in linearInterpolate()
1481 const tcu::Interval& p01, in linearInterpolate()
1482 const tcu::Interval& p11) in linearInterpolate()
1484 const tcu::Interval p[4] = in linearInterpolate()
1491 tcu::Interval result (0.0); in linearInterpolate()
1495 const tcu::Interval weightA (filteringFormat.roundOut((ndx % 2) == 0 ? (1.0 - a) : a, false)); in linearInterpolate()
1496 const tcu::Interval weightB (filteringFormat.roundOut((ndx / 2) == 0 ? (1.0 - b) : b, false)); in linearInterpolate()
1497 const tcu::Interval weight (filteringFormat.roundOut(weightA * weightB, false)); in linearInterpolate()
1505 tcu::Interval calculateImplicitChromaUV (const tcu::FloatFormat& coordFormat, in calculateImplicitChromaUV()
1507 const tcu::Interval& uv) in calculateImplicitChromaUV()
1515 tcu::Interval linearSample (const ChannelAccess& access, in linearSample()
1521 const tcu::Interval& a, in linearSample()
1522 const tcu::Interval& b) in linearSample()
1531 tcu::Interval reconstructLinearXChromaSample (const tcu::FloatFormat& filteringFormat, in reconstructLinearXChromaSample()
1547 …const tcu::Interval A (filteringFormat.roundOut( a * lookupWrapped(access, conversionFormat… in reconstructLinearXChromaSample()
1548 …const tcu::Interval B (filteringFormat.roundOut((1.0 - a) * lookupWrapped(access, conversionFormat… in reconstructLinearXChromaSample()
1552 tcu::Interval reconstructLinearXYChromaSample (const tcu::FloatFormat& filteringFormat, in reconstructLinearXYChromaSample()
1697 Interval bounds[4]; in calculateBounds()
1699 const Interval u (calculateUV(coordFormat, st[0], gAccess.getSize().x())); in calculateBounds()
1700 const Interval v (calculateUV(coordFormat, st[1], gAccess.getSize().y())); in calculateBounds()
1722 …const Interval gValue (lookupWrapped(gAccess, conversionFormat[1], addressModeU, addressModeV, IVe… in calculateBounds()
1723 …const Interval aValue (lookupWrapped(aAccess, conversionFormat[3], addressModeU, addressModeV, IVe… in calculateBounds()
1727 Interval rValue, bValue; in calculateBounds()
1750 const Interval srcColor[] = in calculateBounds()
1757 Interval dstColor[4]; in calculateBounds()
1766 …const Interval chromaU (subsampledX ? calculateImplicitChromaUV(coordFormat, xChromaOffset, u) : u… in calculateBounds()
1767 …const Interval chromaV (subsampledY ? calculateImplicitChromaUV(coordFormat, yChromaOffset, v) : v… in calculateBounds()
1776 Interval rValue, bValue; in calculateBounds()
1785 const Interval chromaA (calculateAB(subTexelPrecisionBits, chromaU, chromaI)); in calculateBounds()
1786 const Interval chromaB (calculateAB(subTexelPrecisionBits, chromaV, chromaJ)); in calculateBounds()
1792 const Interval srcColor[] = in calculateBounds()
1800 Interval dstColor[4]; in calculateBounds()
1810 const Interval lumaA (calculateAB(subTexelPrecisionBits, u, i)); in calculateBounds()
1811 const Interval lumaB (calculateAB(subTexelPrecisionBits, v, j)); in calculateBounds()
1813 …const Interval gValue (linearSample(gAccess, conversionFormat[1], filteringFormat[1], addressMode… in calculateBounds()
1814 …const Interval aValue (linearSample(aAccess, conversionFormat[3], filteringFormat[3], addressMode… in calculateBounds()
1818 Interval rValue, bValue; in calculateBounds()
1864 const Interval srcColor[] = in calculateBounds()
1871 Interval dstColor[4]; in calculateBounds()
1880 …const Interval chromaU (subsampledX ? calculateImplicitChromaUV(coordFormat, xChromaOffset, u) : u… in calculateBounds()
1881 …const Interval chromaV (subsampledY ? calculateImplicitChromaUV(coordFormat, yChromaOffset, v) : v… in calculateBounds()
1890 Interval rValue, bValue; in calculateBounds()
1899 const Interval chromaA (calculateAB(subTexelPrecisionBits, chromaU, chromaI)); in calculateBounds()
1900 const Interval chromaB (calculateAB(subTexelPrecisionBits, chromaV, chromaJ)); in calculateBounds()
1906 const Interval srcColor[] = in calculateBounds()
1913 Interval dstColor[4]; in calculateBounds()