Byakuren 1.0.1
A theme color extracting library implemented by C.
|
Octree node structure for color quantization. More...
#include <bkr_common.h>
Data Fields | |
uint32_t | red_components |
Sum of red components. | |
uint32_t | green_components |
Sum of green components. | |
uint32_t | blue_components |
Sum of blue components. | |
uint8_t | is_leaf |
Flag indicating if this node is a leaf. | |
uint32_t | pixel_count |
Number of pixels represented by this node. | |
struct bkr_octree_node * | children [8] |
Pointers to child nodes. | |
Octree node structure for color quantization.
This structure represents a node in the octree used for color quantization. It stores color component sums, leaf status, pixel count, and pointers to child nodes.
Definition at line 116 of file bkr_common.h.
uint32_t bkr_octree_node::blue_components |
Sum of blue components.
Definition at line 119 of file bkr_common.h.
struct bkr_octree_node* bkr_octree_node::children[8] |
Pointers to child nodes.
Definition at line 124 of file bkr_common.h.
uint32_t bkr_octree_node::green_components |
Sum of green components.
Definition at line 118 of file bkr_common.h.
uint8_t bkr_octree_node::is_leaf |
Flag indicating if this node is a leaf.
Definition at line 121 of file bkr_common.h.
uint32_t bkr_octree_node::pixel_count |
Number of pixels represented by this node.
Definition at line 122 of file bkr_common.h.
uint32_t bkr_octree_node::red_components |
Sum of red components.
Definition at line 117 of file bkr_common.h.