Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl_types.h19 struct spl_rect { struct
138 struct spl_rect viewport;
139 struct spl_rect viewport_c;
140 struct spl_rect recout;
258 struct spl_rect recout; // RECOUT - set based on scl_data.recout
265 struct spl_rect viewport;
266 struct spl_rect viewport_c;
435 struct spl_rect src_rect; // Source rect
436 struct spl_rect dst_rect; // Destination Rect
437 struct spl_rect clip_rect; // Clip rect
[all …]
H A Ddc_spl.c14 static struct spl_rect intersect_rec(const struct spl_rect *r0, const struct spl_rect *r1) in intersect_rec()
16 struct spl_rect rec; in intersect_rec()
34 static struct spl_rect shift_rec(const struct spl_rect *rec_in, int x, int y) in shift_rec()
36 struct spl_rect rec_out = *rec_in; in shift_rec()
44 static struct spl_rect calculate_plane_rec_in_timing_active( in calculate_plane_rec_in_timing_active()
46 const struct spl_rect *rec_in) in calculate_plane_rec_in_timing_active()
109 const struct spl_rect *stream_src = &spl_in->basic_out.src_rect; in calculate_plane_rec_in_timing_active()
110 const struct spl_rect *stream_dst = &spl_in->basic_out.dst_rect; in calculate_plane_rec_in_timing_active()
111 struct spl_rect rec_out = {0}; in calculate_plane_rec_in_timing_active()
136 static struct spl_rect calculate_mpc_slice_in_timing_active( in calculate_mpc_slice_in_timing_active()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_spl_translate.c20 static void populate_splrect_from_rect(struct spl_rect *spl_rect, const struct rect *rect) in populate_splrect_from_rect() argument
22 spl_rect->x = rect->x; in populate_splrect_from_rect()
23 spl_rect->y = rect->y; in populate_splrect_from_rect()
24 spl_rect->width = rect->width; in populate_splrect_from_rect()
25 spl_rect->height = rect->height; in populate_splrect_from_rect()
27 static void populate_rect_from_splrect(struct rect *rect, const struct spl_rect *spl_rect) in populate_rect_from_splrect() argument
29 rect->x = spl_rect->x; in populate_rect_from_splrect()
30 rect->y = spl_rect->y; in populate_rect_from_splrect()
31 rect->width = spl_rect->width; in populate_rect_from_splrect()
32 rect->height = spl_rect->height; in populate_rect_from_splrect()