Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/display/dc/sspl/
H A Ddc_spl.c159 const struct spl_rect *stream_dst = &spl_in->basic_out.dst_rect; in calculate_plane_rec_in_timing_active() local
164 temp = spl_fixpt_from_fraction(rec_in->x * (long long)stream_dst->width, in calculate_plane_rec_in_timing_active()
166 rec_out.x = stream_dst->x + spl_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
169 (rec_in->x + rec_in->width) * (long long)stream_dst->width, in calculate_plane_rec_in_timing_active()
171 rec_out.width = stream_dst->x + spl_fixpt_round(temp) - rec_out.x; in calculate_plane_rec_in_timing_active()
173 temp = spl_fixpt_from_fraction(rec_in->y * (long long)stream_dst->height, in calculate_plane_rec_in_timing_active()
175 rec_out.y = stream_dst->y + spl_fixpt_round(temp); in calculate_plane_rec_in_timing_active()
178 (rec_in->y + rec_in->height) * (long long)stream_dst->height, in calculate_plane_rec_in_timing_active()
180 rec_out.height = stream_dst->y + spl_fixpt_round(temp) - rec_out.y; in calculate_plane_rec_in_timing_active()