If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

YCbCr->RGB conversions use incorrect coefficients

RESOLVED FIXED in mozilla33

Status

()

Core
Graphics
RESOLVED FIXED
3 years ago
a year ago

People

(Reporter: jgilbert, Assigned: jgilbert)

Tracking

unspecified
mozilla33
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

3 years ago
Created attachment 8449113 [details]
rec601.py

In investigating bug 814524, I found that our shaders for YCbCr->RGB conversion use inaccurate coefficients.

I created a Python script which takes the RGB luma coefficients from Rec601 (SDTV YCbCr), and generated first the RGB->YCbCr matrix, then inverting it to get the YCbCr->RGB matrix.
(Assignee)

Comment 1

3 years ago
Created attachment 8449114 [details] [diff] [review]
rec601
Attachment #8449114 - Flags: review?(matt.woodrow)
Attachment #8449114 - Flags: review?(bas)
Comment on attachment 8449114 [details] [diff] [review]
rec601

Review of attachment 8449114 [details] [diff] [review]:
-----------------------------------------------------------------

I doubt this'll change practical output, but sure! :)
Attachment #8449114 - Flags: review?(bas) → review+
Attachment #8449114 - Flags: review?(matt.woodrow) → review+
(Assignee)

Comment 3

3 years ago
  https://hg.mozilla.org/integration/mozilla-inbound/rev/4547aaf5d648
https://hg.mozilla.org/mozilla-central/rev/4547aaf5d648
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
(Assignee)

Updated

3 years ago
See Also: → bug 814524
See Also: → bug 1210357
You need to log in before you can comment on or make changes to this bug.