Lines Matching refs:vbi_fmt
91 *size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_setup()
94 fh->vbi_fmt.fmt.samples_per_line, in vbi_buffer_setup()
95 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup()
96 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup()
97 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup()
98 fh->vbi_fmt.fmt.count[1]); in vbi_buffer_setup()
115 buf->vb.size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_prepare()
119 tvnorm = fh->vbi_fmt.tvnorm; in vbi_buffer_prepare()
131 if (fh->vbi_fmt.fmt.count[0] > 0) in vbi_buffer_prepare()
132 skip_lines0 = max(0, (fh->vbi_fmt.fmt.start[0] in vbi_buffer_prepare()
134 if (fh->vbi_fmt.fmt.count[1] > 0) in vbi_buffer_prepare()
135 skip_lines1 = max(0, (fh->vbi_fmt.fmt.start[1] in vbi_buffer_prepare()
142 buf->vbi_count[0] != fh->vbi_fmt.fmt.count[0] || in vbi_buffer_prepare()
143 buf->vbi_count[1] != fh->vbi_fmt.fmt.count[1]) { in vbi_buffer_prepare()
146 buf->vbi_count[0] = fh->vbi_fmt.fmt.count[0]; in vbi_buffer_prepare()
147 buf->vbi_count[1] = fh->vbi_fmt.fmt.count[1]; in vbi_buffer_prepare()
164 if (fh->vbi_fmt.fmt.count[0] > 0) { in vbi_buffer_prepare()
169 fh->vbi_fmt.fmt.count[0]); in vbi_buffer_prepare()
174 if (fh->vbi_fmt.fmt.count[1] > 0) { in vbi_buffer_prepare()
175 offset = fh->vbi_fmt.fmt.count[0] * VBI_BPL; in vbi_buffer_prepare()
181 fh->vbi_fmt.fmt.count[1]); in vbi_buffer_prepare()
192 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
193 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
363 fh->vbi_fmt.fmt = frt->fmt.vbi; in bttv_s_fmt_vbi_cap()
364 fh->vbi_fmt.tvnorm = tvnorm; in bttv_s_fmt_vbi_cap()
365 fh->vbi_fmt.end = end; in bttv_s_fmt_vbi_cap()
383 frt->fmt.vbi = fh->vbi_fmt.fmt; in bttv_g_fmt_vbi_cap()
387 if (tvnorm != fh->vbi_fmt.tvnorm) { in bttv_g_fmt_vbi_cap()
405 - fh->vbi_fmt.tvnorm->vbistart[i]; in bttv_g_fmt_vbi_cap()