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.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th December 2016, 03:02   #1  |  Link
markanini
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?
markanini is offline   Reply With Quote
Old 17th December 2016, 01:46   #2  |  Link
Asmodian
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
Asmodian is offline   Reply With Quote
Old 19th December 2016, 12:27   #3  |  Link
markanini
Registered User
 
Join Date: Apr 2006
Posts: 299
Thanks!
markanini is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.