npy.h (514B)
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_NPY_H_ 7 #define LIB_EXTRAS_ENC_NPY_H_ 8 9 // Encodes pixels to numpy array, used for conformance testing. 10 11 #include <memory> 12 13 #include "lib/extras/enc/encode.h" 14 15 namespace jxl { 16 namespace extras { 17 18 std::unique_ptr<Encoder> GetNumPyEncoder(); 19 20 } // namespace extras 21 } // namespace jxl 22 23 #endif // LIB_EXTRAS_ENC_NPY_H_