Lines Matching refs:tvnorm
239 const struct bttv_tvnorm *tvnorm)
244 int swidth = tvnorm->swidth;
245 int totalwidth = tvnorm->totalwidth;
246 int scaledtwidth = tvnorm->scaledtwidth;
254 vdelay = tvnorm->vdelay;
258 geo->hdelay = tvnorm->hdelayx1;
261 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512;
264 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0);
268 geo->sheight = tvnorm->sheight;
269 geo->vtotal = tvnorm->vtotal;
286 const struct bttv_tvnorm * tvnorm,
293 if ((crop->left == tvnorm->cropcap.defrect.left
294 && crop->top == tvnorm->cropcap.defrect.top
295 && crop->width == tvnorm->cropcap.defrect.width
296 && crop->height == tvnorm->cropcap.defrect.height
297 && width <= tvnorm->swidth /* see PAL-Nc et al */)
300 both_fields, tvnorm);
315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY;
320 geo->vtotal = tvnorm->vtotal;
517 const struct bttv_tvnorm *tvnorm = btv->vbi_fmt.tvnorm;
523 tvnorm->vbistart[0]));
526 tvnorm->vbistart[1]));
544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top)
545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top;
663 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + btv->tvnorm;
674 V4L2_FIELD_HAS_BOTH(buf->vbuf.field), tvnorm,
724 0, tvnorm,
734 0, tvnorm,
744 1, tvnorm,
764 1, tvnorm,
791 bttv_calc_geo(btv, &buf->geo, tvnorm->swidth, tvnorm->sheight,
792 1, tvnorm, &btv->crop[!!btv->do_crop].rect);