Closed Bug 2046730 Opened 4 months ago Closed 4 months ago

[HDR] Fix some bugs in Colorspaces HLG math

Categories

(Core :: Graphics: Color Management, task)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: ahale, Assigned: ahale)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

While looking at Colorspaces.cpp TfFromLinear and LinearFromTf functions I tried graphing the equations and found the <0.5 range math seems to be wrong, the few references for this on the web (even the spec) also seem wrong by my reading.

We don't currently use HLG here but the math should be corrected.

Pushed by ahale@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7462ba89d382 https://hg.mozilla.org/integration/autoland/rev/363c9d67aec9 Fix a couple math bugs in TfFromLinear and one bug in LinearFromTf r=gfx-reviewers,lsalzman
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b81bb4b956e3 https://hg.mozilla.org/mozilla-central/rev/bee6a763223f Fix a couple math bugs in TfFromLinear and one bug in LinearFromTf r=gfx-reviewers,lsalzman
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: