libjxl

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

benchmark_codec_png.h (715B)


      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_BENCHMARK_BENCHMARK_CODEC_PNG_H_
      7 #define TOOLS_BENCHMARK_BENCHMARK_CODEC_PNG_H_
      8 
      9 #include <string>
     10 
     11 #include "lib/jxl/base/status.h"
     12 #include "tools/benchmark/benchmark_args.h"
     13 #include "tools/benchmark/benchmark_codec.h"
     14 
     15 namespace jpegxl {
     16 namespace tools {
     17 ImageCodec* CreateNewPNGCodec(const BenchmarkArgs& args);
     18 
     19 // Registers the png-specific command line options.
     20 Status AddCommandLineOptionsPNGCodec(BenchmarkArgs* args);
     21 }  // namespace tools
     22 }  // namespace jpegxl
     23 
     24 #endif  // TOOLS_BENCHMARK_BENCHMARK_CODEC_PNG_H_