]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Add support for 10-bit AV1 encoding.
[nageru] / nageru / flags.h
index 96a4160f80515c4a2c815f0084f60f08d5b21f50..2c02848b2ff997a4e882f41daba75b6e032cc153 100644 (file)
@@ -79,12 +79,13 @@ struct Flags {
        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_bit_depth == 10.
+       bool ten_bit_output = false;  // Implies x264_video_to_disk == true and {x264,av1}_bit_depth == 10.
        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.