Lines Matching refs:current_plane

198 				   const struct vkms_plane_state *current_plane,  in clamp_line_coordinates()  argument
205 *dst_x_start = current_plane->frame_info->dst.x1; in clamp_line_coordinates()
233 if (*src_x_start + *pixel_count > current_plane->frame_info->fb->width) in clamp_line_coordinates()
234 *pixel_count = max(0, (int)current_plane->frame_info->fb->width - in clamp_line_coordinates()
244 if (*src_y_start + *pixel_count > current_plane->frame_info->fb->height) in clamp_line_coordinates()
245 *pixel_count = max(0, (int)current_plane->frame_info->fb->height - in clamp_line_coordinates()
260 static void blend_line(struct vkms_plane_state *current_plane, int y, in blend_line() argument
268 if (y < current_plane->frame_info->dst.y1 || in blend_line()
269 y >= current_plane->frame_info->dst.y2) in blend_line()
277 dst_line = DRM_RECT_INIT(current_plane->frame_info->dst.x1, y, in blend_line()
278 drm_rect_width(&current_plane->frame_info->dst), in blend_line()
281 drm_rect_fp_to_int(&tmp_src, &current_plane->frame_info->src); in blend_line()
305 drm_rect_translate(&src_line, -current_plane->frame_info->dst.x1, in blend_line()
306 -current_plane->frame_info->dst.y1); in blend_line()
309 current_plane->frame_info->rotation); in blend_line()
315 direction_for_rotation(current_plane->frame_info->rotation); in blend_line()
318 clamp_line_coordinates(direction, current_plane, &src_line, &src_x_start, &src_y_start, in blend_line()
348 current_plane->pixel_read_line(current_plane, src_x_start, src_y_start, direction, in blend_line()