Home
last modified time | relevance | path

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

/lvgl-latest/tests/unity/
Dunity_support.h34 # define TEST_ASSERT_EQUAL_COLOR(c1, c2) TEST_ASSERT_EQUAL_UINT32(c1.full, c2.fu… argument
35 # define TEST_ASSERT_EQUAL_COLOR_MESSAGE(c1, c2, msg) TEST_ASSERT_EQUAL_UINT32_MESSAGE(c1.ful… argument
/lvgl-latest/src/misc/
Dlv_color.h438 static inline lv_color_t LV_ATTRIBUTE_FAST_MEM lv_color_mix(lv_color_t c1, lv_color_t c2, uint8_t m… in lv_color_mix() argument
445 c2.full = c2.full << 8 | c2.full >> 8; in lv_color_mix()
449 uint32_t bg = (uint32_t)((uint32_t)c2.full | ((uint32_t)c2.full << 16)) & in lv_color_mix()
459 LV_COLOR_SET_R(ret, LV_UDIV255((uint16_t)LV_COLOR_GET_R(c1) * mix + LV_COLOR_GET_R(c2) * in lv_color_mix()
461 LV_COLOR_SET_G(ret, LV_UDIV255((uint16_t)LV_COLOR_GET_G(c1) * mix + LV_COLOR_GET_G(c2) * in lv_color_mix()
463 LV_COLOR_SET_B(ret, LV_UDIV255((uint16_t)LV_COLOR_GET_B(c1) * mix + LV_COLOR_GET_B(c2) * in lv_color_mix()
468 ret.full = mix > LV_OPA_50 ? c1.full : c2.full; in lv_color_mix()
499 …lor_t LV_ATTRIBUTE_FAST_MEM lv_color_mix_premult(uint16_t * premult_c1, lv_color_t c2, uint8_t mix) in lv_color_mix_premult() argument
504 …LV_COLOR_SET_R(ret, LV_UDIV255(premult_c1[0] + LV_COLOR_GET_R(c2) * mix + LV_COLOR_MIX_ROUND_OFS)); in lv_color_mix_premult()
505 …LV_COLOR_SET_G(ret, LV_UDIV255(premult_c1[1] + LV_COLOR_GET_G(c2) * mix + LV_COLOR_MIX_ROUND_OFS)); in lv_color_mix_premult()
[all …]
Dlv_area.c563 int32_t c2 = lv_trigo_sin(angle_high + 90); in lv_point_transform() local
566 cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_point_transform()
/lvgl-latest/tests/src/test_cases/
Dtest_obj_tree.c29 lv_color_t c2 = lv_color_hex3(0x444); in test_obj_tree_2() local
30 TEST_ASSERT_EQUAL_COLOR(c1, c2); in test_obj_tree_2()
/lvgl-latest/docs/overview/
Dcolor.md82 // Mix two colors with a given ratio 0: full c2, 255: full c1, 128: half c1 and half c2
83 lv_color_t c = lv_color_mix(c1, c2, ratio);
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_transform.c99 int32_t c2 = lv_trigo_sin(angle_high + 90); in lv_draw_sw_transform() local
102 tr_dsc.cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_draw_sw_transform()
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1429 #define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == … argument
/lvgl-latest/docs/
DCHANGELOG.md1223 - fix(example) fix lv_example_chart_2 [`89081c2`](https://github.com/lvgl/lvgl/commit/89081c2d6ee41…