Home
last modified time | relevance | path

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

/linux/drivers/media/platform/st/sti/bdisp/
H A 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/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c1208 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position() local
1234 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1238 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1244 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1249 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1260 if (src_x_offset >= (int)param->viewport.width) in hubp1_cursor_set_position()
1263 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c999 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position() local
1025 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1029 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1035 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1040 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1051 if (src_x_offset >= (int)param->viewport.width) in hubp2_cursor_set_position()
1054 if (src_x_offset + cursor_width <= 0) in hubp2_cursor_set_position()
1099 if (src_x_offset < 0) in hubp2_cursor_set_position()
1100 src_x_offset = 0; in hubp2_cursor_set_position()
1111 hubp->cur_rect.x = src_x_offset + param->viewport.x; in hubp2_cursor_set_position()