libjxl

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

benchmark_codec_webp.h (778B)


      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 #ifndef TOOLS_BENCHMARK_BENCHMARK_CODEC_WEBP_H_
      6 #define TOOLS_BENCHMARK_BENCHMARK_CODEC_WEBP_H_
      7 
      8 // To support webp, install libwebp-dev and rerun cmake.
      9 
     10 #include <string>
     11 
     12 #include "lib/jxl/base/status.h"
     13 #include "tools/benchmark/benchmark_args.h"
     14 #include "tools/benchmark/benchmark_codec.h"
     15 
     16 namespace jpegxl {
     17 namespace tools {
     18 ImageCodec* CreateNewWebPCodec(const BenchmarkArgs& args);
     19 
     20 // Registers the webp-specific command line options.
     21 Status AddCommandLineOptionsWebPCodec(BenchmarkArgs* args);
     22 }  // namespace tools
     23 }  // namespace jpegxl
     24 
     25 #endif  // TOOLS_BENCHMARK_BENCHMARK_CODEC_WEBP_H_