Searched refs:lab (Results 1 – 13 of 13) sorted by relevance
39 CIELAB lab; in rgb888_to_lab() local60 lab.L = 116.0 * y - 16.0; in rgb888_to_lab()61 lab.a = 500.0 * (x - y); in rgb888_to_lab()62 lab.b = 200.0 * (y - z); in rgb888_to_lab()64 return lab; in rgb888_to_lab()90 static inline void sum_lab(CIELAB *sum, const CIELAB lab) in sum_lab() argument92 sum->L += lab.L; in sum_lab()93 sum->a += lab.a; in sum_lab()94 sum->b += lab.b; in sum_lab()97 static inline void average_lab(CIELAB *lab, const uint32_t count) in average_lab() argument[all …]
218 struct bt_mesh_va *lab; in va_set() local245 lab = va_get_by_idx(index); in va_set()246 if (lab == NULL) { in va_set()251 memcpy(lab->uuid, va.uuid, 16); in va_set()252 lab->addr = va.addr; in va_set()253 lab->ref = va.ref; in va_set()255 LOG_DBG("Restored Virtual Address, addr 0x%04x ref 0x%04x", lab->addr, lab->ref); in va_set()265 struct bt_mesh_va *lab; in bt_mesh_va_pending_store() local271 for (i = 0; (lab = va_get_by_idx(i)) != NULL; i++) { in bt_mesh_va_pending_store()272 if (!lab->changed) { in bt_mesh_va_pending_store()[all …]
1 # Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com>
2 * Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com>
3 # Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com>
3 # Copyright (c) 2022 Byte-Lab d.o.o <dev@byte-lab.com>
2 * Copyright (c) 2022 Byte-Lab d.o.o <dev@byte-lab.com>
175 .. _ruuvitag devkit: https://lab.ruuvi.com/devshield/