Home
last modified time | relevance | path

Searched refs:roundOut (Results 1 - 25 of 103) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp898 return conversionFormat.roundOut(conversionFormat.roundOut((double)bits, false)
899 / conversionFormat.roundOut((double)(m_channelSize == 32 ? ~0x0u : ((0x1u << m_channelSize) - 1u)), false), false);
902 return conversionFormat.roundOut((double)bits, false);
906 const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false)
907 / conversionFormat.roundOut((double)((0x1u << (m_channelSize - 1u)) - 1u), false), false));
913 return conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false);
917 return conversionFormat.roundOut(tcu::Float32(bits).asFloat(), false);
1296 return conversionFormat.roundOut(sampl
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp897 return conversionFormat.roundOut(conversionFormat.roundOut((double)bits, false)
898 / conversionFormat.roundOut((double)(m_channelSize == 32 ? ~0x0u : ((0x1u << m_channelSize) - 1u)), false), false);
901 return conversionFormat.roundOut((double)bits, false);
905 const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false)
906 / conversionFormat.roundOut((double)((0x1u << (m_channelSize - 1u)) - 1u), false), false));
912 return conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false);
916 return conversionFormat.roundOut(tcu::Float32(bits).asFloat(), false);
1295 return conversionFormat.roundOut(sampl
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuFloatFormat.hpp62 Interval roundOut (const Interval& x, bool roundUnderOverflow) const;
64 virtual double roundOut (double d, bool upward, bool roundUnderOverflow) const;
95 double roundOut (double d, bool upward, bool roundUnderOverflow) const override;
H A 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()
326 double NormalizedFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifier.cpp311 const Interval weightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weight : weight), false); in getFilteredSample1D()
314 resultInterval = m_filteringPrecision[compNdx]->roundOut(resultInterval + weightInterval * texelInterval, false); in getFilteredSample1D()
346 const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample2D()
350 const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample2D()
353 resultInterval = m_filteringPrecision[compNdx]->roundOut(resultInterval + jWeightInterval * texelInterval, false); in getFilteredSample2D()
389 const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[2] : weights[2]), false); in getFilteredSample3D()
393 const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample3D()
397 const Interval kWeightInterval = m_filteringPrecision[compNdx]->roundOut(jWeightInterval * Interval(k == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample3D()
401 resultInterval = m_filteringPrecision[compNdx]->roundOut(resultInterval + kWeightInterval * texelInterval, false); in getFilteredSample3D()
545 = m_filteringPrecision[compNdx]->roundOut(Interva
[all...]
H A DvktSampleVerifierUtil.cpp258 coordInterval = internalFormat.roundOut(coordInterval, false);
261 unnormalizedCoordInterval = internalFormat.roundOut(unnormalizedCoordInterval, false);
624 const Interval fpInterval = internalFormat->roundOut(Interval(fp16.asDouble()), false);
649 resultInterval = internalFormat->roundOut(resultInterval, false);
889 // converted values are 0.0 and 1.0, even after using roundOut() to account for the min
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifier.cpp311 const Interval weightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weight : weight), false); in getFilteredSample1D()
314 resultInterval = m_filteringPrecision[compNdx]->roundOut(resultInterval + weightInterval * texelInterval, false); in getFilteredSample1D()
346 const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample2D()
350 const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample2D()
353 resultInterval = m_filteringPrecision[compNdx]->roundOut(resultInterval + jWeightInterval * texelInterval, false); in getFilteredSample2D()
389 const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[2] : weights[2]), false); in getFilteredSample3D()
393 const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample3D()
397 const Interval kWeightInterval = m_filteringPrecision[compNdx]->roundOut(jWeightInterval * Interval(k == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample3D()
401 resultInterval = m_filteringPrecision[compNdx]->roundOut(resultInterval + kWeightInterval * texelInterval, false); in getFilteredSample3D()
545 = m_filteringPrecision[compNdx]->roundOut(Interva
[all...]
H A DvktSampleVerifierUtil.cpp258 coordInterval = internalFormat.roundOut(coordInterval, false);
261 unnormalizedCoordInterval = internalFormat.roundOut(unnormalizedCoordInterval, false);
624 const Interval fpInterval = internalFormat->roundOut(Interval(fp16.asDouble()), false);
649 resultInterval = internalFormat->roundOut(resultInterval, false);
889 // converted values are 0.0 and 1.0, even after using roundOut() to account for the min
/third_party/skia/src/effects/imagefilters/
H A DSkTileImageFilter.cpp109 const SkIRect dstIRect = dstRect.makeInset(kRoundOutInset, kRoundOutInset).roundOut(); in onFilterImage()
116 SkIRect srcIRect = srcRect.makeInset(kRoundOutInset, kRoundOutInset).roundOut(); in onFilterImage()
176 return rect.roundOut(); in onFilterNodeBounds()
H A DSkImageImageFilter.cpp106 const SkIRect dstIBounds = dstBounds.roundOut(); in onFilterImage()
129 SkIRect srcIBounds = fSrcRect.roundOut(); in onFilterImage()
171 return dstRect.roundOut(); in onFilterNodeBounds()
H A DSkPictureImageFilter.cpp95 SkIRect bounds = floatBounds.roundOut(); in onFilterImage()
139 return dstRect.roundOut(); in onFilterNodeBounds()
/third_party/skia/tests/
H A DAAClipTest.cpp208 clip.setPath(path, path.getBounds().roundOut(), true); in test_path_bounds()
222 clip.setPath(path, path.getBounds().roundOut(), true); in test_path_bounds()
326 clip.setPath(path, path.getBounds().roundOut(), 1 == i); in test_path_with_hole()
344 clip.setPath(path, path.getBounds().roundOut(), true); in test_really_a_rect()
407 clip.setPath(SkPath::Rect(r), r.roundOut(), true); in test_regressions()
/third_party/skia/src/core/
H A DSkMatrixImageFilter.cpp88 dstRect.roundOut(&dstBounds); in onFilterImage()
139 SkIRect result = floatBounds.roundOut(); in onFilterNodeBounds()
H A DSkImageFilter.cpp68 skif::ParameterSpace<SkRect>(as_IFB(this)->getCropRect().rect())).roundOut(); in filterBounds()
267 mapping.paramToLayer(skif::ParameterSpace<SkRect>(fCropRect.rect())).roundOut(); in getInputBounds()
277 knownContentBounds ? mapping.paramToLayer(*knownContentBounds).roundOut() in getInputBounds()
305 mapping, layerContent.roundOut()); in getOutputBounds()
348 SkIRect devICropR = devCropR.roundOut(); in applyTo()
/third_party/skia/gm/
H A Dsimpleaaclip.cpp86 clip->setPath(fBasePath, fBasePath.getBounds().roundOut(), true); in buildRgn()
89 clip2.setPath(fRectPath, fRectPath.getBounds().roundOut(), true); in buildRgn()
H A Dbitmaprect.cpp232 canvas->drawImageRect(fBigImage, SkRect::Make(srcR1.roundOut()), dstR1, sampling,
234 canvas->drawImageRect(fBigImage, SkRect::Make(srcR2.roundOut()), dstR2, sampling,
/third_party/skia/docs/examples/
H A DRect_roundOut_3.cpp8 SkIRect round = rect.roundOut(); in REG_FIDDLE()
H A DRect_roundOut.cpp9 rect.roundOut(&round); in REG_FIDDLE()
H A DRect_roundOut_2.cpp9 rect.roundOut(&round); in REG_FIDDLE()
/third_party/skia/src/svg/
H A DSkSVGCanvas.cpp15 const auto size = bounds.roundOut().size(); in Make()
/third_party/skia/tools/
H A Dskp_parser.cpp53 SkISize size = pic->cullRect().roundOut().size(); in main()
/third_party/skia/tools/viewer/
H A DSKPSlide.cpp52 fCullRect = fPic->cullRect().roundOut(); in load()
/third_party/skia/samplecode/
H A DSampleImageFilterDAG.cpp92 fOutputBounds = fMapping.paramToLayer(fContent).roundOut(); in computeOutputBounds()
106 .roundOut()); in computeInputBounds()
112 fHintedLayerBounds = fMapping.paramToLayer(fContent).roundOut(); in computeInputBounds()
/third_party/skia/include/core/
H A DSkRect.h1251 void roundOut(SkIRect* dst) const { in roundOut() function
1264 void roundOut(SkRect* dst) const { in roundOut() function
1301 SkIRect roundOut() const { in roundOut() function
1303 this->roundOut(&ir); in roundOut()
/third_party/skia/tools/fonts/
H A DTestSVGTypeface.cpp218 newBounds.roundOut(&ibounds);
721 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt()
760 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt()
933 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix()
982 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix()
1164 : SkNoDrawCanvas(glyphBounds.roundOut().width(), glyphBounds.roundOut().height()) in SkCOLRCanvas()
1188 SkIRect ibounds = bounds.roundOut(); in writePath()

Completed in 21 milliseconds

12345