Lines Matching refs:tvnorm

328 		  const struct bttv_tvnorm *tvnorm)  in bttv_calc_geo_old()  argument
333 int swidth = tvnorm->swidth; in bttv_calc_geo_old()
334 int totalwidth = tvnorm->totalwidth; in bttv_calc_geo_old()
335 int scaledtwidth = tvnorm->scaledtwidth; in bttv_calc_geo_old()
343 vdelay = tvnorm->vdelay; in bttv_calc_geo_old()
347 geo->hdelay = tvnorm->hdelayx1; in bttv_calc_geo_old()
350 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512; in bttv_calc_geo_old()
353 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0); in bttv_calc_geo_old()
357 geo->sheight = tvnorm->sheight; in bttv_calc_geo_old()
358 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo_old()
375 const struct bttv_tvnorm * tvnorm, in bttv_calc_geo() argument
382 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
384 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
385 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
386 && width <= tvnorm->swidth /* see PAL-Nc et al */) in bttv_calc_geo()
389 both_fields, tvnorm); in bttv_calc_geo()
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
409 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo()
698 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + buf->tvnorm; in bttv_buffer_risc() local
712 tvnorm,&buf->crop); in bttv_buffer_risc()
766 tvnorm,&buf->crop); in bttv_buffer_risc()
775 tvnorm,&buf->crop); in bttv_buffer_risc()
784 tvnorm,&buf->crop); in bttv_buffer_risc()
807 tvnorm,&buf->crop); in bttv_buffer_risc()
837 bttv_calc_geo(btv,&buf->geo,tvnorm->swidth,tvnorm->sheight, in bttv_buffer_risc()
838 1,tvnorm,&buf->crop); in bttv_buffer_risc()
869 &bttv_tvnorms[ov->tvnorm],&buf->crop); in bttv_overlay_risc()