Lines Matching refs:tvnorm
328 const struct bttv_tvnorm *tvnorm)
333 int swidth = tvnorm->swidth;
334 int totalwidth = tvnorm->totalwidth;
335 int scaledtwidth = tvnorm->scaledtwidth;
343 vdelay = tvnorm->vdelay;
347 geo->hdelay = tvnorm->hdelayx1;
350 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512;
353 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0);
357 geo->sheight = tvnorm->sheight;
358 geo->vtotal = tvnorm->vtotal;
375 const struct bttv_tvnorm * tvnorm,
382 if ((crop->left == tvnorm->cropcap.defrect.left
383 && crop->top == tvnorm->cropcap.defrect.top
384 && crop->width == tvnorm->cropcap.defrect.width
385 && crop->height == tvnorm->cropcap.defrect.height
386 && width <= tvnorm->swidth /* see PAL-Nc et al */)
389 both_fields, tvnorm);
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY;
409 geo->vtotal = tvnorm->vtotal;
699 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + buf->tvnorm;
713 tvnorm,&buf->crop);
767 tvnorm,&buf->crop);
776 tvnorm,&buf->crop);
785 tvnorm,&buf->crop);
808 tvnorm,&buf->crop);
838 bttv_calc_geo(btv,&buf->geo,tvnorm->swidth,tvnorm->sheight,
839 1,tvnorm,&buf->crop);
870 &bttv_tvnorms[ov->tvnorm],&buf->crop);