enc_debug_tree.h (668B)
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_JXL_MODULAR_ENCODING_ENC_DEBUG_TREE_H_ 7 #define LIB_JXL_MODULAR_ENCODING_ENC_DEBUG_TREE_H_ 8 9 #include <stddef.h> 10 #include <stdint.h> 11 12 #include <string> 13 #include <vector> 14 15 #include "lib/jxl/modular/encoding/dec_ma.h" 16 #include "lib/jxl/modular/options.h" 17 18 namespace jxl { 19 20 const char *PredictorName(Predictor p); 21 std::string PropertyName(size_t i); 22 23 void PrintTree(const Tree &tree, const std::string &path); 24 25 } // namespace jxl 26 27 #endif // LIB_JXL_MODULAR_ENCODING_ENC_DEBUG_TREE_H_