Lines Matching refs:fmt_cap
110 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup()
111 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup()
117 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup()
118 dev->fmt_cap->data_offset[p]; in vid_cap_queue_setup()
139 if (WARN_ON(NULL == dev->fmt_cap)) in vid_cap_buf_prepare()
153 dev->fmt_cap->vdownsampling[p] + in vid_cap_buf_prepare()
154 dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()
163 vb->planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()
530 mp->pixelformat = dev->fmt_cap->fourcc; in vivid_g_fmt_vid_cap()
533 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_HSV) in vivid_g_fmt_vid_cap()
538 mp->num_planes = dev->fmt_cap->buffers; in vivid_g_fmt_vid_cap()
543 dev->fmt_cap->vdownsampling[p] + in vivid_g_fmt_vid_cap()
544 dev->fmt_cap->data_offset[p]; in vivid_g_fmt_vid_cap()
683 dev->fmt_cap = vivid_get_format(dev, mp->pixelformat); in vivid_s_fmt_vid_cap()
772 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_s_fmt_vid_cap()
786 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_YCBCR) in vivid_s_fmt_vid_cap()