Home
last modified time | relevance | path

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

/linux-6.14.4/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.14.4/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
Ddcn10_dpp.c446 int src_x_offset = x_pos - pos->x_hotspot; in dpp1_set_cursor_position() local
459 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
463 src_x_offset = x_pos - x_hotspot; in dpp1_set_cursor_position()
469 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
474 if (src_x_offset >= (int)param->viewport.width) in dpp1_set_cursor_position()
477 if (src_x_offset + cursor_width <= 0) in dpp1_set_cursor_position()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
Ddcn10_hubp.c1207 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position() local
1233 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1237 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1243 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1248 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1259 if (src_x_offset >= (int)param->viewport.width) in hubp1_cursor_set_position()
1262 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
Ddcn20_hubp.c997 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position() local
1023 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1027 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1033 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1038 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1049 if (src_x_offset >= (int)param->viewport.width) in hubp2_cursor_set_position()
1052 if (src_x_offset + cursor_width <= 0) in hubp2_cursor_set_position()
1092 if (src_x_offset < 0) in hubp2_cursor_set_position()
1093 src_x_offset = 0; in hubp2_cursor_set_position()
1104 hubp->cur_rect.x = src_x_offset + param->viewport.x; in hubp2_cursor_set_position()