X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=fake_capture.cpp;h=c98e74cf3351f5063cad260001b236acc9870034;hb=e85d7ee1c0541900c57dd505454289dfaab9e782;hp=9740b645e4f67eb12e00063feeaf63f17d821671;hpb=6a012a41c5422092cdac1f18a9019f37c0b85368;p=bmusb 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;