Lines Matching refs:conversionFormat
859 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel() argument
867 return conversionFormat.roundOut(conversionFormat.roundOut((double)bits, false) in getChannel()
868 …/ conversionFormat.roundOut((double)(m_channelSize == 32 ? ~0x0u : ((0x1u << m_channelSize) - 1u))… in getChannel()
871 return conversionFormat.roundOut((double)bits, false); in getChannel()
875 …const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend… in getChannel()
876 … / conversionFormat.roundOut((double)((0x1u << (m_channelSize - 1u)) - 1u), false), false)); in getChannel()
882 return conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false); in getChannel()
886 return conversionFormat.roundOut(tcu::Float32(bits).asFloat(), false); in getChannel()
1256 const tcu::FloatFormat& conversionFormat, in rangeExpandChroma() argument
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()
1272 const tcu::Interval result (conversionFormat.roundOut(dividend / divisor, false)); in rangeExpandChroma()
1284 const tcu::FloatFormat& conversionFormat, in rangeExpandLuma() argument
1293 return conversionFormat.roundOut(sample, false); 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()
1300 const tcu::Interval result (conversionFormat.roundOut(dividend / divisor, false)); in rangeExpandLuma()
1330 const vector<tcu::FloatFormat>& conversionFormat, in convertColor() argument
1346 …output[0] = clampMaybe(rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0]), -0.5,… in convertColor()
1347 …output[1] = clampMaybe(rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1]), 0.0, 1.… in convertColor()
1348 …output[2] = clampMaybe(rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2]), -0.5,… 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()
1367 …output[0] = conversionFormat[0].roundOut(yClamped + conversionFormat[0].roundOut(1.402 * crClamped… in convertColor()
1368 …conversionFormat[1].roundOut(conversionFormat[1].roundOut(yClamped - conversionFormat[1].roundOut(… in convertColor()
1369 …output[2] = conversionFormat[2].roundOut(yClamped + conversionFormat[2].roundOut(1.772 * cbClamped… in convertColor()
1373 …output[0] = conversionFormat[0].roundOut(yClamped + conversionFormat[0].roundOut(1.5748 * crClampe… in convertColor()
1374 …conversionFormat[1].roundOut(conversionFormat[1].roundOut(yClamped - conversionFormat[1].roundOut(… in convertColor()
1375 …output[2] = conversionFormat[2].roundOut(yClamped + conversionFormat[2].roundOut(1.8556 * cbClampe… in convertColor()
1379 …output[0] = conversionFormat[0].roundOut(yClamped + conversionFormat[0].roundOut(1.4746 * crClampe… in convertColor()
1380 …conversionFormat[1].roundOut(conversionFormat[1].roundOut(yClamped - conversionFormat[1].roundOut(… in convertColor()
1381 …output[2] = conversionFormat[2].roundOut(yClamped + conversionFormat[2].roundOut(1.8814 * cbClampe… in convertColor()
1467 const tcu::FloatFormat& conversionFormat, in lookupWrapped() argument
1472 return access.getChannel(conversionFormat, in lookupWrapped()
1516 const tcu::FloatFormat& conversionFormat, in linearSample() argument
1525 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(0, 0)), in linearSample()
1526 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(1, 0)), in linearSample()
1527 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(0, 1)), in linearSample()
1528 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(1, 1))); in linearSample()
1532 const tcu::FloatFormat& conversionFormat, in reconstructLinearXChromaSample() argument
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()
1553 const tcu::FloatFormat& conversionFormat, in reconstructLinearXYChromaSample() argument
1576 …return linearSample(access, conversionFormat, filteringFormat, addressModeU, addressModeV, tcu::IV… in reconstructLinearXYChromaSample()
1643 const vector<FloatFormat>& conversionFormat, in calculateBounds() argument
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()
1733 …rValue = lookupWrapped(rAccess, conversionFormat[0], addressModeU, addressModeV, IVec2(subI, subJ)… in calculateBounds()
1734 …bValue = lookupWrapped(bAccess, conversionFormat[2], addressModeU, addressModeV, IVec2(subI, subJ)… in calculateBounds()
1740 …rValue = reconstructLinearXYChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, y… in calculateBounds()
1741 …bValue = reconstructLinearXYChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, y… in calculateBounds()
1745 …rValue = reconstructLinearXChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, ad… in calculateBounds()
1746 …bValue = reconstructLinearXChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, ad… in calculateBounds()
1759 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1780 …rValue = lookupWrapped(rAccess, conversionFormat[0], addressModeU, addressModeV, IVec2(chromaI, ch… in calculateBounds()
1781 …bValue = lookupWrapped(bAccess, conversionFormat[2], addressModeU, addressModeV, IVec2(chromaI, ch… in calculateBounds()
1788 …rValue = linearSample(rAccess, conversionFormat[0], filteringFormat[0], addressModeU, addressModeV… in calculateBounds()
1789 …bValue = linearSample(bAccess, conversionFormat[2], filteringFormat[2], addressModeU, addressModeV… in calculateBounds()
1801 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); 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()
1822 …lookupWrapped(rAccess, conversionFormat[0], addressModeU, addressModeV, IVec2(i / (subsample… in calculateBounds()
1823 …lookupWrapped(rAccess, conversionFormat[0], addressModeU, addressModeV, IVec2((i + 1) / (subsample… in calculateBounds()
1824 …lookupWrapped(rAccess, conversionFormat[0], addressModeU, addressModeV, IVec2(i / (subsample… in calculateBounds()
1825 …lookupWrapped(rAccess, conversionFormat[0], addressModeU, addressModeV, IVec2((i + 1) / (subsample… in calculateBounds()
1827 …lookupWrapped(bAccess, conversionFormat[2], addressModeU, addressModeV, IVec2(i / (subsample… in calculateBounds()
1828 …lookupWrapped(bAccess, conversionFormat[2], addressModeU, addressModeV, IVec2((i + 1) / (subsample… in calculateBounds()
1829 …lookupWrapped(bAccess, conversionFormat[2], addressModeU, addressModeV, IVec2(i / (subsample… in calculateBounds()
1830 …lookupWrapped(bAccess, conversionFormat[2], addressModeU, addressModeV, IVec2((i + 1) / (subsample… in calculateBounds()
1838 …reconstructLinearXYChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, yChromaOff… in calculateBounds()
1839 …reconstructLinearXYChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, yChromaOff… in calculateBounds()
1840 …reconstructLinearXYChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, yChromaOff… in calculateBounds()
1841 …reconstructLinearXYChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, yChromaOff… in calculateBounds()
1843 …reconstructLinearXYChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, yChromaOff… in calculateBounds()
1844 …reconstructLinearXYChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, yChromaOff… in calculateBounds()
1845 …reconstructLinearXYChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, yChromaOff… in calculateBounds()
1846 …reconstructLinearXYChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, yChromaOff… in calculateBounds()
1852 …reconstructLinearXChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, addressMode… in calculateBounds()
1853 …reconstructLinearXChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, addressMode… in calculateBounds()
1854 …reconstructLinearXChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, addressMode… in calculateBounds()
1855 …reconstructLinearXChromaSample(filteringFormat[0], conversionFormat[0], xChromaOffset, addressMode… in calculateBounds()
1857 …reconstructLinearXChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, addressMode… in calculateBounds()
1858 …reconstructLinearXChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, addressMode… in calculateBounds()
1859 …reconstructLinearXChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, addressMode… in calculateBounds()
1860 …reconstructLinearXChromaSample(filteringFormat[2], conversionFormat[2], xChromaOffset, addressMode… in calculateBounds()
1873 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1894 …rValue = lookupWrapped(rAccess, conversionFormat[1], addressModeU, addressModeV, IVec2(chromaI, ch… in calculateBounds()
1895 …bValue = lookupWrapped(bAccess, conversionFormat[3], addressModeU, addressModeV, IVec2(chromaI, ch… in calculateBounds()
1902 …rValue = linearSample(rAccess, conversionFormat[0], filteringFormat[0], addressModeU, addressModeV… in calculateBounds()
1903 …bValue = linearSample(bAccess, conversionFormat[2], filteringFormat[2], addressModeU, addressModeV… in calculateBounds()
1914 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()