Woah, thank you for that!
I just tested it, it works like a charm.
I've just updated the code on GitHub.
Version 1.2 released.
Updated Changelog:
v1.2 Added support to all planar color spaces and code cleanup by StainlessS
p.s if you have a GitHub account, I'll give you full access to the repository
p.p.s you know why I used millivolt (or rather Volts) as a measurement instead of putting 16-235 in the luma monitor? 'cause Volt levels are the same for each signal, no matter the bit depth, while bit values (16-235) change with bit depth (like 10bit, 64-940 etc) and I didn't want to write a conditional based on that xD Still, the Tektronix engineers did the same and showed Volts as scale, so... I guess it's fine. xD