Home
last modified time | relevance | path

Searched refs:roundOut (Results 1 – 25 of 149) sorted by relevance

123456

/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp844 return conversionFormat.roundOut(conversionFormat.roundOut((double)bits, false) in getChannel()
845 …/ conversionFormat.roundOut((double)(m_channelSize == 32 ? ~0x0u : ((0x1u << m_channelSize) - 1u))… in getChannel()
848 return conversionFormat.roundOut((double)bits, false); in getChannel()
852 …const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend… in getChannel()
853 … / conversionFormat.roundOut((double)((0x1u << (m_channelSize - 1u)) - 1u), false), false)); in getChannel()
859 return conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false); in getChannel()
863 return conversionFormat.roundOut(tcu::Float32(bits).asFloat(), false); in getChannel()
1367 …return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u <<… in rangeExpandChroma()
1371 …const tcu::Interval a (conversionFormat.roundOut(sample * tcu::Interval((double)(values - 1u)), … in rangeExpandChroma()
1372 …const tcu::Interval dividend (conversionFormat.roundOut(a - tcu::Interval((double)(128u * (0x1u <<… in rangeExpandChroma()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp314 …const Interval weightInterval = m_filteringPrecision.roundOut(Interval(i == 0 ? 1.0f - weight : we… in getFilteredSample1D()
320 …resultIntervals[compNdx] = m_filteringPrecision.roundOut(resultIntervals[compNdx] + weightInterval… in getFilteredSample1D()
359 …const Interval iWeightInterval = m_filteringPrecision.roundOut(Interval(i == 0 ? 1.0f - weights[1]… in getFilteredSample2D()
363 …const Interval jWeightInterval = m_filteringPrecision.roundOut(iWeightInterval * Interval(j == 0 ?… in getFilteredSample2D()
369 …resultIntervals[compNdx] = m_filteringPrecision.roundOut(resultIntervals[compNdx] + jWeightInterva… in getFilteredSample2D()
411 …const Interval iWeightInterval = m_filteringPrecision.roundOut(Interval(i == 0 ? 1.0f - weights[2]… in getFilteredSample3D()
415 …const Interval jWeightInterval = m_filteringPrecision.roundOut(iWeightInterval * Interval(j == 0 ?… in getFilteredSample3D()
419 …const Interval kWeightInterval = m_filteringPrecision.roundOut(jWeightInterval * Interval(k == 0 ?… in getFilteredSample3D()
425 …resultIntervals[compNdx] = m_filteringPrecision.roundOut(resultIntervals[compNdx] + kWeightInterva… in getFilteredSample3D()
572 …= m_filteringPrecision.roundOut(Interval(weight) * idealSampleLo + Interval(1.0f - weight) * ideal… in verifySampleFiltered()
DvktSampleVerifierUtil.cpp258 coordInterval = internalFormat.roundOut(coordInterval, false); in calcUnnormalizedCoordRange()
261 unnormalizedCoordInterval = internalFormat.roundOut(unnormalizedCoordInterval, false); in calcUnnormalizedCoordRange()
624 const Interval fpInterval = internalFormat.roundOut(Interval(fp16.asDouble()), false); in convertFP16()
648 resultInterval = internalFormat.roundOut(resultInterval, false); in convertNormalizedInt()
/external/deqp/framework/common/
DtcuFloatFormat.hpp61 Interval roundOut (const Interval& x, bool roundUnderOverflow) const;
63 double roundOut (double d, bool upward, bool roundUnderOverflow) const;
DtcuFloatFormat.cpp202 double FloatFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const in roundOut() function in tcu::FloatFormat
216 Interval FloatFormat::roundOut (const Interval& x, bool roundUnderOverflow) const in roundOut() function in tcu::FloatFormat
221 ret |= Interval(roundOut(x.lo(), false, roundUnderOverflow), in roundOut()
222 roundOut(x.hi(), true, roundUnderOverflow)); in roundOut()
/external/skqp/src/effects/imagefilters/
DSkTileImageFilter.cpp58 const SkIRect dstIRect = dstRect.roundOut(); in onFilterImage()
66 srcRect.roundOut(&srcIRect); in onFilterImage()
134 return rect.roundOut(); in onFilterNodeBounds()
DSkImageSource.cpp104 const SkIRect dstIRect = dstRect.roundOut(); in onFilterImage()
157 return dstRect.roundOut(); in onFilterNodeBounds()
/external/skia/src/effects/imagefilters/
DSkTileImageFilter.cpp58 const SkIRect dstIRect = dstRect.roundOut(); in onFilterImage()
66 srcRect.roundOut(&srcIRect); in onFilterImage()
134 return rect.roundOut(); in onFilterNodeBounds()
DSkImageSource.cpp104 const SkIRect dstIRect = dstRect.roundOut(); in onFilterImage()
157 return dstRect.roundOut(); in onFilterNodeBounds()
/external/skqp/bench/
DRecordingBench.cpp45 r.reset(fDL.get(), fSrc->cullRect().roundOut()); in RecordingBench()
55 rec.reset(&dl, fSrc->cullRect().roundOut()); in onDraw()
/external/skia/bench/
DRecordingBench.cpp45 r.reset(fDL.get(), fSrc->cullRect().roundOut()); in RecordingBench()
55 rec.reset(&dl, fSrc->cullRect().roundOut()); in onDraw()
/external/skia/src/core/
DSkMatrixImageFilter.cpp73 dstRect.roundOut(&dstBounds); in onFilterImage()
134 SkIRect result = floatBounds.roundOut(); in onFilterNodeBounds()
DSkRasterClip.cpp76 ir = doAA ? devRect.roundOut() : devRect.round(); in opRect()
99 ir = bounds.roundOut(); in opPath()
222 fBW.op(r.roundOut(), op); in setConservativeRect()
/external/skqp/src/core/
DSkMatrixImageFilter.cpp73 dstRect.roundOut(&dstBounds); in onFilterImage()
134 SkIRect result = floatBounds.roundOut(); in onFilterNodeBounds()
DSkRasterClip.cpp76 ir = doAA ? devRect.roundOut() : devRect.round(); in opRect()
99 ir = bounds.roundOut(); in opPath()
222 fBW.op(r.roundOut(), op); in setConservativeRect()
/external/skia/src/svg/
DSkSVGCanvas.cpp15 SkISize size = bounds.roundOut().size(); in Make()
/external/skqp/src/svg/
DSkSVGCanvas.cpp15 SkISize size = bounds.roundOut().size(); in Make()
/external/skia/gm/
Dbitmaprect.cpp218 canvas->drawBitmapRect(fBigBitmap, srcR1.roundOut(), dstR1, &paint); in onDraw()
219 canvas->drawBitmapRect(fBigBitmap, srcR2.roundOut(), dstR2, &paint); in onDraw()
/external/skqp/gm/
Dbitmaprect.cpp218 canvas->drawBitmapRect(fBigBitmap, srcR1.roundOut(), dstR1, &paint); in onDraw()
219 canvas->drawBitmapRect(fBigBitmap, srcR2.roundOut(), dstR2, &paint); in onDraw()
/external/skqp/tools/viewer/
DSKPSlide.cpp53 fCullRect = fPic->cullRect().roundOut(); in load()
/external/skia/tools/viewer/
DSKPSlide.cpp53 fCullRect = fPic->cullRect().roundOut(); in load()
/external/skqp/tools/
Dskp_parser.cpp53 SkISize size = pic->cullRect().roundOut().size(); in main()
/external/skia/tools/
Dskp_parser.cpp53 SkISize size = pic->cullRect().roundOut().size(); in main()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp216 newBounds.roundOut(&ibounds); in generateMetrics()
647 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt()
812 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix()
863 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix()
1028 : SkNoDrawCanvas(glyphBounds.roundOut().width(), glyphBounds.roundOut().height()) in SkCOLRCanvas()
1052 SkIRect ibounds = bounds.roundOut(); in writePath()
/external/skia/tools/fonts/
DSkTestSVGTypeface.cpp214 newBounds.roundOut(&ibounds); in generateMetrics()
645 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt()
810 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix()
861 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix()
1026 : SkNoDrawCanvas(glyphBounds.roundOut().width(), glyphBounds.roundOut().height()) in SkCOLRCanvas()
1050 SkIRect ibounds = bounds.roundOut(); in writePath()

123456