summaryrefslogtreecommitdiff
path: root/dxr3tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3tools.h')
-rw-r--r--dxr3tools.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/dxr3tools.h b/dxr3tools.h
index 5a8c890..dd96ebb 100644
--- a/dxr3tools.h
+++ b/dxr3tools.h
@@ -62,7 +62,12 @@ namespace Tools
Ey = (Y - 16);
Epb = (Cb - 128);
Epr = (Cr - 128);
-
+ /* ITU-R 709
+ Eg = (298*Ey - 55*Epb - 137*Epr)/256;
+ Eb = (298*Ey + 543*Epb)/256;
+ Er = (298*Ey + 460*Epr)/256;
+ */
+ /* FCC ~= mediaLib */
Eg = (298 * Ey - 100 * Epb - 208 * Epr) / 256;
Eb = (298 * Ey + 516 * Epb) / 256;
Er = (298 * Ey + 408 * Epr) / 256;
@@ -87,7 +92,7 @@ namespace Tools
// ==================================
//! write a string via vdr to OSD
- inline void WriteInfoToOsd(std::string x)
+ inline void WriteInfoToOsd(string x)
{
#if VDRVERSNUM <= 10306
Interface->Info(x.c_str());