Home
last modified time | relevance | path

Searched refs:midpoint (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4c/source/test/perf/howExpensiveIs/
Dsieve.cpp85 double midpoint(double *times, double i, int n) { in midpoint() function
99 return midpoint(times,n/4,n); in medianof()
101 return midpoint(times,n/2,n); in medianof()
103 return midpoint(times,(n/2)+(n/4),n); in medianof()
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c1015 int midpoint; in get_rgba_endpoints_unorm() local
1085 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2; in get_rgba_endpoints_unorm()
1087 if ((src[0] + src[1] + src[2] <= midpoint) != in get_rgba_endpoints_unorm()
1088 (endpoint_luminances[0] <= midpoint)) { in get_rgba_endpoints_unorm()
1096 midpoint = (endpoints[0][3] + endpoints[1][3]) / 2; in get_rgba_endpoints_unorm()
1098 if ((src[3] <= midpoint) != (endpoints[0][3] <= midpoint)) { in get_rgba_endpoints_unorm()
1364 float midpoint; in get_endpoints_float() local
1423 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2.0f; in get_endpoints_float()
1425 if ((src[0] + src[1] + src[2] <= midpoint) != in get_endpoints_float()
1426 (endpoint_luminances[0] <= midpoint)) { in get_endpoints_float()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DBisectionSolver.java111 m = UnivariateRealSolverUtils.midpoint(min, max); in solve()
124 m = UnivariateRealSolverUtils.midpoint(min, max); in solve()
DNewtonSolver.java110 return solve(f, min, max, UnivariateRealSolverUtils.midpoint(min, max)); in solve()
DUnivariateRealSolverUtils.java215 public static double midpoint(double a, double b) { in midpoint() method in UnivariateRealSolverUtils
/external/ImageMagick/coders/
Dtga.c678 const Quantum *p,const QuantumAny range,const double midpoint) in WriteTGAPixel() argument
700 ((double) GetPixelAlpha(image,p) > midpoint)) ? 0x80 : 0) | in WriteTGAPixel()
730 midpoint = QuantumRange/2.0; in WriteTGAImage() local
891 ClampToQuantum(image->colormap[i].alpha) > midpoint)) ? 0x80 : 0) | in WriteTGAImage()
967 channels),range,midpoint); in WriteTGAImage()
976 WriteTGAPixel(image,tga_info.image_type,p,range,midpoint); in WriteTGAImage()
986 WriteTGAPixel(image,tga_info.image_type,p,range,midpoint); in WriteTGAImage()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dphys_subreg_coalesce.ll5 define %struct.dpoint @midpoint(i64 %p1.0, i64 %p2.0) nounwind readnone {
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dphys_subreg_coalesce.ll7 define %struct.dpoint @midpoint(i64 %p1.0, i64 %p2.0) nounwind readnone {
/external/llvm/test/CodeGen/X86/
Dphys_subreg_coalesce.ll7 define %struct.dpoint @midpoint(i64 %p1.0, i64 %p2.0) nounwind readnone {
/external/python/cpython3/Modules/
Dmathmodule.c1527 unsigned long midpoint, num_operands; in factorial_partial_product() local
1558 midpoint = (start + num_operands) | 1; in factorial_partial_product()
1559 left = factorial_partial_product(start, midpoint, in factorial_partial_product()
1560 bit_length(midpoint - 2)); in factorial_partial_product()
1563 right = factorial_partial_product(midpoint, stop, max_bits); in factorial_partial_product()
/external/python/cpython3/Doc/library/
Dstatistics.rst231 the midpoint of data classes, e.g. 1 is the midpoint of the class 0.5--1.5, 2
232 is the midpoint of 1.5--2.5, 3 is the midpoint of 2.5--3.5, etc. With the data
/external/deqp/modules/egl/
DteglResizeTests.cpp470 const IVec2 winPpi (int(winPpiI.x().midpoint()), int(winPpiI.y().midpoint())); in getNativePixelsPerInch()
/external/skia/src/gpu/ccpr/
DGrCCFillGeometry.cpp731 Sk2f midpoint = Sk2f(p3d012[0], p3d012[1]) / p3d012[2]; in conicTo() local
734 this->appendMonotonicConic(p0, Sk2f(p3d01[0], p3d01[1]) / p3d01[2], midpoint, ww[0]); in conicTo()
735 this->appendMonotonicConic(midpoint, Sk2f(p3d12[0], p3d12[1]) / p3d12[2], p2, ww[1]); in conicTo()
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp731 Sk2f midpoint = Sk2f(p3d012[0], p3d012[1]) / p3d012[2]; in conicTo() local
734 this->appendMonotonicConic(p0, Sk2f(p3d01[0], p3d01[1]) / p3d01[2], midpoint, ww[0]); in conicTo()
735 this->appendMonotonicConic(midpoint, Sk2f(p3d12[0], p3d12[1]) / p3d12[2], p2, ww[1]); in conicTo()
/external/ImageMagick/MagickCore/
Dquantize.c762 midpoint, in ClassifyImageColors() local
794 midpoint.red=(double) QuantumRange/2.0; in ClassifyImageColors()
795 midpoint.green=(double) QuantumRange/2.0; in ClassifyImageColors()
796 midpoint.blue=(double) QuantumRange/2.0; in ClassifyImageColors()
797 midpoint.alpha=(double) QuantumRange/2.0; in ClassifyImageColors()
836 mid=midpoint; in ClassifyImageColors()
943 mid=midpoint; in ClassifyImageColors()
Dcomposite.c559 midpoint, local
1217 midpoint=((MagickRealType) QuantumRange+1.0)/2;
2093 offset=(ssize_t) (GetPixelIntensity(source_image,p)-midpoint);
2101 luma+=(0.01*percent_luma*offset)/midpoint;
Denhance.c4228 const MagickBooleanType sharpen,const double contrast,const double midpoint, in SigmoidalContrastImage() argument
4233 ScaledSigmoidal(contrast,QuantumScale*midpoint,QuantumScale*(x))) ) in SigmoidalContrastImage()
4235 InverseScaledSigmoidal(contrast,QuantumScale*midpoint,QuantumScale*(x))) ) in SigmoidalContrastImage()
/external/deqp/framework/common/
DtcuInterval.hpp164 double midpoint (void) const in midpoint() function in tcu::Interval
/external/freetype/src/psaux/
Dpshints.c689 CF2_Fixed midpoint = in cf2_hintmap_insertHint() local
700 firstHintEdge->dsCoord = SUB_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint()
701 secondHintEdge->dsCoord = ADD_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammar.java1139 int midpoint = numDecisions/2; in createLookaheadDFAs() local
1141 new NFAConversionThread(this, barrier, 1, midpoint); in createLookaheadDFAs()
1143 if ( midpoint == (numDecisions/2) ) { in createLookaheadDFAs()
1144 midpoint++; in createLookaheadDFAs()
1147 new NFAConversionThread(this, barrier, midpoint, numDecisions); in createLookaheadDFAs()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2319 const double a = iargs.a.midpoint(); in doApply()
2320 const double b = iargs.b.midpoint(); in doApply()
5404 case 0: value = inputRange.contains(0) ? 0 : static_cast<float>(inputRange.midpoint()); break; in genRandom()
5405 …nputRange.contains(TCU_INFINITY) ? TCU_INFINITY : static_cast<float>(inputRange.midpoint()); break; in genRandom()
5406 …utRange.contains(-TCU_INFINITY) ? -TCU_INFINITY : static_cast<float>(inputRange.midpoint()); break; in genRandom()
5407 …case 3: value = inputRange.contains(TCU_NAN) ? TCU_NAN : static_cast<float>(inputRange.midpoint()… in genRandom()
5439 …nputRange.contains(static_cast<double>(value)) ? value : static_cast<float>(inputRange.midpoint()); in genRandom()
5529 …const deUint16 midpoint = deFloat32To16Round(static_cast<float>(inputRange.midpoint()), DE_ROUNDI… in genRandom() local
5547 case 0: return inputRange.contains(static_cast<double>(deFloat16To32(0))) ? 0 : midpoint; in genRandom()
5548 …ins(static_cast<double>(deFloat16To32(deUint16(0x7c00)))) ? deUint16(0x7c00) : midpoint; //INFINITY in genRandom()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DSTL.h1736 const double midpoint = QuantumRange / 2.0 );
1743 double midpoint; variable
DImage.h1338 const double midpoint=QuantumRange/2.0);
/external/python/cpython2/Doc/library/
Drandom.rst216 default to zero and one. The *mode* argument defaults to the midpoint
/external/skia/docs/
Dspelling.txt137 member members memory mesh met method methods metric metrics middle midpoint might

12