]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Collapse all the 10-bit flags.
[nageru] / nageru / flags.h
index 2c02848b2ff997a4e882f41daba75b6e032cc153..baecb7ae007718a7cb3afe0b2048e0d424bc8576 100644 (file)
@@ -78,14 +78,11 @@ struct Flags {
        bool display_timecode_in_stream = false;
        bool display_timecode_on_stdout = false;
        bool enable_quick_cut_keys = false;
-       bool ten_bit_input = false;
-       bool ten_bit_output = false;  // Implies x264_video_to_disk == true and {x264,av1}_bit_depth == 10.
+       int bit_depth = 8;  // 8 or 10. 10 implies x264_video_to_disk == true.
        YCbCrInterpretation ycbcr_interpretation[MAX_VIDEO_CARDS];
        bool transcode_video = true;  // Kaeru only.
        bool transcode_audio = true;  // Kaeru only.
        bool enable_audio = true;  // Kaeru only. If false, then transcode_audio is also false.
-       int x264_bit_depth = 8;  // Not user-settable.
-       int av1_bit_depth = 8;  // Not user-settable.
        bool use_zerocopy = false;  // Not user-settable.
        bool fullscreen = false;
        std::map<unsigned, unsigned> card_to_mjpeg_stream_export;  // If a card is not in the map, it is not exported.