Home
last modified time | relevance | path

Searched refs:rects (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_damage_helper.c114 struct drm_mode_rect *rects = NULL; in drm_atomic_helper_dirtyfb() local
141 rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL); in drm_atomic_helper_dirtyfb()
142 if (!rects) { in drm_atomic_helper_dirtyfb()
147 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb()
149 num_clips * sizeof(*rects), in drm_atomic_helper_dirtyfb()
150 rects); in drm_atomic_helper_dirtyfb()
192 kfree(rects); in drm_atomic_helper_dirtyfb()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_draw.c146 struct qxl_rect *rects; in qxl_draw_dirty_fb() local
218 rects = drawable_set_clipping(qdev, num_clips, clips_bo); in qxl_draw_dirty_fb()
219 if (!rects) { in qxl_draw_dirty_fb()
246 rects[i].left = clips_ptr->x1; in qxl_draw_dirty_fb()
247 rects[i].right = clips_ptr->x2; in qxl_draw_dirty_fb()
248 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
249 rects[i].bottom = clips_ptr->y2; in qxl_draw_dirty_fb()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c1861 if (!rects) in vmw_kms_check_topology()
1885 rects[i].x1 = 0; in vmw_kms_check_topology()
1886 rects[i].y1 = 0; in vmw_kms_check_topology()
1887 rects[i].x2 = 0; in vmw_kms_check_topology()
1888 rects[i].y2 = 0; in vmw_kms_check_topology()
1924 rects); in vmw_kms_check_topology()
1927 kfree(rects); in vmw_kms_check_topology()
2349 if (unlikely(!rects)) in vmw_kms_update_layout_ioctl()
2367 if ((rects[i].x + rects[i].w > INT_MAX) || in vmw_kms_update_layout_ioctl()
2368 (rects[i].y + rects[i].h > INT_MAX)) { in vmw_kms_update_layout_ioctl()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch41 - DFBRectangle rects[num];
43 + DFBRectangle *rects = (DFBRectangle*)alloca( sizeof(struct DFBRectangle) * num);
52 - DFBRectangle rects[num];
54 + DFBRectangle *rects = (DFBRectangle*)alloca( sizeof(struct DFBRectangle) * num);
/openbmc/openbmc/poky/meta/recipes-graphics/pong-clock/pong-clock/
H A Dpong-clock-no-flicker.c123 XRectangle rects[5*5]; in draw_digit() local
132 rects[i].x = (x + j) * pong_clock->pixelw; in draw_digit()
133 rects[i].y = (y + k) * pong_clock->pixelh; in draw_digit()
134 rects[i].width = pong_clock->pixelw; in draw_digit()
135 rects[i].height = pong_clock->pixelh; in draw_digit()
142 rects, i); in draw_digit()
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-v4l2.c65 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_subdev_s_stream() local
106 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_subdev_s_stream()
107 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream()
108 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_subdev_s_stream()
110 r = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); in imgu_subdev_s_stream()
675 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_fmt() local
737 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_fmt()
738 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt()
739 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_fmt()
743 rects[IPU3_CSS_RECT_GDC]->width = pad_fmt.width; in imgu_fmt()
[all …]
H A Dipu3-css.h172 struct v4l2_rect *rects[IPU3_CSS_RECTS],
176 struct v4l2_rect *rects[IPU3_CSS_RECTS],
H A Dipu3.c456 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_video_nodes_init() local
486 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_pipe->imgu_sd.rect.eff; in imgu_video_nodes_init()
487 rects[IPU3_CSS_RECT_BDS] = &imgu_pipe->imgu_sd.rect.bds; in imgu_video_nodes_init()
488 imgu_css_fmt_set(&imgu->css, fmts, rects, j); in imgu_video_nodes_init()
H A Dipu3-css.c1551 struct v4l2_rect rects[IPU3_CSS_RECTS]) in imgu_css_find_binary()
1730 if (rects[i]) { in imgu_css_fmt_try()
1732 rnames[i], rects[i]->width, rects[i]->height); in imgu_css_fmt_try()
1733 r[i].width = rects[i]->width; in imgu_css_fmt_try()
1734 r[i].height = rects[i]->height; in imgu_css_fmt_try()
1813 if (rects[i]) in imgu_css_fmt_try()
1814 *rects[i] = r[i]; in imgu_css_fmt_try()
1839 if (rects[i]) in imgu_css_fmt_set()
1840 rect_data[i] = *rects[i]; in imgu_css_fmt_set()
1855 if (rects[i]) in imgu_css_fmt_set()
[all …]
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h2638 if (con->x + rects[i].w > con->width) { in stbrp_pack_rects()
2642 if (con->y + rects[i].h > con->height) in stbrp_pack_rects()
2644 rects[i].x = con->x; in stbrp_pack_rects()
2645 rects[i].y = con->y; in stbrp_pack_rects()
2646 rects[i].was_packed = 1; in stbrp_pack_rects()
2647 con->x += rects[i].w; in stbrp_pack_rects()
2652 rects[i].was_packed = 0; in stbrp_pack_rects()
2896 stbrp_rect *r = &rects[k]; in stbtt_PackFontRangesRenderIntoRects()
2968 stbrp_rect *rects; in stbtt_PackFontRanges() local
2982 rects = (stbrp_rect *) STBTT_malloc(sizeof(*rects) * n, spc->user_allocator_context); in stbtt_PackFontRanges()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Ds5k5baf.c1432 static void s5k5baf_set_rect_and_adjust(struct v4l2_rect **rects, in s5k5baf_set_rect_and_adjust() argument
1439 *rects[first] = *v; in s5k5baf_set_rect_and_adjust()
1441 r = rects[i]; in s5k5baf_set_rect_and_adjust()
1442 br = rects[i - 1]; in s5k5baf_set_rect_and_adjust()
1445 *v = *rects[first]; in s5k5baf_set_rect_and_adjust()
1460 struct v4l2_rect **rects; in s5k5baf_set_selection() local
1474 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection()
1483 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
1487 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection()
1506 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/
H A D0024-userland-Sync-needed-defines-for-weston-build.patch25 … PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
/openbmc/linux/include/uapi/drm/
H A Dvmwgfx_drm.h830 __u64 rects; member
H A Ddrm.h108 struct drm_clip_rect *rects; member
/openbmc/linux/tools/include/uapi/drm/
H A Ddrm.h108 struct drm_clip_rect *rects; member
/openbmc/qemu/ui/
H A Dvnc.c3207 int has_dirty, rects = 0; in vnc_refresh() local
3225 rects += vnc_update_client(vs, has_dirty); in vnc_refresh()
3229 if (has_dirty && rects) { in vnc_refresh()