FastLED 3.9.15
Loading...
Searching...
No Matches

◆ max()

template<typename T, typename U>
common_type_t< T, U > fl::max ( T a,
U b )
inlineconstexpr
Examples
FxNoiseRing.ino.

Definition at line 75 of file math.h.

75 {
76 return (a > b) ? a : b;
77}

References FL_NOEXCEPT.

Referenced by fl::video::FrameInterpolator::FrameInterpolator(), fl::spi::Transaction::Impl::Impl(), fl::rect< T >::rect(), fl::task::TimeTask::TimeTask(), fl::UINumberField::UINumberField(), fl::UINumberFieldImpl::UINumberFieldImpl(), fl::UISliderImpl::UISliderImpl(), fl::video::VideoImpl::VideoImpl(), fl::Tile2x2_u8::bounds(), CalcDecayFactor(), fl::audio::detector::MoodAnalyzer::calculateArousal(), fl::audio::detector::Vocal::calculateAutocorrelationIrregularity(), fl::audio::detector::FrequencyBands::calculateBandEnergy(), fl::audio::detector::DropDetector::calculateBassFlux(), fl::audio::detector::MusicalBeat::calculateBeatConfidence(), fl::audio::detector::BuildupDetector::calculateBuildupIntensity(), fl::audio::detector::MoodAnalyzer::calculateConfidence(), fl::audio::detector::Pitch::calculateConfidence(), fl::audio::detector::DropDetector::calculateDropImpact(), fl::audio::detector::DropDetector::calculateEnergyFlux(), fl::audio::detector::Transient::calculateEnergyFlux(), fl::audio::detector::BuildupDetector::calculateEnergyTrend(), fl::audio::detector::TempoAnalyzer::calculateIntervalScore(), fl::audio::detector::Vocal::calculateRawConfidence(), fl::XYPath::calculateSteps(), fl::audio::detector::BuildupDetector::calculateTrebleTrend(), fl::audio::detector::DynamicsAnalyzer::calculateTrend(), fl::audio::detector::MoodAnalyzer::calculateValence(), fl::audio::detector::Percussion::computeConfidences(), fl::audio::detector::Percussion::computeFeatures(), fl::audio::detector::Vocal::computeFormantRatio(), fl::audio::detector::Vocal::computePCMTimeDomainFeatures(), fl::audio::detector::Beat::detectBeat(), fl::audio::detector::Downbeat::detectDownbeat(), fl::audio::detector::KeyDetector::detectKey(), draw(), fl::Blend2d::draw(), fl::Corkscrew::draw(), fl::FlowFieldFloat::drawAALine(), fl::FlowFieldFP::drawAALine(), fl::FlowFieldFloat::drawDot(), fl::FlowFieldFP::drawDot(), drawRadialSpectrum(), drawSpectrumBars(), fl::rect< T >::expand(), FL_DISABLE_WARNING(), fl::FlowFieldFloat::flowAdvect(), fl::Transform16::From(), ColorHSV::FromRGB(), fl::math::random::generate_nolock(), fl::audio::detector::DropDetector::getBassEnergy(), fl::ScreenMap::getBounds(), fl::WaveSimulation1D::getf(), fl::WaveSimulation1D::geti16(), fl::WaveSimulation2D::geti16(), fl::WaveSimulation1D::geti16Previous(), fl::WaveSimulation2D::geti16Previous(), fl::vec2< u16 >::getMax(), fl::vec2< u16 >::getMax(), fl::vec3< float >::getMax(), fl::vec3< float >::getMax(), fl::RectangularDrawBuffer::getMaxBytesInStrip(), hsv2rgb_fullspectrum(), NoiseGenerator::LedValue(), loop(), fl::audio::detector::ChordDetector::matchChordPattern(), fl::CRGB::maximizeBrightness(), fl::Tile2x2_u8::MaxTile(), fl::Tile2x2_u8::maxValue(), fl::audio::NoiseFloorTracker::normalize(), fl::third_party::nsgif__animation_complete(), fl::math::random::operator()(), MaxFadeTracker::operator()(), fl::spi::MultiLaneDevice::operator=(), fl::spi::ParallelDevice::operator=(), fl::audio::AutoGain::process(), processWaveAutoTrigger(), fl::math::random::random16(), fl::math::random::random8(), fl::math::random::random8_nolock(), fl::Corkscrew::readFrom(), Ripple::renderLed(), RGBtoHSV16(), sampleBilinear(), sampleNearest(), fl::TimeClampedTransition::set_max_clamp(), fl::audio::detector::FrequencyBands::setBassRange(), fl::WaveSimulation1D::setf(), fl::WaveSimulation2D::seti16(), fl::audio::detector::FrequencyBands::setMidRange(), fl::Potentiometer::setRange(), fl::audio::detector::DynamicsAnalyzer::setSmoothingFactor(), fl::audio::detector::Vocal::setThreshold(), fl::audio::detector::FrequencyBands::setTrebleRange(), fl::UINumberFieldImpl::setValue(), fl::UISliderImpl::setValue(), fl::LineSimplifierExact< NumberT >::simplify(), fl::FixedVector< fl::u32, kMaxBatchSize >::swap(), fl::basic_string::swapWith(), fl::Transform16::ToBounds(), traverseGridSegment(), fl::NoiseBias1D::trigger(), fl::audio::detector::EnergyAnalyzer::update(), fl::audio::detector::Percussion::update(), fl::audio::NoiseFloorTracker::update(), fl::audio::detector::MusicalBeat::updateBPMEstimate(), fl::audio::detector::DynamicsAnalyzer::updateCompression(), fl::audio::NoiseFloorTracker::updateFloor(), fl::audio::AutoGain::updatePIController(), fl::audio::detector::TempoAnalyzer::updateStability(), and Painter::VegasVisualizer().