Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_grad.c129 if(grad->cr <= 0) { in lv_vg_lite_draw_grad()
130 LV_LOG_INFO("radius: %f is not valid", grad->cr); in lv_vg_lite_draw_grad()
302 grad.cr = LV_MAX(end_extent_x - grad.cx, end_extent_y - grad.cy); in lv_vg_lite_draw_grad_helper()
494 .r = item->lv.cr, in radial_grad_create()
660 if(!math_equal(lhs->lv.cr, rhs->lv.cr)) { in grad_compare_cb()
661 return lhs->lv.cr > rhs->lv.cr ? 1 : -1; in grad_compare_cb()
/lvgl-latest/src/draw/
Dlv_draw_vector_private.h45 float cr; member
Dlv_draw_vector.c76 dst->stroke_dsc.gradient.cr = src->stroke_dsc.gradient.cr; in _copy_draw_dsc()
566 dsc->current_dsc.fill_dsc.gradient.cr = radius; in lv_vector_dsc_set_fill_radial_gradient()
669 dsc->current_dsc.stroke_dsc.gradient.cr = radius; in lv_vector_dsc_set_stroke_radial_gradient()
/lvgl-latest/src/libs/tjpgd/
Dtjpgd.c836 int yy, cb, cr; in jd_mcu_output() local
876 cr = pc[64] - 128; in jd_mcu_output()
886 … *pix++ = /*G*/ BYTECLIP(yy - ((int)(0.344 * CVACC) * cb + (int)(0.714 * CVACC) * cr) / CVACC); in jd_mcu_output()
887 *pix++ = /*R*/ BYTECLIP(yy + ((int)(1.402 * CVACC) * cr) / CVACC); in jd_mcu_output()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_vector.c211 tvg_radial_gradient_set(grad, g->cx, g->cy, g->cr); in _set_paint_stroke_gradient()
262 tvg_radial_gradient_set(grad, g->cx, g->cy, g->cr); in _set_paint_fill_gradient()
/lvgl-latest/src/libs/svg/
Dlv_svg_render.c359 grad->dsc.cr = attr->value.fval; in _set_gradient_attr()
930 grad_dsc->cr = PCT_TO_PX(grad_dsc->cr, MAX(w, h)); in _set_gradient_ref()
1142 grad->dsc.cr = 0.5f; in _init_gradient()