Lines Matching refs:fmt_cap
117 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup()
123 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup()
124 dev->fmt_cap->data_offset[p]; in vid_cap_queue_setup()
148 if (WARN_ON(NULL == dev->fmt_cap)) in vid_cap_buf_prepare()
162 dev->fmt_cap->vdownsampling[p] + in vid_cap_buf_prepare()
163 dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()
172 vb->planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()
533 mp->pixelformat = dev->fmt_cap->fourcc; in vivid_g_fmt_vid_cap()
536 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_HSV) in vivid_g_fmt_vid_cap()
541 mp->num_planes = dev->fmt_cap->buffers; in vivid_g_fmt_vid_cap()
546 dev->fmt_cap->vdownsampling[p] + in vivid_g_fmt_vid_cap()
547 dev->fmt_cap->data_offset[p]; in vivid_g_fmt_vid_cap()
691 dev->fmt_cap = vivid_get_format(dev, mp->pixelformat); in vivid_s_fmt_vid_cap()
778 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_s_fmt_vid_cap()
792 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_YCBCR) in vivid_s_fmt_vid_cap()
1222 if (i && dev->fb_cap.fmt.pixelformat != dev->fmt_cap->fourcc) { in vivid_vid_cap_overlay()