/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-subdev-g-crop.rst | 49 driver fills the members of the ``rect`` field or returns ``EINVAL`` error 54 and ``which`` fields and all members of the ``rect`` field. They then 96 - ``rect``
|
H A D | vidioc-cropcap.rst | 61 * - struct :ref:`v4l2_rect <v4l2-rect-crop>` 69 * - struct :ref:`v4l2_rect <v4l2-rect-crop>` 97 .. _v4l2-rect-crop:
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | v4l2-core.rst | 26 v4l2-rect
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_dmcu.c | 931 struct rect *rect, in dcn10_forward_crc_window() argument 944 if (!rect) in dcn10_forward_crc_window() 952 x_start = rect->x; in dcn10_forward_crc_window() 953 y_start = rect->y; in dcn10_forward_crc_window() 954 x_end = x_start + rect->width; in dcn10_forward_crc_window() 955 y_end = y_start + rect->height; in dcn10_forward_crc_window()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | s3fb.c | 377 static void s3fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in s3fb_iplan_fillrect() argument 379 u32 fg = expand_color(rect->color); in s3fb_iplan_fillrect() 384 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in s3fb_iplan_fillrect() 385 + ((rect->dx / 8) * 4); in s3fb_iplan_fillrect() 387 for (y = 0; y < rect->height; y++) { in s3fb_iplan_fillrect() 389 for (x = 0; x < rect->width; x += 8) { in s3fb_iplan_fillrect() 444 static void s3fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in s3fb_fillrect() argument 447 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) in s3fb_fillrect() 449 s3fb_iplan_fillrect(info, rect); in s3fb_fillrect() 451 cfb_fillrect(info, rect); in s3fb_fillrect()
|
H A D | sunxvr500.c | 164 static void e3d_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in e3d_fillrect() argument 170 cfb_fillrect(info, rect); in e3d_fillrect() 172 cfb_fillrect(info, rect); in e3d_fillrect()
|
H A D | sm501fb.c | 1388 static void sm501fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in sm501fb_fillrect() argument 1392 int width = rect->width, height = rect->height; in sm501fb_fillrect() 1394 if ((rect->dx >= info->var.xres_virtual) || in sm501fb_fillrect() 1395 (rect->dy >= info->var.yres_virtual)) in sm501fb_fillrect() 1398 if ((rect->dx + width) >= info->var.xres_virtual) in sm501fb_fillrect() 1399 width = info->var.xres_virtual - rect->dx - 1; in sm501fb_fillrect() 1400 if ((rect->dy + height) >= info->var.yres_virtual) in sm501fb_fillrect() 1401 height = info->var.yres_virtual - rect->dy - 1; in sm501fb_fillrect() 1439 smc501_writel(rect->color, fbi->regs2d + SM501_2D_FOREGROUND); in sm501fb_fillrect() 1442 smc501_writel((rect->dx << 16) | rect->dy, in sm501fb_fillrect()
|
H A D | neofb.c | 1361 neo2200_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in neo2200_fillrect() argument 1366 dst = rect->dx + rect->dy * info->var.xres_virtual; in neo2200_fillrect() 1367 rop = rect->rop ? 0x060000 : 0x0c0000; in neo2200_fillrect() 1380 writel(rect->color, &par->neo2200->fgColor); in neo2200_fillrect() 1384 writel(((u32 *) (info->pseudo_palette))[rect->color], in neo2200_fillrect() 1391 writel((rect->height << 16) | (rect->width & 0xffff), in neo2200_fillrect() 1493 neofb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in neofb_fillrect() argument 1500 neo2200_fillrect(info, rect); in neofb_fillrect() 1503 cfb_fillrect(info, rect); in neofb_fillrect()
|
H A D | stifb.c | 1076 stifb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in stifb_fillrect() argument 1080 if (rect->rop != ROP_COPY || in stifb_fillrect() 1082 return cfb_fillrect(info, rect); in stifb_fillrect() 1099 NGLE_REALLY_SET_IMAGE_FG_COLOR(fb, rect->color); in stifb_fillrect() 1102 NGLE_SET_DSTXY(fb, (rect->dx << 16) | (rect->dy)); in stifb_fillrect() 1103 SET_LENXY_START_RECFILL(fb, (rect->width << 16) | (rect->height)); in stifb_fillrect()
|
H A D | tdfxfb.c | 845 const struct fb_fillrect *rect) in tdfxfb_fillrect() argument 852 u32 dx = rect->dx; in tdfxfb_fillrect() 853 u32 dy = rect->dy; in tdfxfb_fillrect() 856 if (rect->rop == ROP_COPY) in tdfxfb_fillrect() 862 if (dy + rect->height > 4095) { in tdfxfb_fillrect() 867 if (dx + rect->width > 4095) { in tdfxfb_fillrect() 874 tdfx_outl(par, COLORFORE, rect->color); in tdfxfb_fillrect() 876 tdfx_outl(par, COLORFORE, par->palette[rect->color]); in tdfxfb_fillrect() 880 tdfx_outl(par, DSTSIZE, rect->width | (rect->height << 16)); in tdfxfb_fillrect()
|
H A D | tgafb.c | 929 tgafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) argument 938 dx = rect->dx; 939 dy = rect->dy; 940 width = rect->width; 941 height = rect->height; 962 if (rect->rop != ROP_COPY) { 963 cfb_fillrect(info, rect); 968 color = rect->color;
|
/openbmc/qemu/ui/ |
H A D | vnc.c | 3037 max = rect->times[(rect->idx + count - 1) % count]; in vnc_update_stats() 3041 rect->freq = 0; in vnc_update_stats() 3043 memset(rect->times, 0, sizeof (rect->times)); in vnc_update_stats() 3047 min = rect->times[rect->idx]; in vnc_update_stats() 3048 max = rect->times[(rect->idx + count - 1) % count]; in vnc_update_stats() 3053 rect->freq = 1. / rect->freq; in vnc_update_stats() 3084 VncRectStat *rect; in vnc_rect_updated() local 3087 if (rect->updated) { in vnc_rect_updated() 3090 rect->times[rect->idx] = *tv; in vnc_rect_updated() 3091 rect->idx = (rect->idx + 1) % ARRAY_SIZE(rect->times); in vnc_rect_updated() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/fbtest/ |
H A D | fb-test_1.1.0.bb | 15 for prog in perf rect offset ; do
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libwmf/libwmf/ |
H A D | libwmf-0.2.8.4-useafterfree.patch | 15 im->clip->list[im->clip->count] = (*rect);
|
/openbmc/linux/drivers/gpu/drm/hyperv/ |
H A D | hyperv_drm.h | 50 int hyperv_update_dirt(struct hv_device *hdev, struct drm_rect *rect);
|
/openbmc/linux/drivers/video/fbdev/intelfb/ |
H A D | intelfbdrv.c | 149 const struct fb_fillrect *rect); 1468 const struct fb_fillrect *rect) in intelfb_fillrect() argument 1478 cfb_fillrect(info, rect); in intelfb_fillrect() 1482 if (rect->rop == ROP_COPY) in intelfb_fillrect() 1488 color = dinfo->pseudo_palette[rect->color]; in intelfb_fillrect() 1490 color = rect->color; in intelfb_fillrect() 1492 intelfbhw_do_fillrect(dinfo, rect->dx, rect->dy, in intelfb_fillrect() 1493 rect->width, rect->height, color, in intelfb_fillrect()
|
/openbmc/linux/drivers/media/platform/chips-media/ |
H A D | coda-common.c | 807 q_data->rect = *r; in coda_s_fmt() 809 q_data->rect.left = 0; in coda_s_fmt() 810 q_data->rect.top = 0; in coda_s_fmt() 811 q_data->rect.width = f->fmt.pix.width; in coda_s_fmt() 812 q_data->rect.height = f->fmt.pix.height; in coda_s_fmt() 1035 rsel = &q_data->rect; in coda_g_selection() 1093 q_data->rect = s->r; in coda_s_selection() 1696 ctx->q_data[V4L2_M2M_SRC].rect.width = max_w; in set_default_params() 2040 q_data_dst->rect.left = 0; in coda_start_streaming() 2041 q_data_dst->rect.top = 0; in coda_start_streaming() [all …]
|
/openbmc/linux/drivers/video/fbdev/i810/ |
H A D | i810_main.h | 28 const struct fb_fillrect *rect);
|
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-v4l2.c | 428 static int rvin_remote_rectangle(struct rvin_dev *vin, struct v4l2_rect *rect) in rvin_remote_rectangle() argument 455 rect->left = rect->top = 0; in rvin_remote_rectangle() 456 rect->width = fmt.format.width; in rvin_remote_rectangle() 457 rect->height = fmt.format.height; in rvin_remote_rectangle() 466 rect->height *= 2; in rvin_remote_rectangle()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | mt9t112.c | 846 const struct v4l2_rect *rect, in mt9t112_set_params() argument 861 priv->frame = *rect; in mt9t112_set_params() 905 const struct v4l2_rect *rect = &sel->r; in mt9t112_set_selection() local 911 return mt9t112_set_params(priv, rect, priv->format->code); in mt9t112_set_selection() 939 struct v4l2_rect rect = { in mt9t112_s_fmt() local 947 ret = mt9t112_set_params(priv, &rect, mf->code); in mt9t112_s_fmt()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 675 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc() 725 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc() 735 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc() 745 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc() 765 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc() 792 1, tvnorm, &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 361 const struct fb_fillrect *rect) in fbtft_fb_fillrect() argument 367 __func__, rect->dx, rect->dy, rect->width, rect->height); in fbtft_fb_fillrect() 368 sys_fillrect(info, rect); in fbtft_fb_fillrect() 370 par->fbtftops.mkdirty(info, rect->dy, rect->height); in fbtft_fb_fillrect()
|
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 666 const struct fb_fillrect *rect) in viafb_fillrect() argument 674 cfb_fillrect(info, rect); in viafb_fillrect() 678 if (!rect->width || !rect->height) in viafb_fillrect() 682 fg_color = ((u32 *)info->pseudo_palette)[rect->color]; in viafb_fillrect() 684 fg_color = rect->color; in viafb_fillrect() 686 if (rect->rop == ROP_XOR) in viafb_fillrect() 693 rect->width, rect->height, info->var.bits_per_pixel, in viafb_fillrect() 694 viapar->vram_addr, info->fix.line_length, rect->dx, rect->dy, in viafb_fillrect() 696 cfb_fillrect(info, rect); in viafb_fillrect()
|
/openbmc/linux/include/drm/ |
H A D | drm_client.h | 161 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect);
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp.h | 63 struct v4l2_rect rect; member
|