]> git.sesse.net Git - bmusb/blobdiff - fake_capture.cpp
Add some more fake input colors.
[bmusb] / fake_capture.cpp
index 9740b645e4f67eb12e00063feeaf63f17d821671..c98e74cf3351f5063cad260001b236acc9870034 100644 (file)
 
 #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;