/drivers/media/common/ |
H A D | btcx-risc.c | 93 struct v4l2_clip *clips, unsigned int n) 97 clips[n].c.left = 0; 98 clips[n].c.top = 0; 99 clips[n].c.width = -win->left; 100 clips[n].c.height = win->height; 105 clips[n].c.left = swidth - win->left; 106 clips[n].c.top = 0; 107 clips[n].c.width = win->width - clips[n].c.left; 108 clips[ 92 btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n) argument 131 btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n, int mask) argument 165 btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips) argument 187 btcx_calc_skips(int line, int width, int *maxy, struct btcx_skiplist *skips, unsigned int *nskips, const struct v4l2_clip *clips, unsigned int nclips) argument [all...] |
H A D | btcx-risc.h | 22 struct v4l2_clip *clips, unsigned int n); 23 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, 25 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips); 28 const struct v4l2_clip *clips, unsigned int nclips);
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 230 struct drm_vmw_rect *clips = NULL; local 249 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); 250 if (clips == NULL) { 256 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); 287 clips, num_clips); 299 kfree(clips); 314 struct drm_vmw_rect *clips = NULL; local 332 clips [all...] |
H A D | vmwgfx_kms.c | 449 struct drm_clip_rect *clips, 476 BUG_ON(!clips || !num_clips); 496 left = clips->x1; 497 right = clips->x2; 498 top = clips->y1; 499 bottom = clips->y2; 502 for (i = 1, clips_ptr = clips + inc; 519 clips_ptr = clips; 595 struct drm_clip_rect *clips, 621 clips 445 do_surface_dirty_sou(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *framebuffer, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence) argument 592 vmw_framebuffer_surface_dirty(struct drm_framebuffer *framebuffer, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument 775 do_dmabuf_dirty_ldu(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips, int increment) argument 853 do_dmabuf_dirty_sou(struct drm_file *file_priv, struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips, int increment, struct vmw_fence_obj **out_fence) argument 949 vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument 1221 vmw_kms_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) argument 1357 vmw_kms_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_vmw_rect *clips, uint32_t num_clips) argument 1728 struct drm_clip_rect clips; local [all...] |
H A D | vmwgfx_drv.h | 892 struct drm_vmw_rect *clips, 898 struct drm_vmw_rect *clips,
|
/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 122 struct drm_clip_rect *clips, unsigned num_clips) 129 omap_framebuffer_flush(fb, clips[i].x1, clips[i].y1, 130 clips[i].x2 - clips[i].x1, 131 clips[i].y2 - clips[i].y1); 120 omap_framebuffer_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 270 struct drm_clip_rect *clips, 299 left = clips->x1; 300 right = clips->x2; 301 top = clips->y1; 302 bottom = clips->y2; 305 for (i = 1, clips_ptr = clips + inc; 377 clips_ptr = clips; 266 qxl_draw_dirty_fb(struct qxl_device *qdev, struct qxl_framebuffer *qxl_fb, struct qxl_bo *bo, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips, int inc) argument
|
H A D | qxl_display.c | 441 struct drm_clip_rect *clips, 462 clips = &norect; 472 clips, num_clips, inc); 438 qxl_framebuffer_surface_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
H A D | qxl_drv.h | 510 struct drm_clip_rect *clips,
|
/drivers/gpu/drm/udl/ |
H A D | udl_fb.c | 399 struct drm_clip_rect *clips, 420 ret = udl_handle_damage(ufb, clips[i].x1, clips[i].y1, 421 clips[i].x2 - clips[i].x1, 422 clips[i].y2 - clips[i].y1); 396 udl_user_framebuffer_dirty(struct drm_framebuffer *fb, struct drm_file *file, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
/drivers/media/pci/saa7134/ |
H A D | saa7134-video.c | 649 static int setup_clipping(struct saa7134_dev *dev, struct v4l2_clip *clips, argument 659 col[cols].position = clip_range(clips[i].c.left); 662 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); 665 row[rows].position = clip_range(clips[i].c.top / div); 668 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) 741 setup_clipping(dev, dev->clips, dev->nclips, 1245 struct v4l2_clip __user *clips = f->fmt.win.clips; local [all...] |
H A D | saa7134.h | 585 struct v4l2_clip clips[8]; member in struct:saa7134_dev
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fb.c | 109 unsigned color, struct drm_clip_rect *clips, 107 exynos_drm_fb_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
/drivers/gpu/drm/msm/ |
H A D | msm_fb.c | 61 struct drm_clip_rect *clips, unsigned num_clips) 59 msm_framebuffer_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
/drivers/media/pci/bt8xx/ |
H A D | bttv-driver.c | 2169 struct v4l2_clip *clips = NULL; local 2182 /* copy clips -- luckily v4l1 + v4l2 are binary 2185 size = sizeof(*clips)*(n+4); 2186 clips = kmalloc(size,GFP_KERNEL); 2187 if (NULL == clips) 2190 if (copy_from_user(clips,win->clips,sizeof(struct v4l2_clip)*n)) { 2191 kfree(clips); 2199 &win->w, clips, n); 2200 btcx_sort_clips(clips, [all...] |
H A D | bttvp.h | 183 struct v4l2_clip *clips; member in struct:bttv_overlay
|
H A D | bttv-risc.c | 294 skips, &nskips, ov->clips, ov->nclips);
|
/drivers/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 43 compat_caddr_t clips; /* actually struct v4l2_clip32 * */ member in struct:v4l2_window32 64 if (get_user(p, &up->clips)) 68 kp->clips = kclips; 78 kp->clips = NULL;
|
H A D | v4l2-ioctl.c | 291 /* Note: we can't print the clip list here since the clips 294 pr_cont(", wxh=%dx%d, x,y=%d,%d, field=%s, chromakey=0x%08x, clipcount=%u, clips=%p, bitmap=%p, global_alpha=0x%02x\n", 297 win->chromakey, win->clipcount, win->clips, 1148 * fmt can't be cleared for these overlay types due to the 'clips' 1156 struct v4l2_clip __user *clips = p->fmt.win.clips; local 1161 p->fmt.win.clips = clips;
|
/drivers/media/platform/vivid/ |
H A D | vivid-vid-out.c | 819 if (clipcount && win->clips) { 820 if (copy_to_user(win->clips, dev->clips_out, 848 if (win->clipcount && !win->clips) 853 if (copy_from_user(dev->try_clips_out, win->clips, 878 if (copy_to_user(win->clips, dev->try_clips_out,
|
H A D | vivid-vid-cap.c | 1032 if (clipcount && win->clips) { 1033 if (copy_to_user(win->clips, dev->clips_cap, 1058 if (win->clipcount && !win->clips) 1063 if (copy_from_user(dev->try_clips_cap, win->clips, 1088 if (copy_to_user(win->clips, dev->try_clips_cap,
|
/drivers/media/common/saa7146/ |
H A D | saa7146_hlp.c | 368 x[i] = vv->ov.clips[i].c.left; 369 y[i] = vv->ov.clips[i].c.top; 370 w[i] = vv->ov.clips[i].c.width; 371 h[i] = vv->ov.clips[i].c.height;
|
H A D | saa7146_video.c | 791 if (copy_from_user(vv->ov.clips, f->fmt.win.clips,
|
/drivers/gpu/drm/ |
H A D | drm_crtc.c | 3322 struct drm_clip_rect *clips = NULL; local 3346 /* If userspace annotates copy, clips must come in pairs */ 3357 clips = kzalloc(num_clips * sizeof(*clips), GFP_KERNEL); 3358 if (!clips) { 3363 ret = copy_from_user(clips, clips_ptr, 3364 num_clips * sizeof(*clips)); 3373 clips, num_clips); 3379 kfree(clips);
|
/drivers/media/pci/ngene/ |
H A D | ngene.h | 602 struct v4l2_clip *clips; member in struct:ngene_overlay
|