Lines Matching full:x
84 #define MAP_NORMAL_MASK_PX(x) \ argument
86 if(*mask_tmp_x == LV_OPA_COVER) dest_buf[x] = src_buf[x]; \
87 else dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], *mask_tmp_x); \
215 int32_t x; in fill_set_px() local
220 for(x = blend_area->x1; x <= blend_area->x2; x++) { in fill_set_px()
221 … disp->driver->set_px_cb(disp->driver, (void *)dest_buf, dest_stride, x, y, color, opa); in fill_set_px()
230 for(x = 0; x < w; x++) { in fill_set_px()
231 if(mask[x]) { in fill_set_px()
233 …er->set_px_cb(disp->driver, (void *)dest_buf, dest_stride, blend_area->x1 + x, blend_area->y1 + y,… in fill_set_px()
234 (uint32_t)((uint32_t)opa * mask[x]) >> 8); in fill_set_px()
249 int32_t x; in fill_normal() local
278 for(x = 0; x < w; x++) { in fill_normal()
279 if(last_dest_color.full != dest_buf[x].full) { in fill_normal()
280 last_dest_color = dest_buf[x]; in fill_normal()
281 last_res_color = lv_color_mix_premult(color_premult, dest_buf[x], opa_inv); in fill_normal()
283 dest_buf[x] = last_res_color; in fill_normal()
298 for(x = 0; x < w && ((lv_uintptr_t)(mask) & 0x3); x++) { in fill_normal()
302 for(; x <= x_end4; x += 4) { in fill_normal()
338 for(; x < w ; x++) { in fill_normal()
356 for(x = 0; x < w; x++) { in fill_normal()
360 if(*mask != last_mask || last_dest_color.full != dest_buf[x].full) { in fill_normal()
362 else last_res_color = lv_color_mix(color, dest_buf[x], opa_tmp); in fill_normal()
364 last_dest_color.full = dest_buf[x].full; in fill_normal()
366 dest_buf[x] = last_res_color; in fill_normal()
456 int32_t x; in fill_argb() local
466 for(x = 0; x < w; x++) { in fill_argb()
482 for(x = 0; x < w; x++) { in fill_argb()
497 for(x = 0; x < w; x++) { in fill_argb()
514 for(x = 0; x < w; x++) { in fill_argb()
542 int32_t x; in fill_blended() local
566 for(x = 0; x < w; x++) { in fill_blended()
567 if(last_dest_color.full != dest_buf[x].full) { in fill_blended()
568 last_dest_color = dest_buf[x]; in fill_blended()
569 last_res_color = blend_fp(color, dest_buf[x], opa); in fill_blended()
571 dest_buf[x] = last_res_color; in fill_blended()
587 for(x = 0; x < w; x++) { in fill_blended()
588 if(mask[x] == 0) continue; in fill_blended()
589 if(mask[x] != last_mask || last_dest_color.full != dest_buf[x].full) { in fill_blended()
590 … opa_tmp = mask[x] >= LV_OPA_MAX ? opa : (uint32_t)((uint32_t)mask[x] * opa) >> 8; in fill_blended()
592 last_res_color = blend_fp(color, dest_buf[x], opa_tmp); in fill_blended()
593 last_mask = mask[x]; in fill_blended()
594 last_dest_color.full = dest_buf[x].full; in fill_blended()
596 dest_buf[x] = last_res_color; in fill_blended()
615 int32_t x; in map_set_px() local
620 for(x = 0; x < w; x++) { in map_set_px()
621 …x_cb(disp->driver, (void *)dest_buf, dest_stride, dest_area->x1 + x, dest_area->y1 + y, src_buf[x], in map_set_px()
629 for(x = 0; x < w; x++) { in map_set_px()
630 if(mask[x]) { in map_set_px()
631 …x_cb(disp->driver, (void *)dest_buf, dest_stride, dest_area->x1 + x, dest_area->y1 + y, src_buf[x], in map_set_px()
632 (uint32_t)((uint32_t)opa * mask[x]) >> 8); in map_set_px()
650 int32_t x; in map_normal() local
664 for(x = 0; x < w; x++) { in map_normal()
665 dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], opa); in map_normal()
681 for(x = 0; x < w; x++) { in map_normal()
682 MAP_NORMAL_MASK_PX(x); in map_normal()
685 for(x = 0; x < w && ((lv_uintptr_t)mask_tmp_x & 0x3); x++) { in map_normal()
686 MAP_NORMAL_MASK_PX(x) in map_normal()
690 for(; x < x_end4; x += 4) { in map_normal()
693 dest_buf[x] = src_buf[x]; in map_normal()
694 dest_buf[x + 1] = src_buf[x + 1]; in map_normal()
695 dest_buf[x + 2] = src_buf[x + 2]; in map_normal()
696 dest_buf[x + 3] = src_buf[x + 3]; in map_normal()
700 MAP_NORMAL_MASK_PX(x) in map_normal()
701 MAP_NORMAL_MASK_PX(x + 1) in map_normal()
702 MAP_NORMAL_MASK_PX(x + 2) in map_normal()
703 MAP_NORMAL_MASK_PX(x + 3) in map_normal()
710 for(; x < w ; x++) { in map_normal()
711 MAP_NORMAL_MASK_PX(x) in map_normal()
722 for(x = 0; x < w; x++) { in map_normal()
723 if(mask[x]) { in map_normal()
724 lv_opa_t opa_tmp = mask[x] >= LV_OPA_MAX ? opa : ((opa * mask[x]) >> 8); in map_normal()
725 dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], opa_tmp); in map_normal()
748 int32_t x; in map_argb() local
780 for(x = 0; x < w; x++) { in map_argb()
781 set_px_argb(dest_buf8, src_buf[x], LV_OPA_COVER); in map_argb()
786 for(x = 0; x < w; x++) { in map_argb()
787 set_px_argb_blend(dest_buf8, src_buf[x], LV_OPA_COVER, blend_fp); in map_argb()
803 for(x = 0; x < w; x++) { in map_argb()
804 set_px_argb(dest_buf8, src_buf[x], opa); in map_argb()
809 for(x = 0; x < w; x++) { in map_argb()
810 set_px_argb_blend(dest_buf8, src_buf[x], opa, blend_fp); in map_argb()
828 for(x = 0; x < w; x++) { in map_argb()
829 set_px_argb(dest_buf8, src_buf[x], mask[x]); in map_argb()
834 for(x = 0; x < w; x++) { in map_argb()
835 set_px_argb_blend(dest_buf8, src_buf[x], mask[x], blend_fp); in map_argb()
850 for(x = 0; x < w; x++) { in map_argb()
851 if(mask[x]) { in map_argb()
852 lv_opa_t opa_tmp = mask[x] >= LV_OPA_MAX ? opa : ((opa * mask[x]) >> 8); in map_argb()
853 set_px_argb(dest_buf8, src_buf[x], opa_tmp); in map_argb()
859 for(x = 0; x < w; x++) { in map_argb()
860 if(mask[x]) { in map_argb()
861 lv_opa_t opa_tmp = mask[x] >= LV_OPA_MAX ? opa : ((opa * mask[x]) >> 8); in map_argb()
862 set_px_argb_blend(dest_buf8, src_buf[x], opa_tmp, blend_fp); in map_argb()
886 int32_t x; in map_blended() local
913 for(x = 0; x < w; x++) { in map_blended()
914 … if(last_src_color.full != src_buf[x].full || last_dest_color.full != dest_buf[x].full) { in map_blended()
915 last_dest_color = dest_buf[x]; in map_blended()
916 last_src_color = src_buf[x]; in map_blended()
919 dest_buf[x] = last_res_color; in map_blended()
932 for(x = 0; x < w; x++) { in map_blended()
933 if(mask[x] == 0) continue; in map_blended()
934 lv_opa_t opa_tmp = mask[x] >= LV_OPA_MAX ? opa : ((opa * mask[x]) >> 8); in map_blended()
935 …if(last_src_color.full != src_buf[x].full || last_dest_color.full != dest_buf[x].full || last_opa … in map_blended()
936 last_dest_color = dest_buf[x]; in map_blended()
937 last_src_color = src_buf[x]; in map_blended()
941 dest_buf[x] = last_res_color; in map_blended()