Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th December 2016, 03:02 | #1 | Link |
Registered User
Join Date: Apr 2006
Posts: 299
|
BT.601 to BT.709 in Android
I reached out to a Android dev suggesting a color conversion feature in his software and he pointed me to an API reference: https://developer.android.com/refere...lorMatrix.html I'm not really knowlegable about programming or math to suggest the best implementation. Anyone have an idea?
|
17th December 2016, 01:46 | #2 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
R709 = 0.9395 ∗ Rsmptec + 0.0502 ∗ Gsmptec + 0.0103 ∗ Bsmptec
G709 = 0.0178 ∗ Rsmptec + 0.9658 ∗ Gsmptec + 0.0164 ∗ Bsmptec B709 = −0.0016 ∗ Rsmptec − 0.0044 ∗ Gsmptec + 1.0060 ∗ Bsmptec So your matrix would look like: Code:
[0.9395, 0.0502, 0.0103, 0, 0 0.0178, 0.9658, 0.0164, 0, 0 -0.0016, -0.0044, 1.0060, 0, 0 0.0000, 0.0000, 0.0000, 1, 0]
__________________
madVR options explained |
|
|