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 jxl { 16 ImageCodec* CreateNewPNGCodec(const BenchmarkArgs& args); 17 18 // Registers the png-specific command line options. 19 Status AddCommandLineOptionsPNGCodec(BenchmarkArgs* args); 20 } // namespace jxl 21 22 #endif // TOOLS_BENCHMARK_BENCHMARK_CODEC_PNG_H_ 23