Searched refs:fmt_cap (Results 1 – 5 of 5) sorted by relevance
96 if (dev->fmt_cap->alpha_mask) { in copy_pix()101 *cap & dev->fmt_cap->alpha_mask) in copy_pix()104 !(*cap & dev->fmt_cap->alpha_mask)) in copy_pix()475 if (p < tpg_g_buffers(tpg) && dev->fmt_cap->data_offset[p]) { in vivid_fillbuff()476 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff()477 dev->fmt_cap->data_offset[p]); in vivid_fillbuff()478 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff()706 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
150 dev->fmt_cap->data_offset[p]; in vid_cap_queue_setup()179 if (WARN_ON(NULL == dev->fmt_cap)) in vid_cap_buf_prepare()192 dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()201 vb->v4l2_planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()528 mp->pixelformat = dev->fmt_cap->fourcc; in vivid_g_fmt_vid_cap()532 mp->num_planes = dev->fmt_cap->buffers; in vivid_g_fmt_vid_cap()537 dev->fmt_cap->data_offset[p]; in vivid_g_fmt_vid_cap()650 dev->fmt_cap = vivid_get_format(dev, mp->pixelformat); in vivid_s_fmt_vid_cap()737 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_s_fmt_vid_cap()1176 if (i && dev->fb_cap.fmt.pixelformat != dev->fmt_cap->fourcc) { in vivid_vid_cap_overlay()
366 const struct vivid_fmt *fmt_cap; member
941 dev->fmt_cap = &vivid_formats[0]; in vivid_create_instance()947 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_create_instance()999 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance()
500 if (dev->fmt_cap->fourcc != dev->fmt_out->fourcc) in vivid_vid_can_loop()