Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/sspl/
H A Ddc_spl_types.h17 struct spl_rect { struct
136 struct spl_rect viewport;
137 struct spl_rect viewport_c;
138 struct spl_rect recout;
257 struct spl_rect recout; // RECOUT - set based on scl_data.recout
264 struct spl_rect viewport;
265 struct spl_rect viewport_c;
442 struct spl_rect src_rect; // Source rect
443 struct spl_rect dst_rect; // Destination Rect
444 struct spl_rect clip_rect; // Clip rect
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_spl_translate.c19 static void populate_splrect_from_rect(struct spl_rect *spl_rect, const struct rect *rect) in populate_splrect_from_rect() argument
21 spl_rect->x = rect->x; in populate_splrect_from_rect()
22 spl_rect->y = rect->y; in populate_splrect_from_rect()
23 spl_rect->width = rect->width; in populate_splrect_from_rect()
24 spl_rect->height = rect->height; in populate_splrect_from_rect()
26 static void populate_rect_from_splrect(struct rect *rect, const struct spl_rect *spl_rect) in populate_rect_from_splrect() argument
28 rect->x = spl_rect->x; in populate_rect_from_splrect()
29 rect->y = spl_rect->y; in populate_rect_from_splrect()
30 rect->width = spl_rect->width; in populate_rect_from_splrect()
31 rect->height = spl_rect->height; in populate_rect_from_splrect()