libjxl

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

parameters.h (792B)


      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 #ifndef TOOLS_FLICKER_TEST_PARAMETERS_H_
      7 #define TOOLS_FLICKER_TEST_PARAMETERS_H_
      8 
      9 #include <QSettings>
     10 
     11 namespace jpegxl {
     12 namespace tools {
     13 
     14 struct FlickerTestParameters {
     15   QString originalFolder;
     16   QString alteredFolder;
     17   QString outputFile;
     18   int advanceTimeMSecs;
     19   int viewingTimeSecs;
     20   int blankingTimeMSecs;
     21   bool gray;
     22   int grayFadingTimeMSecs;
     23   int grayTimeMSecs;
     24   int intensityTarget;
     25   int spacing;
     26 
     27   static FlickerTestParameters loadFrom(QSettings* settings);
     28   void saveTo(QSettings* settings) const;
     29 };
     30 
     31 }  // namespace tools
     32 }  // namespace jpegxl
     33 
     34 #endif  // TOOLS_FLICKER_TEST_PARAMETERS_H_