Searched refs:rec_in (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/spl/ |
H A D | dc_spl.c | 69 static struct spl_rect shift_rec(const struct spl_rect *rec_in, int x, int y) in shift_rec() argument 71 struct spl_rect rec_out = *rec_in; in shift_rec() 81 const struct spl_rect *rec_in) in calculate_plane_rec_in_timing_active() argument 150 temp = spl_fixpt_from_fraction(rec_in->x * (long long)stream_dst->width, in calculate_plane_rec_in_timing_active() 155 (rec_in->x + rec_in->width) * (long long)stream_dst->width, in calculate_plane_rec_in_timing_active() 159 temp = spl_fixpt_from_fraction(rec_in->y * (long long)stream_dst->height, in calculate_plane_rec_in_timing_active() 164 (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 D | dc_resource.c | 788 static struct rect shift_rec(const struct rect *rec_in, int x, int y) in shift_rec() argument 790 struct rect rec_out = *rec_in; in shift_rec() 800 const struct rect *rec_in) in calculate_plane_rec_in_timing_active() argument 867 temp = dc_fixpt_from_fraction(rec_in->x * (long long)stream->dst.width, in calculate_plane_rec_in_timing_active() 872 (rec_in->x + rec_in->width) * (long long)stream->dst.width, in calculate_plane_rec_in_timing_active() 876 temp = dc_fixpt_from_fraction(rec_in->y * (long long)stream->dst.height, in calculate_plane_rec_in_timing_active() 881 (rec_in->y + rec_in->height) * (long long)stream->dst.height, in calculate_plane_rec_in_timing_active()
|