Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dpp/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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
Ddcn10_hubp.c1187 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position() local
1213 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1217 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1223 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1228 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1239 if (src_x_offset >= (int)param->viewport.width) in hubp1_cursor_set_position()
1242 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
Ddcn20_hubp.c983 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position() local
1009 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1013 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1019 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1024 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1035 if (src_x_offset >= (int)param->viewport.width) in hubp2_cursor_set_position()
1038 if (src_x_offset + cursor_width <= 0) in hubp2_cursor_set_position()
1076 if (src_x_offset < 0) in hubp2_cursor_set_position()
1077 src_x_offset = 0; in hubp2_cursor_set_position()
1088 hubp->cur_rect.x = src_x_offset + param->viewport.x; in hubp2_cursor_set_position()