Go to the documentation of this file.
16 return "MythAVTest is a testing application that allows direct access \n"
17 "to the MythTV internal video player.";
32 add(QStringList{
"-t",
"--test"},
"test",
false,
33 "Test video performance.",
34 "Test and debug video playback performance."
35 "Audio, captions and the On Screen Display will all "
36 "be disabled and video will be displayed at the fastest possible rate. ")
37 ->SetGroup(
"Video Performance Testing")
39 add(QStringList{
"--nodecode"},
"nodecode",
false,
"After decoding a small nuber of frames, "
40 "the last presented frame will be displayed repeatedly to test "
41 "rendering speed.",
"")
42 ->SetGroup(
"Video Performance Testing")
44 add(QStringList{
"-d",
"--decodeonly"},
45 "decodeonly",
false,
"Decode video frames but do not display them.",
47 ->SetGroup(
"Video Performance Testing")
49 add(QStringList{
"-gpu"},
"gpu",
false,
"Allow hardware accelerated video decoders",
"")
50 ->SetGroup(
"Video Performance Testing")
52 add(QStringList{
"--deinterlace"},
54 "Deinterlace video frames (even if progressive).",
56 ->SetGroup(
"Video Performance Testing")
58 add(QStringList{
"-s",
"--seconds"},
"seconds",
"",
59 "The number of seconds to run the test (default 5).",
"")
60 ->SetGroup(
"Video Performance Testing")
62 add(QStringList{
"-vrr",
"--vrr"},
"vrr", 0U,
63 "Try to enable (1) or disable (0) variable refresh rate (FreeSync or GSync)",
"");
void addDisplay(void)
Canned argument definition for -display.
void addGeometry(void)
Canned argument definition for –geometry.
Parent class for defining application command line parsers.
MythAVTestCommandLineParser()
void addPlatform(void)
Pass through the platform argument to Qt for GUI applications.
void addVersion(void)
Canned argument definition for –version.
void addWindowed(void)
Canned argument definition for –windowed and -no-windowed.
CommandLineArg * SetRequiredChild(const QString &opt)
Set argument as parent of given child and mark as required.
QString GetHelpHeader(void) const override
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
CommandLineArg * SetChildOf(const QString &opt)
Set argument as child of given parent.
CommandLineArg * add(const QString &arg, const QString &name, bool def, QString help, QString longhelp)
static constexpr const char * MYTH_APPNAME_MYTHAVTEST
void allowArgs(bool allow=true)
Specify that parser should allow and collect values provided independent of any keyword.
void addHelp(void)
Canned argument definition for –help.
void LoadArguments(void) override
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
void addInFile(bool addOutFile=false)
Canned argument definition for –infile and –outfile.