Home
last modified time | relevance | path

Searched refs:rec_out (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl.c36 struct spl_rect rec_out = *rec_in; in shift_rec() local
38 rec_out.x += x; in shift_rec()
39 rec_out.y += y; in shift_rec()
41 return rec_out; in shift_rec()
111 struct spl_rect rec_out = {0}; in calculate_plane_rec_in_timing_active() local
117 rec_out.x = stream_dst->x + spl_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
122 rec_out.width = stream_dst->x + spl_fixpt_round(temp) - rec_out.x; in calculate_plane_rec_in_timing_active()
126 rec_out.y = stream_dst->y + spl_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
131 rec_out.height = stream_dst->y + spl_fixpt_round(temp) - rec_out.y; in calculate_plane_rec_in_timing_active()
133 return rec_out; in calculate_plane_rec_in_timing_active()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c809 struct rect rec_out = *rec_in; in shift_rec() local
811 rec_out.x += x; in shift_rec()
812 rec_out.y += y; in shift_rec()
814 return rec_out; in shift_rec()
883 struct rect rec_out = {0}; in calculate_plane_rec_in_timing_active() local
888 rec_out.x = stream->dst.x + dc_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
893 rec_out.width = stream->dst.x + dc_fixpt_round(temp) - rec_out.x; in calculate_plane_rec_in_timing_active()
897 rec_out.y = stream->dst.y + dc_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
902 rec_out.height = stream->dst.y + dc_fixpt_round(temp) - rec_out.y; in calculate_plane_rec_in_timing_active()
904 return rec_out; in calculate_plane_rec_in_timing_active()