]> git.sesse.net Git - bmusb/blobdiff - fake_capture.cpp
Add another 720p50 mode we discovered.
[bmusb] / fake_capture.cpp
index 5f4f5da4ea5904e9d7186eb9eef98003de1644be..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] = { 81, 145, 41, 235 };
-constexpr uint8_t cbs[NUM_COLORS] = { 90, 54, 240, 128 };
-constexpr uint8_t crs[NUM_COLORS] = { 240, 34, 110, 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;