Searched refs:fb_cap (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/media/platform/vivid/ |
D | vivid-vid-cap.c | 671 if (dev->overlay_cap_owner && dev->fb_cap.fmt.pixelformat != mp->pixelformat) { in vivid_s_fmt_vid_cap() 1107 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); in vidioc_try_fmt_vid_overlay() 1109 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height); in vidioc_try_fmt_vid_overlay() 1127 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); in vidioc_try_fmt_vid_overlay() 1128 r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top); in vidioc_try_fmt_vid_overlay() 1129 r->left = clamp_t(u32, r->left, 0, dev->fb_cap.fmt.width - 1); in vidioc_try_fmt_vid_overlay() 1130 r->width = clamp_t(u32, r->width, 1, dev->fb_cap.fmt.width - r->left); in vidioc_try_fmt_vid_overlay() 1199 if (i && dev->fb_cap.fmt.pixelformat != dev->fmt_cap->fourcc) { in vivid_vid_cap_overlay() 1218 *a = dev->fb_cap; in vivid_vid_cap_g_fbuf() 1244 dev->fb_cap.base = NULL; in vivid_vid_cap_s_fbuf() [all …]
|
D | vivid-kthread-cap.c | 623 w = dev->fb_cap.fmt.width - x; in vivid_overlay() 630 vbase += dev->overlay_cap_top * dev->fb_cap.fmt.bytesperline; in vivid_overlay() 636 if (y < 0 || y > dev->fb_cap.fmt.height) in vivid_overlay() 641 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 652 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 726 if (dev->overlay_cap_owner && dev->fb_cap.base && in vivid_thread_vid_cap_tick() 727 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
|
D | vivid-core.c | 1065 dev->fb_cap.fmt.width = dev->src_rect.width; in vivid_create_instance() 1066 dev->fb_cap.fmt.height = dev->src_rect.height; in vivid_create_instance() 1067 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance() 1068 dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; in vivid_create_instance() 1069 dev->fb_cap.fmt.sizeimage = dev->src_rect.height * dev->fb_cap.fmt.bytesperline; in vivid_create_instance()
|
D | vivid-core.h | 331 struct v4l2_framebuffer fb_cap; member
|