libjxl

FORK: libjxl patches used on blog
git clone https://git.neptards.moe/blog/libjxl.git
Log | Files | Refs | Submodules | README | LICENSE

main.cc (628B)


      1 // Copyright (c) the JPEG XL Project Authors. All rights reserved.
      2 //
      3 // Use of this source code is governed by a BSD-style
      4 // license that can be found in the LICENSE file.
      5 
      6 #include <QApplication>
      7 
      8 #include "tools/flicker_test/setup.h"
      9 #include "tools/flicker_test/test_window.h"
     10 
     11 int main(int argc, char** argv) {
     12   QApplication application(argc, argv);
     13 
     14   jpegxl::tools::FlickerTestWizard wizard;
     15   if (wizard.exec()) {
     16     jpegxl::tools::FlickerTestWindow test_window(wizard.parameters());
     17     if (test_window.proceedWithTest()) {
     18       test_window.showMaximized();
     19       return application.exec();
     20     }
     21   }
     22   return 0;
     23 }