diff options
Diffstat (limited to 'media/libjxl/src/tools/flicker_test/main.cc')
-rw-r--r-- | media/libjxl/src/tools/flicker_test/main.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media/libjxl/src/tools/flicker_test/main.cc b/media/libjxl/src/tools/flicker_test/main.cc new file mode 100644 index 0000000000..67985a9638 --- /dev/null +++ b/media/libjxl/src/tools/flicker_test/main.cc @@ -0,0 +1,22 @@ +// Copyright (c) the JPEG XL Project Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include <QApplication> + +#include "tools/flicker_test/setup.h" +#include "tools/flicker_test/test_window.h" + +int main(int argc, char** argv) { + QApplication application(argc, argv); + + jxl::FlickerTestWizard wizard; + if (wizard.exec()) { + jxl::FlickerTestWindow test_window(wizard.parameters()); + if (test_window.proceedWithTest()) { + test_window.showMaximized(); + return application.exec(); + } + } +} |