Lines Matching refs:tvnorm

50    really stores 1024 + tvnorm->vbipack * 4 samples per line in the
51 buffer. Note tvnorm->vbipack is <= 0xFF (limit of VBIPACK_LO + HI
110 const struct bttv_tvnorm *tvnorm;
119 tvnorm = fh->vbi_fmt.tvnorm;
124 standard changes while capturing, so we use vbi_fmt.tvnorm
125 instead of btv->tvnorm to skip zero lines after video
133 - tvnorm->vbistart[0]));
136 - tvnorm->vbistart[1]));
192 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top)
193 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top;
245 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm,
257 min_start = tvnorm->vbistart[0];
259 max_end = (tvnorm->cropcap.bounds.top
260 + tvnorm->cropcap.bounds.height) >> 1;
267 f->sampling_rate = tvnorm->Fsc;
272 f2_offset = tvnorm->vbistart[1] - tvnorm->vbistart[0];
298 f->start[0] = tvnorm->vbistart[0];
299 f->start[1] = tvnorm->vbistart[1];
316 const struct bttv_tvnorm *tvnorm;
321 tvnorm = &bttv_tvnorms[btv->tvnorm];
326 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start);
334 const struct bttv_tvnorm *tvnorm;
344 tvnorm = &bttv_tvnorms[btv->tvnorm];
346 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start);
350 start1 = frt->fmt.vbi.start[1] - tvnorm->vbistart[1] +
351 tvnorm->vbistart[0];
364 fh->vbi_fmt.tvnorm = tvnorm;
381 const struct bttv_tvnorm *tvnorm;
385 tvnorm = &bttv_tvnorms[fh->btv->tvnorm];
387 if (tvnorm != fh->vbi_fmt.tvnorm) {
395 max_end = (tvnorm->cropcap.bounds.top
396 + tvnorm->cropcap.bounds.height) >> 1;
398 frt->fmt.vbi.sampling_rate = tvnorm->Fsc;
404 + tvnorm->vbistart[i]
405 - fh->vbi_fmt.tvnorm->vbistart[i];
412 max_end += tvnorm->vbistart[1]
413 - tvnorm->vbistart[0];
421 const struct bttv_tvnorm *tvnorm;
425 tvnorm = &bttv_tvnorms[norm];
427 f->fmt.sampling_rate = tvnorm->Fsc;
431 f->fmt.start[0] = tvnorm->vbistart[0];
432 f->fmt.start[1] = tvnorm->vbistart[1];
441 real_samples_per_line = 1024 + tvnorm->vbipack * 4;
442 real_count = ((tvnorm->cropcap.defrect.top >> 1)
443 - tvnorm->vbistart[0]);
448 f->tvnorm = tvnorm;
451 f->end = tvnorm->vbistart[0] * 2 + 2;