Searched refs:dst_rect (Results 1 – 13 of 13) sorted by relevance
766 struct v4l2_rect dst_rect = dst->crop; in bdisp_hw_build_node() local782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node()783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()839 dst_rect.height /= 2; in bdisp_hw_build_node()840 dst_rect.width /= 2; in bdisp_hw_build_node()841 dst_rect.left /= 2; in bdisp_hw_build_node()842 dst_rect.top /= 2; in bdisp_hw_build_node()847 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node()850 dst_rect.left; in bdisp_hw_build_node()852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
152 struct drm_rect dst_rect; member370 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_setup_rects_impl()371 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_setup_rects_impl()372 drm_rect_width(&cfg->dst_rect); in dpu_hw_setup_rects_impl()
1463 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info()1464 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info()1469 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info()1474 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info()1477 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info()1488 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()1494 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
2195 dc_plane_state->dst_rect.height = stream->src.height; in dm_validate_stream_and_context()2196 dc_plane_state->dst_rect.width = stream->src.width; in dm_validate_stream_and_context()
3076 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()
2933 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()2934 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()2947 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()2948 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()2949 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()2950 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()2965 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()2966 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) { in get_scaling_info_update_type()3360 surface->dst_rect = in copy_surface_update_to_plane()3361 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()[all …]
1268 plane_state->dst_rect.width); in calculate_scaling_ratios()1271 plane_state->dst_rect.height); in calculate_scaling_ratios()1384 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports()1577 !plane_state->dst_rect.width || in resource_build_scaling_params()1578 !plane_state->dst_rect.height || in resource_build_scaling_params()1749 plane_state->dst_rect.height, in resource_build_scaling_params()1750 plane_state->dst_rect.width, in resource_build_scaling_params()1751 plane_state->dst_rect.x, in resource_build_scaling_params()1752 plane_state->dst_rect.y, in resource_build_scaling_params()5588 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
175 pipe->plane_state->dst_rect.width == width && in dcn60_check_native_scaling()176 pipe->plane_state->dst_rect.height == height) in dcn60_check_native_scaling()
1832 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
1823 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn31_populate_dml_pipes_from_context()1824 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn31_populate_dml_pipes_from_context()
1815 != res_ctx->pipe_ctx[i].plane_state->dst_rect.width || in allow_pixel_rate_crb()1817 != res_ctx->pipe_ctx[i].plane_state->dst_rect.height))) in allow_pixel_rate_crb()
1689 struct rect dst_rect; member2086 struct rect dst_rect; member
1133 out->ScalerRecoutWidth[location] = in->dst_rect.width; in populate_dml_plane_cfg_from_plane_state()