Lines Matching refs:vbi_fmt

79 	*size = IMAGE_SIZE(&fh->vbi_fmt.fmt);  in vbi_buffer_setup()
82 fh->vbi_fmt.fmt.samples_per_line, in vbi_buffer_setup()
83 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup()
84 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup()
85 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup()
86 fh->vbi_fmt.fmt.count[1]); in vbi_buffer_setup()
103 buf->vb.size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_prepare()
107 tvnorm = fh->vbi_fmt.tvnorm; in vbi_buffer_prepare()
119 if (fh->vbi_fmt.fmt.count[0] > 0) in vbi_buffer_prepare()
120 skip_lines0 = max(0, (fh->vbi_fmt.fmt.start[0] in vbi_buffer_prepare()
122 if (fh->vbi_fmt.fmt.count[1] > 0) in vbi_buffer_prepare()
123 skip_lines1 = max(0, (fh->vbi_fmt.fmt.start[1] in vbi_buffer_prepare()
130 buf->vbi_count[0] != fh->vbi_fmt.fmt.count[0] || in vbi_buffer_prepare()
131 buf->vbi_count[1] != fh->vbi_fmt.fmt.count[1]) { in vbi_buffer_prepare()
134 buf->vbi_count[0] = fh->vbi_fmt.fmt.count[0]; in vbi_buffer_prepare()
135 buf->vbi_count[1] = fh->vbi_fmt.fmt.count[1]; in vbi_buffer_prepare()
152 if (fh->vbi_fmt.fmt.count[0] > 0) { in vbi_buffer_prepare()
157 fh->vbi_fmt.fmt.count[0]); in vbi_buffer_prepare()
162 if (fh->vbi_fmt.fmt.count[1] > 0) { in vbi_buffer_prepare()
163 offset = fh->vbi_fmt.fmt.count[0] * VBI_BPL; in vbi_buffer_prepare()
169 fh->vbi_fmt.fmt.count[1]); in vbi_buffer_prepare()
180 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
181 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
351 fh->vbi_fmt.fmt = frt->fmt.vbi; in bttv_s_fmt_vbi_cap()
352 fh->vbi_fmt.tvnorm = tvnorm; in bttv_s_fmt_vbi_cap()
353 fh->vbi_fmt.end = end; in bttv_s_fmt_vbi_cap()
371 frt->fmt.vbi = fh->vbi_fmt.fmt; in bttv_g_fmt_vbi_cap()
375 if (tvnorm != fh->vbi_fmt.tvnorm) { in bttv_g_fmt_vbi_cap()
393 - fh->vbi_fmt.tvnorm->vbistart[i]; in bttv_g_fmt_vbi_cap()