Lines Matching refs:cf
213 lv_color_format_t cf = lv_display_get_color_format(disp); in flush_cb() local
219 if(cf == LV_COLOR_FORMAT_I1) { in flush_cb()
221 cf = LV_COLOR_FORMAT_ARGB8888; in flush_cb()
242 uint32_t px_map_stride = lv_draw_buf_width_to_stride(lv_area_get_width(area), cf); in flush_cb()
243 uint32_t px_size = lv_color_format_get_size(cf); in flush_cb()
245 int32_t fb_stride = lv_draw_buf_width_to_stride(disp->hor_res, cf); in flush_cb()
261 … lv_draw_sw_rotate(px_map, fb_start, px_map_w, px_map_h, px_map_stride, fb_stride, rotation, cf); in flush_cb()
378 lv_color_format_t cf = lv_display_get_color_format(disp); in window_update() local
379 if(cf == LV_COLOR_FORMAT_I1) { in window_update()
380 cf = LV_COLOR_FORMAT_ARGB8888; in window_update()
382 uint32_t stride = lv_draw_buf_width_to_stride(hor_res, cf); in window_update()
396 lv_color_format_t cf = lv_display_get_color_format(disp); in texture_resize() local
400 if(cf == LV_COLOR_FORMAT_I1) { in texture_resize()
401 cf = LV_COLOR_FORMAT_ARGB8888; in texture_resize()
403 uint32_t stride = lv_draw_buf_width_to_stride(disp->hor_res, cf); in texture_resize()