Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/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-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c456 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in dpp1_set_cursor_position() local
464 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; in dpp1_set_cursor_position()
468 src_x_offset = pos->x - param->viewport.x; in dpp1_set_cursor_position()
473 if (src_x_offset >= (int)param->viewport.width) in dpp1_set_cursor_position()
476 if (src_x_offset + (int)width <= 0) in dpp1_set_cursor_position()
Ddcn10_hubp.c1129 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in hubp1_cursor_set_position() local
1147 src_x_offset = pos->y - pos->y_hotspot - param->viewport.x; in hubp1_cursor_set_position()
1154 src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; in hubp1_cursor_set_position()
1157 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1168 if (src_x_offset >= (int)param->viewport.width) in hubp1_cursor_set_position()
1171 if (src_x_offset + (int)hubp->curs_attr.width <= 0) in hubp1_cursor_set_position()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c944 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in hubp2_cursor_set_position() local
967 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; in hubp2_cursor_set_position()
971 src_x_offset = pos->x - param->viewport.x; in hubp2_cursor_set_position()
977 src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; in hubp2_cursor_set_position()
980 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
991 if (src_x_offset >= (int)param->viewport.width) in hubp2_cursor_set_position()
994 if (src_x_offset + cursor_width <= 0) in hubp2_cursor_set_position()