Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/sw/
Dlv_draw_sw_transform.c319 int32_t ys_fract = ys_ups & 0xFF; in argb_and_rgb_aa() local
331 if(ys_fract < 0x80) { in argb_and_rgb_aa()
333 ys_fract = (0x7F - ys_fract) * 2; in argb_and_rgb_aa()
337 ys_fract = (ys_fract - 0x80) * 2; in argb_and_rgb_aa()
391 … if(a_ver != a_base) a_ver = ((a_ver * ys_fract) + (a_base * (0x100 - ys_fract))) >> 8; in argb_and_rgb_aa()
423 c_ver = lv_color_mix(c_ver, c_base, ys_fract); in argb_and_rgb_aa()
458 abuf[x] = (a * (0xFF - ys_fract)) >> 8; in argb_and_rgb_aa()