Searched refs:fb_cap (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
D | vivid-vid-cap.c | 692 if (dev->overlay_cap_owner && dev->fb_cap.fmt.pixelformat != mp->pixelformat) { in vivid_s_fmt_vid_cap() 1139 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); in vidioc_try_fmt_vid_overlay() 1141 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height); in vidioc_try_fmt_vid_overlay() 1159 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); in vidioc_try_fmt_vid_overlay() 1160 r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top); in vidioc_try_fmt_vid_overlay() 1161 r->left = clamp_t(u32, r->left, 0, dev->fb_cap.fmt.width - 1); in vidioc_try_fmt_vid_overlay() 1162 r->width = clamp_t(u32, r->width, 1, dev->fb_cap.fmt.width - r->left); in vidioc_try_fmt_vid_overlay() 1231 if (i && dev->fb_cap.fmt.pixelformat != dev->fmt_cap->fourcc) { in vivid_vid_cap_overlay() 1250 *a = dev->fb_cap; in vivid_vid_cap_g_fbuf() 1276 dev->fb_cap.base = NULL; in vivid_vid_cap_s_fbuf() [all …]
|
D | vivid-kthread-cap.c | 624 w = dev->fb_cap.fmt.width - x; in vivid_overlay() 631 vbase += dev->overlay_cap_top * dev->fb_cap.fmt.bytesperline; in vivid_overlay() 637 if (y < 0 || y > dev->fb_cap.fmt.height) in vivid_overlay() 642 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 653 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 732 if (dev->overlay_cap_owner && dev->fb_cap.base && in vivid_thread_vid_cap_tick() 733 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
|
D | vivid-core.c | 1826 dev->fb_cap.fmt.width = dev->src_rect.width; in vivid_create_instance() 1827 dev->fb_cap.fmt.height = dev->src_rect.height; in vivid_create_instance() 1828 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance() 1829 dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; in vivid_create_instance() 1830 dev->fb_cap.fmt.sizeimage = dev->src_rect.height * dev->fb_cap.fmt.bytesperline; in vivid_create_instance()
|
D | vivid-core.h | 348 struct v4l2_framebuffer fb_cap; member
|