X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=flags.h;h=e6bf08ecf576c4612d14e10f52dc4c671d63844e;hb=cf10a101768f6d08c03d3c9ba05f0b15e03fc1da;hp=f26d4dbab79b0fb82905de4c61504677d965b467;hpb=934d5fa5ea39d4f20056ed2a86b62b21a261c863;p=nageru diff --git a/flags.h b/flags.h index f26d4db..e6bf08e 100644 --- a/flags.h +++ b/flags.h @@ -59,12 +59,18 @@ struct Flags { bool ten_bit_input = false; bool ten_bit_output = false; // Implies x264_video_to_disk == true and x264_bit_depth == 10. YCbCrInterpretation ycbcr_interpretation[MAX_VIDEO_CARDS]; + bool transcode_audio = true; // Kaeru only. int x264_bit_depth = 8; // Not user-settable. bool use_zerocopy = false; // Not user-settable. bool can_disable_srgb_decoder = false; // Not user-settable. }; extern Flags global_flags; -void parse_flags(int argc, char * const argv[]); +enum Program { + PROGRAM_NAGERU, + PROGRAM_KAERU +}; +void usage(Program program); +void parse_flags(Program program, int argc, char * const argv[]); #endif // !defined(_FLAGS_H)