benchmark_codec_jpeg.h (702B)
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_JPEG_H_ 7 #define TOOLS_BENCHMARK_BENCHMARK_CODEC_JPEG_H_ 8 9 #include "lib/jxl/base/status.h" 10 #include "tools/benchmark/benchmark_args.h" 11 #include "tools/benchmark/benchmark_codec.h" 12 13 namespace jpegxl { 14 namespace tools { 15 ImageCodec* CreateNewJPEGCodec(const BenchmarkArgs& args); 16 17 // Registers the jpeg-specific command line options. 18 Status AddCommandLineOptionsJPEGCodec(BenchmarkArgs* args); 19 } // namespace tools 20 } // namespace jpegxl 21 22 #endif // TOOLS_BENCHMARK_BENCHMARK_CODEC_JPEG_H_