Searched refs:clips (Results 1 - 25 of 28) sorted by relevance

12

/drivers/media/common/
H A Dbtcx-risc.c93 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 Dbtcx-risc.h22 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 Dvmwgfx_ioctl.c230 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 Dvmwgfx_kms.c449 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 Dvmwgfx_drv.h892 struct drm_vmw_rect *clips,
898 struct drm_vmw_rect *clips,
/drivers/gpu/drm/omapdrm/
H A Domap_fb.c122 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 Dqxl_draw.c270 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 Dqxl_display.c441 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 Dqxl_drv.h510 struct drm_clip_rect *clips,
/drivers/gpu/drm/udl/
H A Dudl_fb.c399 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 Dsaa7134-video.c649 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 Dsaa7134.h585 struct v4l2_clip clips[8]; member in struct:saa7134_dev
/drivers/gpu/drm/exynos/
H A Dexynos_drm_fb.c109 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 Dmsm_fb.c61 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 Dbttv-driver.c2169 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 Dbttvp.h183 struct v4l2_clip *clips; member in struct:bttv_overlay
H A Dbttv-risc.c294 skips, &nskips, ov->clips, ov->nclips);
/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c43 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 Dv4l2-ioctl.c291 /* 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 Dvivid-vid-out.c819 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 Dvivid-vid-cap.c1032 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 Dsaa7146_hlp.c368 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 Dsaa7146_video.c791 if (copy_from_user(vv->ov.clips, f->fmt.win.clips,
/drivers/gpu/drm/
H A Ddrm_crtc.c3322 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 Dngene.h602 struct v4l2_clip *clips; member in struct:ngene_overlay

Completed in 387 milliseconds

12