summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/lib/extras/enc/npy.h
blob: 3ee6208ec290c35069fb8ceb9c365f4ba87c91e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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_NPY_H_
#define LIB_EXTRAS_ENC_NPY_H_

// Encodes pixels to numpy array, used for conformance testing.

#include <memory>

#include "lib/extras/enc/encode.h"

namespace jxl {
namespace extras {

std::unique_ptr<Encoder> GetNumPyEncoder();

}  // namespace extras
}  // namespace jxl

#endif  // LIB_EXTRAS_ENC_NPY_H_