Home
last modified time | relevance | path

Searched refs:src_x_offset (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/media/platform/st/sti/bdisp/
Dbdisp-hw.c760 enum bdisp_target_plan t_plan, int src_x_offset) in bdisp_hw_build_node() argument
777 src_rect.left += src_x_offset; in bdisp_hw_build_node()
778 src_rect.width -= src_x_offset; in bdisp_hw_build_node()
781 dst_x_offset = (src_x_offset * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()
996 int src_x_offset = 0; in bdisp_hw_build_all_nodes() local
1013 src_x_offset); in bdisp_hw_build_all_nodes()
1021 BDISP_CBCR, src_x_offset); in bdisp_hw_build_all_nodes()
1027 src_x_offset += MAX_SRC_WIDTH; in bdisp_hw_build_all_nodes()
1028 if (src_x_offset >= ctx->src.crop.width) in bdisp_hw_build_all_nodes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c443 int src_x_offset = x_pos - pos->x_hotspot; in dpp1_set_cursor_position() local
456 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
460 src_x_offset = x_pos - x_hotspot; in dpp1_set_cursor_position()
466 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
471 if (src_x_offset >= (int)param->viewport.width) in dpp1_set_cursor_position()
474 if (src_x_offset + cursor_width <= 0) in dpp1_set_cursor_position()
Ddcn10_hubp.c1186 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position() local
1212 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1216 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1222 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1227 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1238 if (src_x_offset >= (int)param->viewport.width) in hubp1_cursor_set_position()
1241 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c980 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position() local
1006 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1010 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1016 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1021 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1032 if (src_x_offset >= (int)param->viewport.width) in hubp2_cursor_set_position()
1035 if (src_x_offset + cursor_width <= 0) in hubp2_cursor_set_position()
1073 if (src_x_offset < 0) in hubp2_cursor_set_position()
1074 src_x_offset = 0; in hubp2_cursor_set_position()
1078 hubp->cur_rect.x = src_x_offset + param->viewport.x; in hubp2_cursor_set_position()