Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/sti/bdisp/
A Dbdisp-hw.c779 src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.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.left; in bdisp_hw_build_node()
871 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()
876 src_rect.top /= 2; in bdisp_hw_build_node()
877 src_rect.left /= 2; in bdisp_hw_build_node()
878 src_rect.width /= 2; in bdisp_hw_build_node()
879 src_rect.height /= 2; in bdisp_hw_build_node()
892 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
[all …]
/linux/drivers/media/platform/rcar-vin/
A Drcar-v4l2.c222 vin->src_rect.top = 0; in rvin_reset_format()
223 vin->src_rect.left = 0; in rvin_reset_format()
235 vin->crop = vin->src_rect; in rvin_reset_format()
247 struct v4l2_rect *src_rect) in rvin_try_format() argument
280 if (src_rect) { in rvin_try_format()
281 src_rect->top = 0; in rvin_try_format()
282 src_rect->left = 0; in rvin_try_format()
283 src_rect->width = pix->width; in rvin_try_format()
331 &src_rect); in rvin_s_fmt_vid_cap()
344 vin->src_rect = src_rect; in rvin_s_fmt_vid_cap()
[all …]
A Drcar-vin.h260 struct v4l2_rect src_rect; member
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_debug.c103 plane_state->src_rect.x, in pre_surface_trace()
104 plane_state->src_rect.y, in pre_surface_trace()
105 plane_state->src_rect.width, in pre_surface_trace()
106 plane_state->src_rect.height, in pre_surface_trace()
277 update->scaling_info->src_rect.x, in update_surface_trace()
278 update->scaling_info->src_rect.y, in update_surface_trace()
279 update->scaling_info->src_rect.width, in update_surface_trace()
280 update->scaling_info->src_rect.height, in update_surface_trace()
A Ddc.c2209 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
2210 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
2215 if (u->scaling_info->src_rect.width != u->surface->src_rect.width in get_scaling_info_update_type()
2216 || u->scaling_info->src_rect.height != u->surface->src_rect.height) { in get_scaling_info_update_type()
2219 if (u->scaling_info->src_rect.width > u->surface->src_rect.width in get_scaling_info_update_type()
2220 || u->scaling_info->src_rect.height > u->surface->src_rect.height) in get_scaling_info_update_type()
2225 if (u->scaling_info->src_rect.x != u->surface->src_rect.x in get_scaling_info_update_type()
2226 || u->scaling_info->src_rect.y != u->surface->src_rect.y in get_scaling_info_update_type()
2481 surface->src_rect = in copy_surface_update_to_plane()
2482 srf_update->scaling_info->src_rect; in copy_surface_update_to_plane()
A Ddc_resource.c845 struct rect surf_src = plane_state->src_rect; in calculate_scaling_ratios()
962 struct rect src = plane_state->src_rect; in calculate_inits_and_viewports()
1184 plane_state->src_rect.height, in resource_build_scaling_params()
1185 plane_state->src_rect.width, in resource_build_scaling_params()
1186 plane_state->src_rect.x, in resource_build_scaling_params()
1187 plane_state->src_rect.y, in resource_build_scaling_params()
3025 if (plane_state->src_rect.width == 0 || plane_state->src_rect.height == 0 || in dc_validate_plane()
/linux/drivers/media/test-drivers/vivid/
A Dvivid-vid-cap.c370 dev->src_rect.width == 720 && dev->src_rect.height <= 576) in vivid_get_pixel_aspect()
399 dev->src_rect.width = 720; in vivid_update_format_cap()
401 dev->src_rect.height = 480; in vivid_update_format_cap()
405 dev->src_rect.height = 576; in vivid_update_format_cap()
412 dev->src_rect.width = bt->width; in vivid_update_format_cap()
452 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); in vivid_update_format_cap()
453 dev->crop_cap = dev->src_rect; in vivid_update_format_cap()
586 w = dev->src_rect.width; in vivid_try_fmt_vid_cap()
587 h = dev->src_rect.height; in vivid_try_fmt_vid_cap()
884 sel->r = dev->src_rect; in vivid_vid_cap_g_selection()
[all …]
A Dvivid-vid-common.c759 if (dev->src_rect.width != dev->sink_rect.width || in vivid_vid_can_loop()
760 dev->src_rect.height != dev->sink_rect.height) in vivid_vid_can_loop()
A Dvivid-core.h399 struct v4l2_rect src_rect; member
A Dvivid-core.c1866 dev->fb_cap.fmt.width = dev->src_rect.width; in vivid_create_instance()
1867 dev->fb_cap.fmt.height = dev->src_rect.height; in vivid_create_instance()
1869 dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; in vivid_create_instance()
1870 dev->fb_cap.fmt.sizeimage = dev->src_rect.height * dev->fb_cap.fmt.bytesperline; in vivid_create_instance()
A Dvivid-kthread-cap.c495 dev->src_rect.width, dev->src_rect.height, dev->input); in vivid_fillbuff()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_plane.c262 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level()
665 drm_rect_width(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler()
702 pdpu->pipe_cfg.src_rect.x1 = 0; in _dpu_plane_color_fill()
703 pdpu->pipe_cfg.src_rect.y1 = 0; in _dpu_plane_color_fill()
704 pdpu->pipe_cfg.src_rect.x2 = in _dpu_plane_color_fill()
706 pdpu->pipe_cfg.src_rect.y2 = in _dpu_plane_color_fill()
1109 pdpu->pipe_cfg.src_rect = state->src; in dpu_plane_sspp_atomic_update()
1112 pdpu->pipe_cfg.src_rect.x1 >>= 16; in dpu_plane_sspp_atomic_update()
1113 pdpu->pipe_cfg.src_rect.x2 >>= 16; in dpu_plane_sspp_atomic_update()
1114 pdpu->pipe_cfg.src_rect.y1 >>= 16; in dpu_plane_sspp_atomic_update()
[all …]
A Ddpu_hw_sspp.c473 src_xy = (cfg->src_rect.y1 << 16) | cfg->src_rect.x1; in dpu_hw_sspp_setup_rects()
474 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_sspp_setup_rects()
475 drm_rect_width(&cfg->src_rect); in dpu_hw_sspp_setup_rects()
A Ddpu_hw_sspp.h161 struct drm_rect src_rect; member
A Ddpu_trace.h647 __field_struct( struct drm_rect, src_rect )
661 __entry->src_rect = drm_plane_state_src(state);
676 DRM_RECT_FP_ARG(&__entry->src_rect),
/linux/drivers/gpu/drm/amd/display/dc/dce60/
A Ddce60_hw_sequencer.c353 pipe_ctx->plane_state->src_rect.x, in dce60_program_front_end_for_pipe()
354 pipe_ctx->plane_state->src_rect.y, in dce60_program_front_end_for_pipe()
355 pipe_ctx->plane_state->src_rect.width, in dce60_program_front_end_for_pipe()
356 pipe_ctx->plane_state->src_rect.height, in dce60_program_front_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_trace.h429 __entry->src_x = plane_state->src_rect.x;
430 __entry->src_y = plane_state->src_rect.y;
431 __entry->src_w = plane_state->src_rect.width;
432 __entry->src_h = plane_state->src_rect.height;
A Damdgpu_dm.c4625 scaling_info->src_rect.x = state->src_x >> 16; in fill_dc_scaling_info()
4626 scaling_info->src_rect.y = state->src_y >> 16; in fill_dc_scaling_info()
4643 (scaling_info->src_rect.x != 0 || scaling_info->src_rect.y != 0))) in fill_dc_scaling_info()
4646 scaling_info->src_rect.width = state->src_w >> 16; in fill_dc_scaling_info()
4647 if (scaling_info->src_rect.width == 0) in fill_dc_scaling_info()
4650 scaling_info->src_rect.height = state->src_h >> 16; in fill_dc_scaling_info()
4651 if (scaling_info->src_rect.height == 0) in fill_dc_scaling_info()
4680 scaling_info->src_rect.width; in fill_dc_scaling_info()
4686 scaling_info->src_rect.height; in fill_dc_scaling_info()
5553 dc_plane_state->src_rect = scaling_info.src_rect; in fill_dc_plane_attributes()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_resource.c1203 && plane_state->src_rect.width > caps->max_video_width) in dcn10_validate_plane()
1235 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global()
1236 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
1239 if (plane->src_rect.width >= 3840) in dcn10_validate_global()
1243 if (plane->src_rect.width >= 3840) in dcn10_validate_global()
A Ddcn10_hw_sequencer.c3335 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position()
3337 y_pos = (y_pos - y_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3340 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3342 y_pos = (y_pos - y_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position()
3359 x_pos += pipe_ctx->plane_state->src_rect.x; in dcn10_set_cursor_position()
3360 y_pos += pipe_ctx->plane_state->src_rect.y; in dcn10_set_cursor_position()
3471 pipe_ctx->plane_state->src_rect.x) { in dcn10_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_resource.c1040 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane()
1041 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
1066 if ((plane->src_rect.width > 1920 || in dce110_validate_surface_sets()
1067 plane->src_rect.height > 1080)) in dce110_validate_surface_sets()
A Ddce110_hw_sequencer.c2826 pipe_ctx->plane_state->src_rect.x,
2827 pipe_ctx->plane_state->src_rect.y,
2828 pipe_ctx->plane_state->src_rect.width,
2829 pipe_ctx->plane_state->src_rect.height,
2975 pos_cpy.x += pipe_ctx->plane_state->src_rect.x;
2976 pos_cpy.y += pipe_ctx->plane_state->src_rect.y;
/linux/drivers/staging/vc04_services/vchiq-mmal/
A Dmmal-parameters.h668 struct vchiq_mmal_rect src_rect; member
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc.h958 struct rect src_rect; member
1034 struct rect src_rect; member
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.c2286 pipes[pipe_cnt].pipe.src.viewport_width_max = pln->src_rect.width; in dcn20_populate_dml_pipes_from_context()
2287 pipes[pipe_cnt].pipe.src.viewport_height_max = pln->src_rect.height; in dcn20_populate_dml_pipes_from_context()
2673 pipe->plane_state->src_rect.width <= 16 || in dcn20_validate_apply_pipe_split_flags()
2674 pipe->plane_state->src_rect.height <= 16)) in dcn20_validate_apply_pipe_split_flags()

Completed in 115 milliseconds

12