Home
last modified time | relevance | path

Searched refs:src_rect (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-hw.c765 struct v4l2_rect src_rect = src->crop; in bdisp_hw_build_node() local
777 src_rect.left += src_x_offset; in bdisp_hw_build_node()
778 src_rect.width -= src_x_offset; in bdisp_hw_build_node()
779 src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.width); in bdisp_hw_build_node()
783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()
856 src_rect.top /= 2; in bdisp_hw_build_node()
857 src_rect.height /= 2; in bdisp_hw_build_node()
870 node->s2xy = src_rect.top << 16 | src_rect in bdisp_hw_build_node()
[all...]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.h151 struct drm_rect src_rect; member
367 src_xy = (cfg->src_rect.y1 << 16) | cfg->src_rect.x1; in dpu_hw_setup_rects_impl()
368 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_setup_rects_impl()
369 drm_rect_width(&cfg->src_rect); in dpu_hw_setup_rects_impl()
/linux/drivers/gpu/drm/verisilicon/
H A Dvs_plane.c111 vs_fb_get_dma_addr(struct drm_framebuffer * fb,const struct drm_rect * src_rect) vs_fb_get_dma_addr() argument
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1445 scaling_info->src_rect.x = state->src_x >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1446 scaling_info->src_rect.y = state->src_y >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1463 (scaling_info->src_rect.x != 0 || scaling_info->src_rect.y != 0))) in amdgpu_dm_plane_fill_dc_scaling_info()
1466 scaling_info->src_rect.width = state->src_w >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1467 if (scaling_info->src_rect.width == 0) in amdgpu_dm_plane_fill_dc_scaling_info()
1470 scaling_info->src_rect.height = state->src_h >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1471 if (scaling_info->src_rect.height == 0) in amdgpu_dm_plane_fill_dc_scaling_info()
1500 scaling_info->src_rect.width; in amdgpu_dm_plane_fill_dc_scaling_info()
1506 scaling_info->src_rect in amdgpu_dm_plane_fill_dc_scaling_info()
[all...]
H A Damdgpu_dm_connector.c2204 dc_plane_state->src_rect.height = stream->src.height; in dm_validate_stream_and_context()
2205 dc_plane_state->src_rect.width = stream->src.width; in dm_validate_stream_and_context()
H A Damdgpu_dm.c3129 dc_plane_state->src_rect = scaling_info.src_rect; in fill_dc_dirty_rect()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1814 (res_ctx->pipe_ctx[i].plane_state && (res_ctx->pipe_ctx[i].plane_state->src_rect.width in allow_pixel_rate_crb()
1816 res_ctx->pipe_ctx[i].plane_state->src_rect.height in allow_pixel_rate_crb()
1873 …split_required = split_required || (pipe->plane_state && pipe->plane_state->src_rect.width > 5120); in dcn315_populate_dml_pipes_from_context()
1922 || (pipe->plane_state && pipe->plane_state->src_rect.width > 5120); in dcn315_populate_dml_pipes_from_context()
1953 && pipe->plane_state->src_rect.width <= 1920 && pipe->plane_state->src_rect.height <= 1080) { in dcn315_populate_dml_pipes_from_context()
1957 && pipe->plane_state->src_rect.width <= 5120 in dcn315_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2980 if (u->scaling_info->src_rect.width != u->surface->src_rect.width in det_surface_update()
2981 || u->scaling_info->src_rect.height != u->surface->src_rect.height in det_surface_update()
2991 if (u->scaling_info->src_rect.width > u->surface->src_rect.width in det_surface_update()
2992 || u->scaling_info->src_rect.height > u->surface->src_rect.height) in det_surface_update()
2998 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in det_surface_update()
2999 || u->scaling_info->dst_rect.height < u->surface->src_rect in det_surface_update()
[all...]
H A Ddc_resource.c1262 struct rect surf_src = plane_state->src_rect; in calculate_scaling_ratios()
1378 struct rect src = plane_state->src_rect; in calculate_inits_and_viewports()
1596 !plane_state->src_rect.width || in resource_build_scaling_params()
1597 !plane_state->src_rect.height) { in resource_build_scaling_params()
1749 "src_rect: height:%d width:%d x:%d y:%d dst_rect: height:%d width:%d x:%d y:%d clip_rect: height:%d width:%d x:%d y:%d\n", in resource_build_scaling_params()
1762 plane_state->src_rect.height, in resource_build_scaling_params()
1763 plane_state->src_rect.width,
1764 plane_state->src_rect.x, in resource_can_pipe_disable_cursor()
1765 plane_state->src_rect.y, in resource_can_pipe_disable_cursor()
5811 if (plane_state->src_rect in reset_sync_context_for_pipe()
[all...]
/linux/drivers/platform/raspberrypi/vchiq-mmal/
H A Dmmal-parameters.h665 struct vchiq_mmal_rect src_rect; member
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/
H A Ddcn60_clk_mgr.c174 int width = pipe->plane_state->src_rect.width; in dcn60_check_native_scaling()
175 int height = pipe->plane_state->src_rect.height; in dcn60_check_native_scaling()
1131 disp_src_width_list[i] = curr_pipe_ctx->plane_state->src_rect.width;
1132 disp_src_height_list[i] = curr_pipe_ctx->plane_state->src_rect.height;
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1823 (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()
1865 if (!is_dual_plane(pipe->plane_state->format) && pipe->plane_state->src_rect.width <= 5120) { in dcn31_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1831 memcpy(&phantom_plane->src_rect, &curr_pipe->plane_state->src_rect, sizeof(phantom_plane->src_rect)); in dcn32_enable_phantom_plane()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1835 && pipe->plane_state->src_rect.width <= 1920 && pipe->plane_state->src_rect.height <= 1080) { in dcn316_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1698 struct rect src_rect;
2095 struct rect src_rect;
1688 struct rect src_rect; global() member
2085 struct rect src_rect; global() member