Lines Matching refs:frt
300 int bttv_try_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) in bttv_try_fmt_vbi_cap() argument
314 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); in bttv_try_fmt_vbi_cap()
318 int bttv_s_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) in bttv_s_fmt_vbi_cap() argument
334 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap()
338 start1 = frt->fmt.vbi.start[1] - tvnorm->vbistart[1] + in bttv_s_fmt_vbi_cap()
347 end = max(frt->fmt.vbi.start[0], start1) * 2 + 2; in bttv_s_fmt_vbi_cap()
351 fh->vbi_fmt.fmt = frt->fmt.vbi; in bttv_s_fmt_vbi_cap()
366 int bttv_g_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) in bttv_g_fmt_vbi_cap() argument
371 frt->fmt.vbi = fh->vbi_fmt.fmt; in bttv_g_fmt_vbi_cap()
386 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap()
391 new_start = frt->fmt.vbi.start[i] in bttv_g_fmt_vbi_cap()
395 frt->fmt.vbi.start[i] = min(new_start, max_end - 1); in bttv_g_fmt_vbi_cap()
396 frt->fmt.vbi.count[i] = in bttv_g_fmt_vbi_cap()
397 min((__s32) frt->fmt.vbi.count[i], in bttv_g_fmt_vbi_cap()
398 max_end - frt->fmt.vbi.start[i]); in bttv_g_fmt_vbi_cap()