Searched refs:fb_cap (Results 1 – 4 of 4) sorted by relevance
/drivers/media/platform/vivid/ |
D | vivid-vid-cap.c | 622 if (dev->overlay_cap_owner && dev->fb_cap.fmt.pixelformat != mp->pixelformat) { in vivid_s_fmt_vid_cap() 1049 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); in vidioc_try_fmt_vid_overlay() 1051 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height); in vidioc_try_fmt_vid_overlay() 1069 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); in vidioc_try_fmt_vid_overlay() 1070 r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top); in vidioc_try_fmt_vid_overlay() 1071 r->left = clamp_t(u32, r->left, 0, dev->fb_cap.fmt.width - 1); in vidioc_try_fmt_vid_overlay() 1072 r->width = clamp_t(u32, r->width, 1, dev->fb_cap.fmt.width - r->left); in vidioc_try_fmt_vid_overlay() 1138 if (i && dev->fb_cap.fmt.pixelformat != dev->fmt_cap->fourcc) { in vivid_vid_cap_overlay() 1154 *a = dev->fb_cap; in vivid_vid_cap_g_fbuf() 1177 dev->fb_cap.base = NULL; in vivid_vid_cap_s_fbuf() [all …]
|
D | vivid-kthread-cap.c | 601 w = dev->fb_cap.fmt.width - x; in vivid_overlay() 608 vbase += dev->overlay_cap_top * dev->fb_cap.fmt.bytesperline; in vivid_overlay() 614 if (y < 0 || y > dev->fb_cap.fmt.height) in vivid_overlay() 619 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 630 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 676 if (dev->overlay_cap_owner && dev->fb_cap.base && in vivid_thread_vid_cap_tick() 677 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
|
D | vivid-core.c | 991 dev->fb_cap.fmt.width = dev->src_rect.width; in vivid_create_instance() 992 dev->fb_cap.fmt.height = dev->src_rect.height; in vivid_create_instance() 993 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance() 994 dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; in vivid_create_instance() 995 dev->fb_cap.fmt.sizeimage = dev->src_rect.height * dev->fb_cap.fmt.bytesperline; in vivid_create_instance()
|
D | vivid-core.h | 306 struct v4l2_framebuffer fb_cap; member
|