Skip to content

feat(color): connect profiled RGBW/RGBWW emitters to managed output #4515

Closed

Description

@zackees

Context

The review burndown (#4156) and target-white work (#4498) call for RGBW/RGBWW allocation evidence, but the live managed source currently delegates loadAndScaleRGBW and loadAndScaleRGBWW to the legacy PixelController. EmitterProfile describes only R/G/B chromaticities, luminances, response curves, and electrical terms. Thus a bound profile cannot currently solve and emit measured W/WW drives through the managed pipeline.

Proposal

Extend the owned profile and streaming solver to represent physical white emitters and route RGBW/RGBWW channel encoding through their solved drives. Define white-emitter gamut, target-neutral, response, power, and quantization semantics together; preserve legacy output when no compatible profile is bound.

Acceptance criteria

  • Capture a focused RED test: with an RGBW or RGBWW channel and a profile whose white emitters materially affect the optimum, show that bound-profile wire bytes are still the legacy bytes and do not match a float64 measured-emitter reference. Implement the integration and turn that test GREEN.
  • Cover RGBW and RGBWW independently, including a selected target white, non-identical white chromaticities, nonlinear response, low-light dither, and out-of-gamut requests.
  • Admit/reject profiles by emitter topology, keep owned data valid across rebind and source lifetime changes, and maintain no-profile legacy byte identity.
  • Include modeled electrical demand and final emitted-frame accounting, with representative tier size/performance measurements. Hardware accuracy remains gated by Color pipeline P10: hardware measurement gate and program closure #4044.

Decisions

Related issues

Activity

  1. zackees commented on Sep 23, 2026

    @zackees
    MemberAuthor

    The physical RGBW/RGBWW managed-emitter path merged in #4533 (profile schema, wide solve, target-white handling, response LUTs, wire output, modeled emitter demand, tests, and benchmark). The ESP32-S3 Blink bloat gate passed at 383,139 B against 383,140 B. This issue remains open intentionally: its final emitted-frame electrical-bound criterion is not established by the unity-demand estimate and belongs to the shared-scalar/final-frame implementation in #4499. Close #4515 only after that criterion has focused final-output evidence.

  2. zackees commented on Sep 23, 2026

    @zackees
    MemberAuthor

    Completed by the physical wide-emitter path in merged PR #4533 and the final-frame electrical accounting in merged PR #4542. The latter adds focused RGBW/RGBWW encoded-frame budget and every-dither-phase bound tests, plus host and capture-only ESP32-C6 throughput evidence. Profile admission, target-white, nonlinear response, rebind/lifetime, and legacy-byte tests landed with #4533. This closes the software criterion only; measured light/color accuracy remains explicitly gated by P10 #4044.

  3. moved this from Triage to Done in FastLED Trackeron Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions