Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c3105 typedef struct ColorTree ColorTree; typedef
3113 struct ColorTree { struct
3114 ColorTree* children[16]; /*up to 16 pointers to ColorTree of next level*/ argument
3118 static void color_tree_init(ColorTree* tree) { in color_tree_init() argument
3123 static void color_tree_cleanup(ColorTree* tree) { in color_tree_cleanup()
3134 static int color_tree_get(ColorTree* tree, unsigned char r, unsigned char g, unsigned char b, unsig… in color_tree_get()
3145 static int color_tree_has(ColorTree* tree, unsigned char r, unsigned char g, unsigned char b, unsig… in color_tree_has()
3153 static unsigned color_tree_add(ColorTree* tree, in color_tree_add()
3159 tree->children[i] = (ColorTree*)lodepng_malloc(sizeof(ColorTree)); in color_tree_add()
3171 const LodePNGColorMode* mode, ColorTree* tree /*for palette*/, in rgba8ToPixel()
[all …]