From e85d7ee1c0541900c57dd505454289dfaab9e782 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 14 Mar 2018 23:30:58 +0100 Subject: [PATCH] Add some more fake input colors. --- fake_capture.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fake_capture.cpp b/fake_capture.cpp index 9740b64..c98e74c 100644 --- a/fake_capture.cpp +++ b/fake_capture.cpp @@ -21,11 +21,11 @@ #define FRAME_SIZE (8 << 20) // 8 MB. -// Pure-color inputs: Red, green, blue, white. -#define NUM_COLORS 4 -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 }; +// Pure-color inputs: Red, green, blue, white, two shades of gray. +#define NUM_COLORS 6 +constexpr uint8_t ys[NUM_COLORS] = { 63, 173, 32, 235, 180, 128 }; +constexpr uint8_t cbs[NUM_COLORS] = { 102, 42, 240, 128, 128, 128 }; +constexpr uint8_t crs[NUM_COLORS] = { 240, 26, 118, 128, 128, 128 }; using namespace std; using namespace std::chrono; -- 2.39.2