Home
last modified time | relevance | path

Searched refs:ColorTree (Results 1 – 1 of 1) sorted by relevance

/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2908 typedef struct ColorTree ColorTree; typedef
2916 struct ColorTree struct
2918 ColorTree* children[16]; /*up to 16 pointers to ColorTree of next level*/ argument
2922 static void color_tree_init(ColorTree* tree) in color_tree_init() argument
2929 static void color_tree_cleanup(ColorTree* tree) in color_tree_cleanup()
2943 static int color_tree_get(ColorTree* tree, unsigned char r, unsigned char g, unsigned char b, unsig… in color_tree_get()
2956 static int color_tree_has(ColorTree* tree, unsigned char r, unsigned char g, unsigned char b, unsig… in color_tree_has()
2964 static void color_tree_add(ColorTree* tree, in color_tree_add()
2973 tree->children[i] = (ColorTree*)lodepng_malloc(sizeof(ColorTree)); in color_tree_add()
2983 const LodePNGColorMode* mode, ColorTree* tree /*for palette*/, in rgba8ToPixel()
[all …]