Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl.c34 static struct spl_rect shift_rec(const struct spl_rect *rec_in, int x, int y) in shift_rec() argument
36 struct spl_rect rec_out = *rec_in; in shift_rec()
46 const struct spl_rect *rec_in) in calculate_plane_rec_in_timing_active() argument
115 temp = spl_fixpt_from_fraction(rec_in->x * (long long)stream_dst->width, 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()
124 temp = spl_fixpt_from_fraction(rec_in->y * (long long)stream_dst->height, 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()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c807 static struct rect shift_rec(const struct rect *rec_in, int x, int y) in shift_rec() argument
809 struct rect rec_out = *rec_in; in shift_rec()
819 const struct rect *rec_in) in calculate_plane_rec_in_timing_active() argument
886 temp = dc_fixpt_from_fraction(rec_in->x * (long long)stream->dst.width, in calculate_plane_rec_in_timing_active()
891 (rec_in->x + rec_in->width) * (long long)stream->dst.width, in calculate_plane_rec_in_timing_active()
895 temp = dc_fixpt_from_fraction(rec_in->y * (long long)stream->dst.height, in calculate_plane_rec_in_timing_active()
900 (rec_in->y + rec_in->height) * (long long)stream->dst.height, in calculate_plane_rec_in_timing_active()