Lines Matching full:color

78 /** Bit mask for global brightness control for color 1 in data byte 26, upper 5 bits of GBC */
81 /** Bit mask for global brightness control for color 1 in data byte 25, lower 2 bits of GBC */
84 /** Bit mask for global brightness control for color 2 in data byte 25, upper 6 bits of GBC */
87 /** Bit mask for global brightness control for color 2 in data byte 24, lower 1 bits of GBC */
90 /** Bit mask for global brightness control for color 3 in data byte 24, all 7 bits of GBC */
106 * @brief create data byte 26 from control data and color 1 GBC
109 * @param gbc_color_1 global brightness control for color 1 LEDs
119 * @brief create data byte 25 from color 1 and 2 GBC
121 * @param gbc_color_1 global brightness control for color 1 LEDs
122 * @param gbc_color_2 global brightness control for color 2 LEDs
132 * @brief create data byte 24 from color 2 and 3 GBC
134 * @param gbc_color_2 global brightness control for color 2 LEDs
135 * @param gbc_color_3 global brightness control for color 3 LEDs
145 * @brief map user colors to tlc5971 color order
147 * @param color_id color id from color mapping
149 * @return the mapped color value
197 * The SPI frame format expects a BGR color order for the global brightness control in tlc5971_fill_data_buffer()
198 * values, but since the led_strip API allows custom color mappings, we simply use in tlc5971_fill_data_buffer()
213 * data frame color order (BGR). in tlc5971_fill_data_buffer()
215 for (int color = 0; color < cfg->num_colors; color++) { in tlc5971_fill_data_buffer() local
217 tlc5971_map_color(cfg->color_mapping[color], pixel_data); in tlc5971_fill_data_buffer()
309 LOG_ERR("%s: invalid color mapping", dev->name); in tlc5971_init()