change how jxl decoder does color management
Categories
(Core :: Graphics: ImageLib, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 2 open bugs)
Details
Attachments
(4 external files, 1 obsolete file)
| Assignee | ||
Comment 1•6 months ago
|
||
We move away from getting jxl-rs passing us f32 buffers to do color management as part of it's decoding process before it hands us the final buffer, which is a pattern that none of our other image decoders follows.
We move towards a model where jxl-rs passes us a final buffer in a color space that it informs us of, and we can then perform further color management on it to the desired final space. There is one new wrinkle: we ask jxl-rs to gives us f16 data for hdr images, and then we convert it to u8 before passing it to the usual surface pipe. (This part is actually very similar to how we do cmyk and grayscale color management in the decoder before the surface pipe in the jpeg, png, and avif decoders.) I'm told this is also similar to how chromium's jxl decoder works.
| Assignee | ||
Comment 2•6 months ago
|
||
| Assignee | ||
Comment 3•6 months ago
|
||
| Assignee | ||
Comment 4•6 months ago
|
||
| Assignee | ||
Comment 5•6 months ago
|
||
Updated•6 months ago
|
Comment 8•6 months ago
|
||
Backed out for causing gtest failures @BlendJXLWithFilter.
| Assignee | ||
Comment 9•6 months ago
|
||
BlendJXLWithFilter just needs fuzz of 1, but there is actually a bigger issue in the linux tsan gtests -> bug 2036329 for that.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59609 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Comment 12•6 months ago
|
||
| Assignee | ||
Updated•6 months ago
|
Comment 13•6 months ago
|
||
Backed out for causing rust failures.
Comment 14•6 months ago
|
||
Comment 15•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c0719c236dc8
https://hg.mozilla.org/mozilla-central/rev/547f7fc58daa
https://hg.mozilla.org/mozilla-central/rev/5af1605158ff
https://hg.mozilla.org/mozilla-central/rev/2ff1e151db6e
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60007 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Updated•5 months ago
|
| Assignee | ||
Updated•4 months ago
|
Description
•