Lines Matching refs:m
117 _lv_draw_mask_saved_t * m = LV_GC_ROOT(_lv_draw_mask_list); in lv_draw_mask_apply() local
119 while(m->param) { in lv_draw_mask_apply()
120 dsc = m->param; in lv_draw_mask_apply()
122 res = dsc->cb(mask_buf, abs_x, abs_y, len, (void *)m->param); in lv_draw_mask_apply()
126 m++; in lv_draw_mask_apply()
334 int32_t m; in lv_draw_mask_line_points_init() local
337 m = (1L << 20) / dx; /*m is multiplier to normalize y (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
338 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init()
342 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
343 param->xy_steep = (m * dx) >> 10; in lv_draw_mask_line_points_init()
349 int32_t m; in lv_draw_mask_line_points_init() local
352 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
353 param->xy_steep = (m * dx) >> 10; in lv_draw_mask_line_points_init()
357 m = (1L << 20) / dx; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
358 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init()
721 lv_opa_t m; in line_mask_flat() local
725 m = 255 - (((255 - xef) * (255 - px_h)) >> 9); in line_mask_flat()
726 if(p->inv) m = 255 - m; in line_mask_flat()
727 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_flat()
734 m = px_h - (p->spx >> 1); in line_mask_flat()
735 if(p->inv) m = 255 - m; in line_mask_flat()
736 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_flat()
745 m = (x_inters * px_h) >> 9; in line_mask_flat()
746 if(p->yx_steep < 0) m = 255 - m; in line_mask_flat()
747 if(p->inv) m = 255 - m; in line_mask_flat()
748 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_flat()
814 lv_opa_t m; in line_mask_steep() local
825 m = (xsf + xef) >> 1; in line_mask_steep()
826 if(p->inv) m = 255 - m; in line_mask_steep()
827 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_steep()
851 m = (y_inters * xsf) >> 9; in line_mask_steep()
852 if(p->inv) m = 255 - m; in line_mask_steep()
853 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_steep()
860 m = 255 - (((255 - y_inters) * x_inters) >> 9); in line_mask_steep()
861 if(p->inv) m = 255 - m; in line_mask_steep()
862 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_steep()
883 m = 255 - ((y_inters * (255 - xsf)) >> 9); in line_mask_steep()
884 if(p->inv) m = 255 - m; in line_mask_steep()
885 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_steep()
892 m = ((255 - y_inters) * x_inters) >> 9; in line_mask_steep()
893 if(p->inv) m = 255 - m; in line_mask_steep()
894 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_steep()