Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/lodepng/
Dlodepng.c3591 typedef struct ColorTree ColorTree; typedef
3599 struct ColorTree { struct
3600 ColorTree * children[16]; /*up to 16 pointers to ColorTree of next level*/ argument
3604 static void color_tree_init(ColorTree * tree) in color_tree_init() argument
3610 static void color_tree_cleanup(ColorTree * tree) in color_tree_cleanup()
3622 static int color_tree_get(ColorTree * tree, unsigned char r, unsigned char g, unsigned char b, unsi… in color_tree_get()
3634 static int color_tree_has(ColorTree * tree, unsigned char r, unsigned char g, unsigned char b, unsi… in color_tree_has()
3643 static unsigned color_tree_add(ColorTree * tree, in color_tree_add()
3650 tree->children[i] = (ColorTree *)lodepng_malloc(sizeof(ColorTree)); in color_tree_add()
3662 const LodePNGColorMode * mode, ColorTree * tree /*for palette*/, in rgba8ToPixel()
[all …]