Lines Matching refs:x_safe
270 lv_coord_t x_safe; in lv_canvas_blur_hor() local
283 x_safe = x < 0 ? 0 : x; in lv_canvas_blur_hor()
284 x_safe = x_safe > canvas->dsc.header.w - 1 ? canvas->dsc.header.w - 1 : x_safe; in lv_canvas_blur_hor()
286 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); in lv_canvas_blur_hor()
287 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
320 x_safe = x - r_back; in lv_canvas_blur_hor()
321 x_safe = x_safe < 0 ? 0 : x_safe; in lv_canvas_blur_hor()
322 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); in lv_canvas_blur_hor()
323 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
334 x_safe = x + 1 + r_front; in lv_canvas_blur_hor()
335 x_safe = x_safe > canvas->dsc.header.w - 1 ? canvas->dsc.header.w - 1 : x_safe; in lv_canvas_blur_hor()
336 c = lv_img_buf_get_px_color(&line_img, x_safe, 0, lv_color_white()); in lv_canvas_blur_hor()
337 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()