https://bugzilla.wikimedia.org/show_bug.cgi?id=18702
Summary: Wrong colors
Product: Cortado
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: jheora
AssignedTo: [email protected]
ReportedBy: [email protected]
Colors for an ogg theora file are wrong. Red shows up as a pale orange.
I think this bug is caused by the conversion from YUV to RBG and I suggest the
following patch in YUVBuffer.java :
replace
GFactor = UFactor * CR_DIFF_FAC + VFactor * CB_DIFF_FAC -
(VAL_RANGE<<SHIFT);
UFactor = UFactor * CR_FAC + (VAL_RANGE<<SHIFT);
VFactor = VFactor * CB_FAC + (VAL_RANGE<<SHIFT);
by
GFactor = UFactor * CB_DIFF_FAC + VFactor * CR_DIFF_FAC -
(VAL_RANGE<<SHIFT);
UFactor = UFactor * CB_FAC + (VAL_RANGE<<SHIFT);
VFactor = VFactor * CR_FAC + (VAL_RANGE<<SHIFT);
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l