/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/ |
H A D | PolyphaseResamplerStereo.cpp | 56 float coefficient = *coefficients++; in readFrame() local 57 left += *xFrame++ * coefficient; in readFrame() 58 right += *xFrame++ * coefficient; in readFrame() 60 coefficient = *coefficients++; // next tap in readFrame() 61 left += *xFrame++ * coefficient; in readFrame() 62 right += *xFrame++ * coefficient; in readFrame() 64 coefficient = *coefficients++; // next tap in readFrame() 65 left += *xFrame++ * coefficient; in readFrame() 66 right += *xFrame++ * coefficient; in readFrame() 68 coefficient in readFrame() [all...] |
H A D | MultiChannelResampler.cpp | 155 float coefficient = sinc(radians * cutoffScaler) * window; in generateCoefficients() local 156 mCoefficients.at(coefficientIndex++) = coefficient; in generateCoefficients() 157 gain += coefficient; in generateCoefficients()
|
H A D | PolyphaseResampler.cpp | 47 float coefficient = *coefficients++; in readFrame() local 48 // printf("PolyphaseResampler: coeff = %10.6f, xFrame[0] = %10.6f\n", coefficient, xFrame[0]); in readFrame() 50 mSingleFrame[channel] += *xFrame++ * coefficient; in readFrame()
|
/third_party/protobuf/benchmarks/php/ |
H A D | PhpBenchmark.php | 51 private $coefficient; variable 59 $this->coefficient = pow (10, 0) / pow(2, 20); variable 67 $this->coefficient;
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsCalibration.hpp | 42 float coefficient; member 44 LineParameters (float offset_, float coefficient_) : offset(offset_), coefficient(coefficient_) {} in LineParameters() 57 float coefficient; member
|
H A D | glsCalibration.cpp | 84 // \note If there are no data point pairs with differing x values, the coefficient variable will stay zero as initialized. in theilSenLinearRegression() 86 result.coefficient = destructiveMedian(pairwiseCoefficients); in theilSenLinearRegression() 88 // Compute the offsets corresponding to the median coefficient, for all data points. in theilSenLinearRegression() 90 pointwiseOffsets.push_back(dataPoints[i].y() - result.coefficient*dataPoints[i].x()); in theilSenLinearRegression() 156 result.coefficient = linearSample(medianSlopes, 0.5f); in theilSenSiegelLinearRegression() 158 // Compute the offsets corresponding to the median coefficient, for all data points. in theilSenSiegelLinearRegression() 160 pointwiseOffsets.push_back(dataPoints[i].y() - result.coefficient*dataPoints[i].x()); in theilSenSiegelLinearRegression() 373 if (estimatorLine.coefficient < coeffEpsilon) // Coefficient not good for sensible estimation; increase call count enough to get a reasonably different value. in recomputeParameters() 377 // Solve newCallCount such that approximately targetFrameTime = offset + coefficient*newCallCount. in recomputeParameters() 378 newCallCount = (int)((targetFrameTimeUs - estimatorLine.offset) / estimatorLine.coefficient in recomputeParameters() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_dependence.cpp | 155 auto coefficient = recurrence->GetCoefficient()->AsSEConstantNode(); in CalculateGCDFromCoefficients() local 158 running_gcd, std::abs(coefficient->FoldToSingleValue())); in CalculateGCDFromCoefficients() 478 PrintDebug("Found source and destination share coefficient."); in SIVTest() 495 PrintDebug("Found source coefficient = -destination coefficient."); in SIVTest() 512 SENode* coefficient, in StrongSIVTest() 527 return SymbolicStrongSIVTest(source, destination, coefficient, in StrongSIVTest() 559 // We must check the offset delta and coefficient are constants. in StrongSIVTest() 562 SEConstantNode* coefficient_constant = coefficient->AsSEConstantNode(); in StrongSIVTest() 567 "StrongSIVTest found delta value and coefficient valu in StrongSIVTest() 511 StrongSIVTest(SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) StrongSIVTest() argument 665 SymbolicStrongSIVTest( SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) SymbolicStrongSIVTest() argument 696 WeakZeroSourceSIVTest( SENode* source, SERecurrentNode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakZeroSourceSIVTest() argument 849 WeakZeroDestinationSIVTest( SERecurrentNode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakZeroDestinationSIVTest() argument 1003 WeakCrossingSIVTest( SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakCrossingSIVTest() argument [all...] |
H A D | loop_dependence.h | 362 // |coefficient| must be an SENode representing the coefficient of the 367 SENode* coefficient); 488 SENode* coefficient, 496 SENode* coefficient, 504 SENode* coefficient, 512 SENode* coefficient, DistanceEntry* distance_entry);
|
H A D | scalar_analysis_simplification.cpp | 63 // the coefficient. 131 // We can eliminate recurrent expressions which have a coefficient of zero by 133 // recurrent expression represents the equation coefficient*iterations + 172 // Work out which operand is the constant coefficient. in AccumulatorsFromMultiply() 178 // If the expression is not a variable multiplied by a constant coefficient, in AccumulatorsFromMultiply() 343 // expression terms as rec(offset, coefficient + count) offset and in SimplifyPolynomial() 344 // coefficient are the same as in the original expression. in SimplifyPolynomial() 354 // coefficient of the old one. in SimplifyPolynomial() 467 SENode* coefficient = child->AsSERecurrentNode()->GetCoefficient(); in EliminateZeroCoefficientRecurrents() local 468 // If coefficient i in EliminateZeroCoefficientRecurrents() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_dependence.cpp | 155 auto coefficient = recurrence->GetCoefficient()->AsSEConstantNode(); in CalculateGCDFromCoefficients() local 158 running_gcd, std::abs(coefficient->FoldToSingleValue())); in CalculateGCDFromCoefficients() 478 PrintDebug("Found source and destination share coefficient."); in SIVTest() 495 PrintDebug("Found source coefficient = -destination coefficient."); in SIVTest() 512 SENode* coefficient, in StrongSIVTest() 527 return SymbolicStrongSIVTest(source, destination, coefficient, in StrongSIVTest() 559 // We must check the offset delta and coefficient are constants. in StrongSIVTest() 562 SEConstantNode* coefficient_constant = coefficient->AsSEConstantNode(); in StrongSIVTest() 567 "StrongSIVTest found delta value and coefficient valu in StrongSIVTest() 511 StrongSIVTest(SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) StrongSIVTest() argument 665 SymbolicStrongSIVTest( SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) SymbolicStrongSIVTest() argument 696 WeakZeroSourceSIVTest( SENode* source, SERecurrentNode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakZeroSourceSIVTest() argument 849 WeakZeroDestinationSIVTest( SERecurrentNode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakZeroDestinationSIVTest() argument 1003 WeakCrossingSIVTest( SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakCrossingSIVTest() argument [all...] |
H A D | loop_dependence.h | 362 // |coefficient| must be an SENode representing the coefficient of the 367 SENode* coefficient); 488 SENode* coefficient, 496 SENode* coefficient, 504 SENode* coefficient, 512 SENode* coefficient, DistanceEntry* distance_entry);
|
H A D | scalar_analysis_simplification.cpp | 63 // the coefficient. 131 // We can eliminate recurrent expressions which have a coefficient of zero by 133 // recurrent expression represents the equation coefficient*iterations + 172 // Work out which operand is the constant coefficient. in AccumulatorsFromMultiply() 178 // If the expression is not a variable multiplied by a constant coefficient, in AccumulatorsFromMultiply() 343 // expression terms as rec(offset, coefficient + count) offset and in SimplifyPolynomial() 344 // coefficient are the same as in the original expression. in SimplifyPolynomial() 354 // coefficient of the old one. in SimplifyPolynomial() 467 SENode* coefficient = child->AsSERecurrentNode()->GetCoefficient(); in EliminateZeroCoefficientRecurrents() local 468 // If coefficient i in EliminateZeroCoefficientRecurrents() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | loop_dependence.cpp | 153 auto coefficient = recurrence->GetCoefficient()->AsSEConstantNode(); in CalculateGCDFromCoefficients() local 156 running_gcd, std::abs(coefficient->FoldToSingleValue())); in CalculateGCDFromCoefficients() 477 PrintDebug("Found source and destination share coefficient."); in SIVTest() 494 PrintDebug("Found source coefficient = -destination coefficient."); in SIVTest() 511 SENode* coefficient, in StrongSIVTest() 526 return SymbolicStrongSIVTest(source, destination, coefficient, in StrongSIVTest() 558 // We must check the offset delta and coefficient are constants. in StrongSIVTest() 561 SEConstantNode* coefficient_constant = coefficient->AsSEConstantNode(); in StrongSIVTest() 566 "StrongSIVTest found delta value and coefficient valu in StrongSIVTest() 510 StrongSIVTest(SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) StrongSIVTest() argument 664 SymbolicStrongSIVTest( SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) SymbolicStrongSIVTest() argument 695 WeakZeroSourceSIVTest( SENode* source, SERecurrentNode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakZeroSourceSIVTest() argument 848 WeakZeroDestinationSIVTest( SERecurrentNode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakZeroDestinationSIVTest() argument 1002 WeakCrossingSIVTest( SENode* source, SENode* destination, SENode* coefficient, DistanceEntry* distance_entry) WeakCrossingSIVTest() argument [all...] |
H A D | loop_dependence.h | 362 // |coefficient| must be an SENode representing the coefficient of the 367 SENode* coefficient); 488 SENode* coefficient, 496 SENode* coefficient, 504 SENode* coefficient, 512 SENode* coefficient, DistanceEntry* distance_entry);
|
H A D | scalar_analysis_simplification.cpp | 62 // the coefficient. 130 // We can eliminate recurrent expressions which have a coefficient of zero by 132 // recurrent expression represents the equation coefficient*iterations + 171 // Work out which operand is the constant coefficient. in AccumulatorsFromMultiply() 177 // If the expression is not a variable multiplied by a constant coefficient, in AccumulatorsFromMultiply() 342 // expression terms as rec(offset, coefficient + count) offset and in SimplifyPolynomial() 343 // coefficient are the same as in the original expression. in SimplifyPolynomial() 353 // coefficient of the old one. in SimplifyPolynomial() 466 SENode* coefficient = child->AsSERecurrentNode()->GetCoefficient(); in EliminateZeroCoefficientRecurrents() local 467 // If coefficient i in EliminateZeroCoefficientRecurrents() [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
H A D | GlitchAnalyzer.h | 244 const double coefficient = 0.1; variable 248 setMagnitude((mMagnitude * (1.0 - coefficient)) + (magnitude * coefficient));
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fFlushFinishTests.cpp | 362 const float normWaitCoef = waitLine.coefficient * float(calibrationParams.maxDrawCalls) / float(MAX_SAMPLE_DURATION_US); in analyzeResults() 363 const float normReadCoef = readLine.coefficient * float(calibrationParams.maxDrawCalls) / float(MAX_SAMPLE_DURATION_US); in analyzeResults() 376 m_testCtx.getLog() << TestLog::Float("WaitCoefficient", "Wait coefficient", "", QP_KEY_TAG_NONE, waitLine.coefficient) in analyzeResults() 377 << TestLog::Float("ReadCoefficient", "Read coefficient", "", QP_KEY_TAG_NONE, readLine.coefficient) in analyzeResults() 378 << TestLog::Float("NormalizedWaitCoefficient", "Normalized wait coefficient", "", QP_KEY_TAG_NONE, normWaitCoef) in analyzeResults() 379 << TestLog::Float("NormalizedReadCoefficient", "Normalized read coefficient", "", QP_KEY_TAG_NONE, normReadCoef); in analyzeResults() 411 m_testCtx.getLog() << TestLog::Message << "ERROR: Expected " << name << " coefficient to be " << cmpName << " " << threshold << TestLog::EndMessage; in analyzeResults()
|
/third_party/decimal.js/test/modules/ |
H A D | Decimal.js | 16 var t = function (coefficient, exponent, sign, n) { 17 T.assertEqualProps(coefficient, exponent, sign, new Decimal(n));
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 716 const float prediction = (float)(samples[ndx].*predictor) * fit.coefficient + fit.offset; in calculateBasicStatistics() 733 const float prediction = (float)(samples[ndx].*predictor) * fit.coefficient + fit.offset; in calculateBasicStatistics() 1008 const float aabbMinY = de::min(startApproximation.offset + startApproximation.coefficient*aabbMinX, endApproximation.offset + endApproximation.coefficient*aabbMinX); in calculateSampleFitLinearity() 1010 const float aabbMaxY = de::max(startApproximation.offset + startApproximation.coefficient*aabbMaxX, endApproximation.offset + endApproximation.coefficient*aabbMaxX); in calculateSampleFitLinearity() 1013 const float areaBetweenLines = getAreaBetweenLines(aabbMinX, aabbMaxX, startApproximation.offset, startApproximation.coefficient, endApproximation.offset, endApproximation.coefficient); in calculateSampleFitLinearity() 1044 const float aabbMinY = de::min(evenApproximation.offset + evenApproximation.coefficient*aabbMinX, oddApproximation.offset + oddApproximation.coefficient*aabbMin in calculateSampleTemporalStability() [all...] |
H A D | es3pShaderOperatorTests.cpp | 145 return "y = " + de::toString(params.offset) + " + " + de::toString(params.coefficient) + "*x"; in lineParamsString() 385 return (a.offset - b.offset) / (b.coefficient - a.coefficient); in intersectionX() 428 const float estY = estimator.offset + estimator.coefficient*data[i].x(); in simpleLinearRegressionError() 551 if (numDistinctX(leftData) < 2 || leftLine.coefficient > rightLine.coefficient*0.5f) 985 log << TestLog::Float("Program" + progNdxStr + "WorkloadCostEstimate", "Workload cost estimate", "us / workload", QP_KEY_TAG_TIME, estimator.right.coefficient); 999 if (estimators[progNdx].right.coefficient <= 0.0f) 1006 // \note For each estimator, .right.coefficient is the increase in draw time (in microseconds) when 1019 perProgramSlopes.push_back(estimators[i].right.coefficient); [all...] |
H A D | es3pDepthTests.cpp | 761 const float usPerCall = testParam.coefficient; in logAnalysis() 767 log << TestLog::Message << "Offset & coefficient presented as [confidence interval min, estimate, confidence interval max]. Reported confidence interval for this test is " << confidence << TestLog::EndMessage; in logAnalysis() 770 << "[" << testParam.coefficientConfidenceLower << ", " << testParam.coefficient << ", " << testParam.coefficientConfidenceUpper << "]" in logAnalysis() 1086 log << TestLog::Message << "Offset & coefficient presented as [confidence interval min, estimate, confidence interval max]. Reported confidence interval for this test is " << confidence << TestLog::EndMessage; in logAnalysis() 1090 << "[" << nullParam.coefficientConfidenceLower << ", " << nullParam.coefficient << ", " << nullParam.coefficientConfidenceUpper << "]" in logAnalysis() 1095 << "[" << baseParam.coefficientConfidenceLower << ", " << baseParam.coefficient << ", " << baseParam.coefficientConfidenceUpper << "]" in logAnalysis() 1100 << "[" << testParam.coefficientConfidenceLower << ", " << testParam.coefficient << ", " << testParam.coefficientConfidenceUpper << "]" in logAnalysis() 1123 m_results.addResult(QP_TEST_RESULT_PASS, de::floatToString(de::abs(testParam.coefficient)/de::abs(baseParam.coefficient), 2)); in logAnalysis()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFlushFinishTests.cpp | 489 const float normWaitCoef = waitLine.coefficient * float(calibrationParams.maxDrawCalls) / float(MAX_SAMPLE_DURATION_US); 490 const float normReadCoef = readLine.coefficient * float(calibrationParams.maxDrawCalls) / float(MAX_SAMPLE_DURATION_US); 503 m_testCtx.getLog() << TestLog::Float("WaitCoefficient", "Wait coefficient", "", QP_KEY_TAG_NONE, waitLine.coefficient) 504 << TestLog::Float("ReadCoefficient", "Read coefficient", "", QP_KEY_TAG_NONE, readLine.coefficient) 505 << TestLog::Float("NormalizedWaitCoefficient", "Normalized wait coefficient", "", QP_KEY_TAG_NONE, normWaitCoef) 506 << TestLog::Float("NormalizedReadCoefficient", "Normalized read coefficient", "", QP_KEY_TAG_NONE, normReadCoef); 538 m_testCtx.getLog() << TestLog::Message << "ERROR: Expected " << name << " coefficient to be " << cmpName << " " << threshold << TestLog::EndMessage;
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_negative.cpp | 4571 real64 coefficient [4]; 4573 coefficient [0] = 0.0; 4574 coefficient [1] = 1.0 / 16.0; 4578 coefficient [2] = 0.0; 4579 coefficient [3] = 15.0 / 16.0; 4583 coefficient [2] = 15.0 / 16.0; 4584 coefficient [3] = 0.0; 4587 coefficient [0] *= white [plane] - black [plane]; 4588 coefficient [1] *= white [plane] - black [plane]; 4589 coefficient [ [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | rv34.h | 71 VLC coefficient; ///< VLCs used for decoding big coefficients member
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 145 return "y = " + de::toString(params.offset) + " + " + de::toString(params.coefficient) + "*x"; in lineParamsString() 385 return (a.offset - b.offset) / (b.coefficient - a.coefficient); in intersectionX() 428 const float estY = estimator.offset + estimator.coefficient*data[i].x(); in simpleLinearRegressionError() 551 if (numDistinctX(leftData) < 2 || leftLine.coefficient > rightLine.coefficient*0.5f) 985 log << TestLog::Float("Program" + progNdxStr + "WorkloadCostEstimate", "Workload cost estimate", "us / workload", QP_KEY_TAG_TIME, estimator.right.coefficient); 999 if (estimators[progNdx].right.coefficient <= 0.0f) 1006 // \note For each estimator, .right.coefficient is the increase in draw time (in microseconds) when 1019 perProgramSlopes.push_back(estimators[i].right.coefficient); [all...] |