/lvgl-latest/tests/unity/ |
D | unity_support.h | 35 # define TEST_ASSERT_EQUAL_COLOR(c1, c2) TEST_ASSERT_TRUE(lv_color_eq(c1, c2)) argument 36 # define TEST_ASSERT_EQUAL_COLOR_MESSAGE(c1, c2, msg) TEST_ASSERT_TRUE(lv_color_eq(c1, c2), m… argument 38 # define TEST_ASSERT_EQUAL_COLOR32(c1, c2) TEST_ASSERT_TRUE(lv_color32_eq(c1, c2… argument 39 # define TEST_ASSERT_EQUAL_COLOR32_MESSAGE(c1, c2, msg) TEST_ASSERT_TRUE(lv_color32_eq(c1, c2… argument
|
/lvgl-latest/src/misc/ |
D | lv_color_op.c | 36 lv_color_t LV_ATTRIBUTE_FAST_MEM lv_color_mix(lv_color_t c1, lv_color_t c2, uint8_t mix) in lv_color_mix() argument 40 ret.red = LV_UDIV255((uint16_t)c1.red * mix + c2.red * (255 - mix) + LV_COLOR_MIX_ROUND_OFS); in lv_color_mix() 41 …ret.green = LV_UDIV255((uint16_t)c1.green * mix + c2.green * (255 - mix) + LV_COLOR_MIX_ROUND_OFS); in lv_color_mix() 42 ret.blue = LV_UDIV255((uint16_t)c1.blue * mix + c2.blue * (255 - mix) + LV_COLOR_MIX_ROUND_OFS); in lv_color_mix()
|
D | lv_color.c | 262 bool lv_color_eq(lv_color_t c1, lv_color_t c2) in lv_color_eq() argument 264 return lv_color_to_int(c1) == lv_color_to_int(c2); in lv_color_eq() 267 bool lv_color32_eq(lv_color32_t c1, lv_color32_t c2) in lv_color32_eq() argument 269 return *((uint32_t *)&c1) == *((uint32_t *)&c2); in lv_color32_eq() 306 uint16_t LV_ATTRIBUTE_FAST_MEM lv_color_16_16_mix(uint16_t c1, uint16_t c2, uint8_t mix) in lv_color_16_16_mix() argument 308 if(mix == 255) return c1; in lv_color_16_16_mix() 310 if(c1 == c2) return c1; in lv_color_16_16_mix() 319 uint32_t fg = (uint32_t)(c1 | ((uint32_t)c1 << 16)) & 0x7E0F81F; in lv_color_16_16_mix()
|
D | lv_color_op.h | 49 lv_color_t LV_ATTRIBUTE_FAST_MEM lv_color_mix(lv_color_t c1, lv_color_t c2, uint8_t mix);
|
D | lv_color.h | 278 bool lv_color_eq(lv_color_t c1, lv_color_t c2); 286 bool lv_color32_eq(lv_color32_t c1, lv_color32_t c2); 344 uint16_t LV_ATTRIBUTE_FAST_MEM lv_color_16_16_mix(uint16_t c1, uint16_t c2, uint8_t mix);
|
D | lv_area.c | 482 int32_t c1 = lv_trigo_sin(angle_low + 90); in lv_point_array_transform() local 487 int32_t cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_point_array_transform()
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgSwCommon.h | 300 static inline uint32_t JOIN(uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3) in JOIN() argument 302 return (c0 << 24 | c1 << 16 | c2 << 8 | c3); in JOIN() 377 auto c1 = (C1(s) > C1(d)) ? (C1(s) - C1(d)) : (C1(d) - C1(s)); in opBlendDifference() local 380 return JOIN(255, c1, c2, c3); in opBlendDifference() 386 auto c1 = std::min(255, C1(s) + C1(d) - std::min(255, (C1(s) * C1(d)) << 1)); in opBlendExclusion() local 389 return JOIN(255, c1, c2, c3); in opBlendExclusion() 395 auto c1 = std::min(C1(s) + C1(d), 255); in opBlendAdd() local 398 return JOIN(255, c1, c2, c3); in opBlendAdd() 404 auto c1 = C1(s) + C1(d) - MULTIPLY(C1(s), C1(d)); in opBlendScreen() local 407 return JOIN(255, c1, c2, c3); in opBlendScreen() [all …]
|
D | tvgSwFill.cpp | 101 auto c1 = static_cast<uint8_t>(static_cast<float>((c >> 8) & 0xFF) * invA); in _alphaUnblend() local 104 return (a << 24) | (c0 << 16) | (c1 << 8) | c2; in _alphaUnblend()
|
D | tvgSwRaster.cpp | 279 auto c1 = img[rx + ry * w]; in _interpUpScaler() local 284 return INTERPOLATE(INTERPOLATE(c4, c3, dx), INTERPOLATE(c2, c1, dx), dy); in _interpUpScaler()
|
/lvgl-latest/src/libs/thorvg/rapidjson/internal/ |
D | itoa.h | 192 const uint32_t c1 = v1 % 10000; in u64toa() local 197 const uint32_t d7 = (c1 / 100) << 1; in u64toa() 198 const uint32_t d8 = (c1 % 100) << 1; in u64toa() 265 const uint32_t c1 = v1 % 10000; in u64toa() local 270 const uint32_t d7 = (c1 / 100) << 1; in u64toa() 271 const uint32_t d8 = (c1 % 100) << 1; in u64toa()
|
/lvgl-latest/src/draw/sw/blend/ |
D | lv_draw_sw_blend_to_rgb565.c | 66 static inline uint16_t /* LV_ATTRIBUTE_FAST_MEM */ l8_to_rgb565(const uint8_t c1); 68 static inline uint16_t /* LV_ATTRIBUTE_FAST_MEM */ lv_color_8_16_mix(const uint8_t c1, uint16_t c2,… 70 static inline uint16_t /* LV_ATTRIBUTE_FAST_MEM */ lv_color_24_16_mix(const uint8_t * c1, uint16_t … 1094 static inline uint16_t LV_ATTRIBUTE_FAST_MEM l8_to_rgb565(const uint8_t c1) in l8_to_rgb565() argument 1096 return ((c1 & 0xF8) << 8) + ((c1 & 0xFC) << 3) + ((c1 & 0xF8) >> 3); in l8_to_rgb565() 1099 static inline uint16_t LV_ATTRIBUTE_FAST_MEM lv_color_8_16_mix(const uint8_t c1, uint16_t c2, uint8… in lv_color_8_16_mix() argument 1106 return ((c1 & 0xF8) << 8) + ((c1 & 0xFC) << 3) + ((c1 & 0xF8) >> 3); in lv_color_8_16_mix() 1111 return ((((c1 >> 3) * mix + ((c2 >> 11) & 0x1F) * mix_inv) << 3) & 0xF800) + in lv_color_8_16_mix() 1112 ((((c1 >> 2) * mix + ((c2 >> 5) & 0x3F) * mix_inv) >> 3) & 0x07E0) + in lv_color_8_16_mix() 1113 (((c1 >> 3) * mix + (c2 & 0x1F) * mix_inv) >> 8); in lv_color_8_16_mix() [all …]
|
D | lv_draw_sw_blend_to_al88.c | 81 static inline bool lv_color16a_eq(lv_color16a_t c1, lv_color16a_t c2); 929 static inline bool lv_color16a_eq(lv_color16a_t c1, lv_color16a_t c2) in lv_color16a_eq() argument 931 return *((uint16_t *)&c1) == *((uint16_t *)&c2); in lv_color16a_eq()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_bindings.c | 39 lv_color_t c1 = lv_color_hex(0xff0000); in create_ui() local 41 lv_color_t c3 = lv_color_mix(c1, c2, LV_OPA_60); in create_ui() 93 lv_obj_set_style_bg_color(label, c1, 0); in create_ui()
|
D | test_svg.c | 563 uint32_t c1 = (LV_ARRAY_GET(&svg_node->attrs, 0, lv_svg_attr_t))->value.ival; in testStrokeFillAttrs() local 564 TEST_ASSERT_EQUAL(c1, LV_SVG_LINE_CAP_ROUND); in testStrokeFillAttrs() 659 uint32_t c1 = (LV_ARRAY_GET(&svg_node1->attrs, 0, lv_svg_attr_t))->value.uval; in testGradient() local 660 TEST_ASSERT_EQUAL(c1, 0); in testGradient()
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_obj_tree.c | 29 lv_color_t c1 = lv_color_hex(0x444444); in test_obj_tree_2() local 31 TEST_ASSERT_EQUAL_COLOR(c1, c2); in test_obj_tree_2()
|
/lvgl-latest/docs/details/main-components/ |
D | color.rst | 117 // Mix two colors with a given ratio 0: full c2, 255: full c1, 128: half c1 and half c2 118 lv_color_t c = lv_color_mix(c1, c2, ratio);
|
/lvgl-latest/tests/micropy_test/ |
D | micropy.py | 127 c1 = lv.color_hex(0xff0000) 129 c3 = c1.mix(c2, lv.OPA._60) 198 label.set_style_bg_color(c1, 0)
|
/lvgl-latest/docs/ |
D | build.py | 412 c1 = os.path.exists(temp_directory) 414 if c1:
|
D | CHANGELOG.rst | 482 - **Optimize lv_color_16_16_mix() when c1 == c2** `5929 <https://github.com/lvgl/lvgl/pull/5929>`__
|
/lvgl-latest/src/libs/expat/ |
D | xmltok.c | 1012 char c1 = *s1++; in streqci() local 1014 if (ASCII_a <= c1 && c1 <= ASCII_z) in streqci() 1015 c1 += ASCII_A - ASCII_a; in streqci() 1022 if (c1 != c2) in streqci() 1024 if (! c1) in streqci()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_transform.c | 118 int32_t c1 = lv_trigo_sin(angle_low + 90); in lv_draw_sw_transform() local 122 tr_dsc.cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_draw_sw_transform()
|
/lvgl-latest/src/libs/lodepng/ |
D | lodepng.c | 4758 unsigned char a0, b0 = 0, c0, d0 = 0, a1, b1 = 0, c1, d1 = 0; in unfilterScanline() local 4764 c1 = b1; in unfilterScanline() 4788 d1 = scanline[i + 1] + paethPredictor(a1, b1, c1); in unfilterScanline() 4806 unsigned char a0, b0 = 0, c0, d0 = 0, a1, b1 = 0, c1, d1 = 0; in unfilterScanline() local 4811 c1 = b1; in unfilterScanline() 4829 d1 = scanline[i + 1] + paethPredictor(a1, b1, c1); in unfilterScanline() 4843 unsigned char a0, b0 = 0, c0, d0 = 0, a1, b1 = 0, c1, d1 = 0; in unfilterScanline() local 4847 c1 = b1; in unfilterScanline() 4859 d1 = scanline[i + 1] + paethPredictor(a1, b1, c1); in unfilterScanline() 4870 unsigned char a1, b1 = 0, c1, d1 = 0; in unfilterScanline() local [all …]
|
/lvgl-latest/docs/details/widgets/ |
D | chart.rst | 331 A cursor can be added with ``lv_chart_cursor_t * c1 = lv_chart_add_cursor(chart, color, dir);``.
|
/lvgl-latest/src/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 1429 #define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == … argument
|