Lines Matching refs:plane
398 static void adjust_drm_plane_to_layer(hwc_layer_1_t* layer, drm_plane_props_t* plane) in adjust_drm_plane_to_layer() argument
400 if (!layer || !plane) { in adjust_drm_plane_to_layer()
406 plane->crtc_x = layer->displayFrame.left; in adjust_drm_plane_to_layer()
407 plane->crtc_y = layer->displayFrame.top; in adjust_drm_plane_to_layer()
408 plane->crtc_w = WIDTH(layer->displayFrame); in adjust_drm_plane_to_layer()
409 plane->crtc_h = HEIGHT(layer->displayFrame); in adjust_drm_plane_to_layer()
412 plane->src_x = layer->sourceCrop.left; in adjust_drm_plane_to_layer()
413 plane->src_y = layer->sourceCrop.top; in adjust_drm_plane_to_layer()
414 plane->src_w = WIDTH(layer->sourceCrop); in adjust_drm_plane_to_layer()
415 plane->src_h = HEIGHT(layer->sourceCrop); in adjust_drm_plane_to_layer()
417 plane->layer = layer; in adjust_drm_plane_to_layer()