Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl.c110 const struct spl_rect *stream_dst = &spl_in->basic_out.dst_rect; in calculate_plane_rec_in_timing_active() local
115 temp = spl_fixpt_from_fraction(rec_in->x * (long long)stream_dst->width, in calculate_plane_rec_in_timing_active()
117 rec_out.x = stream_dst->x + spl_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
120 (rec_in->x + rec_in->width) * (long long)stream_dst->width, 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()
124 temp = spl_fixpt_from_fraction(rec_in->y * (long long)stream_dst->height, 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()
129 (rec_in->y + rec_in->height) * (long long)stream_dst->height, 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()