rect
struct rect src = { 0 }; /* viewport in composition space*/
struct rect dst = { 0 }; /* stream addressable area */
struct rect recout_full = { 0 };
sizeof(struct rect)) != 0)
sizeof(struct rect)) != 0)
static void rect_swap_helper(struct rect *rect)
swap(rect->height, rect->width);
swap(rect->x, rect->y);
struct rect surf_src = plane_state->src_rect;
struct rect clip = { 0 };
static void calculate_recout(struct pipe_ctx *pipe_ctx, struct rect *recout_full)
struct rect surf_src = plane_state->src_rect;
struct rect surf_clip = plane_state->clip_rect;
struct rect surf_src = plane_state->src_rect;
static void calculate_inits_and_adj_vp(struct pipe_ctx *pipe_ctx, struct rect *recout_full)
struct rect src = pipe_ctx->plane_state->src_rect;
struct rect src_rect;
struct rect dst_rect;
struct rect clip_rect;
struct rect src_rect;
struct rect dst_rect;
struct rect clip_rect;
struct rect surface_size;
struct rect luma_size;
struct rect chroma_size;
struct rect viewport;
struct rect src;
struct rect dst;
struct rect src; /* composition area */
struct rect dst; /* stream addressable area */
const struct rect *in_rect = &plane_size->grph.surface_size;
struct rect hw_rect = plane_size->grph.surface_size;
const struct rect *view_port)
struct rect *luma_viewport,
struct rect *chroma_viewport)
struct rect *luma_viewport,
struct rect *chroma_viewport)
struct rect luma_viewport = {0};
struct rect chroma_viewport = {0};
struct rect *luma_view_port,
struct rect *chroma_view_port)
struct dcn10_dpp *dpp, const struct rect *recout)
const struct rect *viewport,
const struct rect *viewport_c)
const struct rect *viewport,
const struct rect *viewport_c);
const struct rect *viewport,
const struct rect *viewport_c);
const struct rect *viewport,
const struct rect *viewport_c);
struct rect viewport;
struct rect viewport_c;
struct rect recout;
const struct fb_fillrect *rect)
sys_fillrect(info, rect);
drm_fb_helper_dirty(info, rect->dx, rect->dy,
rect->width, rect->height);
const struct fb_fillrect *rect)
cfb_fillrect(info, rect);
drm_fb_helper_dirty(info, rect->dx, rect->dy,
rect->width, rect->height);
const struct fb_fillrect *rect);
const struct fb_fillrect *rect);
const struct fb_fillrect *rect)
const struct fb_fillrect *rect)
svg_rect_init(struct svg_rect *rect, const char *cl)
xml_elem_init(&rect->el, "rect");
xml_attribute_init(&rect->x, "x", NULL);
xml_elem_set_attribute(&rect->el, &rect->x);
xml_attribute_init(&rect->y, "y", NULL);
xml_elem_set_attribute(&rect->el, &rect->y);
xml_attribute_init(&rect->w, "width", NULL);
xml_elem_set_attribute(&rect->el, &rect->w);
xml_attribute_init(&rect->h, "height", NULL);
xml_elem_set_attribute(&rect->el, &rect->h);
xml_attribute_init(&rect->cl, "class", cl);
xml_elem_set_attribute(&rect->el, &rect->cl);
svg_rect_draw(svg_document_t doc, struct svg_rect *rect, double x,
snprintf(&rect->x_val[0], sizeof(rect->x_val), "%.20lf", x);
xml_attribute_set_value(&rect->x, &rect->x_val[0]);
snprintf(&rect->y_val[0], sizeof(rect->y_val), "%lf", y);
xml_attribute_set_value(&rect->y, &rect->y_val[0]);
snprintf(&rect->w_val[0], sizeof(rect->w_val), "%.20lf", w);
xml_attribute_set_value(&rect->w, &rect->w_val[0]);
snprintf(&rect->h_val[0], sizeof(rect->h_val), "%lf", h);
xml_attribute_set_value(&rect->h, &rect->h_val[0]);
xml_elem_closed(doc->xml, &rect->el);