spl_rect
static void populate_splrect_from_rect(struct spl_rect *spl_rect, const struct rect *rect)
spl_rect->x = rect->x;
spl_rect->y = rect->y;
spl_rect->width = rect->width;
spl_rect->height = rect->height;
static void populate_rect_from_splrect(struct rect *rect, const struct spl_rect *spl_rect)
rect->x = spl_rect->x;
rect->y = spl_rect->y;
rect->width = spl_rect->width;
rect->height = spl_rect->height;
const struct spl_rect *stream_src = &spl_in->basic_out.src_rect;
const struct spl_rect *stream_dst = &spl_in->basic_out.dst_rect;
struct spl_rect rec_out = {0};
static struct spl_rect calculate_mpc_slice_in_timing_active(
struct spl_rect *plane_clip_rec)
struct spl_rect mpc_rec;
static struct spl_rect calculate_odm_slice_in_timing_active(struct spl_in *spl_in)
struct spl_rect odm_rec;
struct spl_rect plane_clip;
struct spl_rect mpc_slice_of_plane_clip;
struct spl_rect odm_slice;
struct spl_rect overlapping_area;
sizeof(struct spl_rect));
struct spl_rect surf_src = spl_in->basic_in.src_rect;
static struct spl_rect intersect_rec(const struct spl_rect *r0, const struct spl_rect *r1)
struct spl_rect rec;
struct spl_rect src = spl_in->basic_in.src_rect;
struct spl_rect recout_dst_in_active_timing;
struct spl_rect recout_clip_in_active_timing;
struct spl_rect recout_clip_in_recout_dst;
struct spl_rect overlap_in_active_timing;
struct spl_rect odm_slice = calculate_odm_slice_in_timing_active(spl_in);
memset(&recout_clip_in_recout_dst, 0, sizeof(struct spl_rect));
static struct spl_rect shift_rec(const struct spl_rect *rec_in, int x, int y)
struct spl_rect rec_out = *rec_in;
static void spl_handle_3d_recout(struct spl_in *spl_in, struct spl_rect *recout)
static void spl_clamp_viewport(struct spl_rect *viewport, int min_viewport_size)
static void spl_opp_adjust_rect(struct spl_rect *rec, const struct spl_opp_adjust *adjust)
static struct spl_rect calculate_plane_rec_in_timing_active(
const struct spl_rect *rec_in)
struct spl_rect viewport;
struct spl_rect viewport_c;
struct spl_rect recout;
struct spl_rect recout; // RECOUT - set based on scl_data.recout
struct spl_rect viewport;
struct spl_rect viewport_c;
struct spl_rect src_rect; // Source rect
struct spl_rect dst_rect; // Destination Rect
struct spl_rect clip_rect; // Clip rect
struct spl_rect dst_rect; // Destination Rect
struct spl_rect src_rect; // Source rect
struct spl_rect odm_slice_rect; // OPP input rect in timing active