Lines Matching refs:frt
246 int bttv_try_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt)
259 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start);
263 int bttv_s_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt)
278 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start);
282 start1 = frt->fmt.vbi.start[1] - tvnorm->vbistart[1] +
291 end = max(frt->fmt.vbi.start[0], start1) * 2 + 2;
293 btv->vbi_fmt.fmt = frt->fmt.vbi;
306 int bttv_g_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt)
311 frt->fmt.vbi = btv->vbi_fmt.fmt;
326 frt->fmt.vbi.sampling_rate = tvnorm->Fsc;
331 new_start = frt->fmt.vbi.start[i] + tvnorm->vbistart[i]
334 frt->fmt.vbi.start[i] = min(new_start, max_end - 1);
335 frt->fmt.vbi.count[i] =
336 min((__s32) frt->fmt.vbi.count[i],
337 max_end - frt->fmt.vbi.start[i]);