Lines Matching refs:frt
312 int bttv_try_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) in bttv_try_fmt_vbi_cap() argument
326 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); in bttv_try_fmt_vbi_cap()
330 int bttv_s_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) in bttv_s_fmt_vbi_cap() argument
346 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap()
350 start1 = frt->fmt.vbi.start[1] - tvnorm->vbistart[1] + in bttv_s_fmt_vbi_cap()
359 end = max(frt->fmt.vbi.start[0], start1) * 2 + 2; in bttv_s_fmt_vbi_cap()
363 fh->vbi_fmt.fmt = frt->fmt.vbi; in bttv_s_fmt_vbi_cap()
378 int bttv_g_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) in bttv_g_fmt_vbi_cap() argument
383 frt->fmt.vbi = fh->vbi_fmt.fmt; in bttv_g_fmt_vbi_cap()
398 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap()
403 new_start = frt->fmt.vbi.start[i] in bttv_g_fmt_vbi_cap()
407 frt->fmt.vbi.start[i] = min(new_start, max_end - 1); in bttv_g_fmt_vbi_cap()
408 frt->fmt.vbi.count[i] = in bttv_g_fmt_vbi_cap()
409 min((__s32) frt->fmt.vbi.count[i], in bttv_g_fmt_vbi_cap()
410 max_end - frt->fmt.vbi.start[i]); in bttv_g_fmt_vbi_cap()