]> git.sesse.net Git - bmusb/commitdiff
Correct FakeCapture color values.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 7 May 2017 19:48:39 +0000 (21:48 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 7 May 2017 19:48:39 +0000 (21:48 +0200)
A bit embarrassing: I had put in Rec. 601 values instead of Rec. 709.

fake_capture.cpp

index 5f4f5da4ea5904e9d7186eb9eef98003de1644be..9740b645e4f67eb12e00063feeaf63f17d821671 100644 (file)
@@ -23,9 +23,9 @@
 
 // Pure-color inputs: Red, green, blue, white.
 #define NUM_COLORS 4
-constexpr uint8_t ys[NUM_COLORS] = { 81, 145, 41, 235 };
-constexpr uint8_t cbs[NUM_COLORS] = { 90, 54, 240, 128 };
-constexpr uint8_t crs[NUM_COLORS] = { 240, 34, 110, 128 };
+constexpr uint8_t ys[NUM_COLORS] = { 63, 173, 32, 235 };
+constexpr uint8_t cbs[NUM_COLORS] = { 102, 42, 240, 128 };
+constexpr uint8_t crs[NUM_COLORS] = { 240, 26, 118, 128 };
 
 using namespace std;
 using namespace std::chrono;