Imported Upstream version 0.9.0
[platform/upstream/libjxl.git] / tools / benchmark / benchmark_codec_jxl.h
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_JXL_H_
7 #define TOOLS_BENCHMARK_BENCHMARK_CODEC_JXL_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* CreateNewJxlCodec(const BenchmarkArgs& args);
18
19 // Registers the jxl-specific command line options.
20 Status AddCommandLineOptionsJxlCodec(BenchmarkArgs* args);
21 Status ValidateArgsJxlCodec(BenchmarkArgs* args);
22 }  // namespace tools
23 }  // namespace jpegxl
24
25 #endif  // TOOLS_BENCHMARK_BENCHMARK_CODEC_JXL_H_