Home
last modified time | relevance | path

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

/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()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c445 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in dpp1_set_cursor_position() local
453 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; in dpp1_set_cursor_position()
457 src_x_offset = pos->x - param->viewport.x; in dpp1_set_cursor_position()
462 if (src_x_offset >= (int)param->viewport.width) in dpp1_set_cursor_position()
465 if (src_x_offset + (int)width <= 0) in dpp1_set_cursor_position()
Ddcn10_hubp.c1153 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in hubp1_cursor_set_position() local
1176 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; in hubp1_cursor_set_position()
1180 src_x_offset = pos->x - param->viewport.x; in hubp1_cursor_set_position()
1186 src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; in hubp1_cursor_set_position()
1189 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1200 if (src_x_offset >= (int)param->viewport.width) in hubp1_cursor_set_position()
1203 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c970 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in hubp2_cursor_set_position() local
993 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; in hubp2_cursor_set_position()
997 src_x_offset = pos->x - param->viewport.x; in hubp2_cursor_set_position()
1003 src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; in hubp2_cursor_set_position()
1006 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1017 if (src_x_offset >= (int)param->viewport.width) in hubp2_cursor_set_position()
1020 if (src_x_offset + cursor_width <= 0) in hubp2_cursor_set_position()