libjxl

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

pnm.h (766B)


      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 LIB_EXTRAS_ENC_PNM_H_
      7 #define LIB_EXTRAS_ENC_PNM_H_
      8 
      9 // Encodes/decodes PBM/PGM/PPM/PFM pixels in memory.
     10 
     11 // TODO(janwas): workaround for incorrect Win64 codegen (cause unknown)
     12 #include <hwy/highway.h>
     13 #include <memory>
     14 
     15 #include "lib/extras/enc/encode.h"
     16 
     17 namespace jxl {
     18 namespace extras {
     19 
     20 std::unique_ptr<Encoder> GetPAMEncoder();
     21 std::unique_ptr<Encoder> GetPGMEncoder();
     22 std::unique_ptr<Encoder> GetPNMEncoder();
     23 std::unique_ptr<Encoder> GetPPMEncoder();
     24 std::unique_ptr<Encoder> GetPFMEncoder();
     25 
     26 }  // namespace extras
     27 }  // namespace jxl
     28 
     29 #endif  // LIB_EXTRAS_ENC_PNM_H_