29 lines
766 B
C++
29 lines
766 B
C++
// Copyright (c) the JPEG XL Project Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
#ifndef LIB_EXTRAS_ENC_PNM_H_
|
|
#define LIB_EXTRAS_ENC_PNM_H_
|
|
|
|
// Encodes/decodes PBM/PGM/PPM/PFM pixels in memory.
|
|
|
|
// TODO(janwas): workaround for incorrect Win64 codegen (cause unknown)
|
|
#include <hwy/highway.h>
|
|
#include <memory>
|
|
|
|
#include "lib/extras/enc/encode.h"
|
|
|
|
namespace jxl {
|
|
namespace extras {
|
|
|
|
std::unique_ptr<Encoder> GetPAMEncoder();
|
|
std::unique_ptr<Encoder> GetPGMEncoder();
|
|
std::unique_ptr<Encoder> GetPNMEncoder();
|
|
std::unique_ptr<Encoder> GetPPMEncoder();
|
|
std::unique_ptr<Encoder> GetPFMEncoder();
|
|
|
|
} // namespace extras
|
|
} // namespace jxl
|
|
|
|
#endif // LIB_EXTRAS_ENC_PNM_H_
|