Lines Matching refs:tvnorm
338 const struct bttv_tvnorm *tvnorm) in bttv_calc_geo_old() argument
343 int swidth = tvnorm->swidth; in bttv_calc_geo_old()
344 int totalwidth = tvnorm->totalwidth; in bttv_calc_geo_old()
345 int scaledtwidth = tvnorm->scaledtwidth; in bttv_calc_geo_old()
353 vdelay = tvnorm->vdelay; in bttv_calc_geo_old()
357 geo->hdelay = tvnorm->hdelayx1; in bttv_calc_geo_old()
360 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512; in bttv_calc_geo_old()
363 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0); in bttv_calc_geo_old()
367 geo->sheight = tvnorm->sheight; in bttv_calc_geo_old()
368 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo_old()
385 const struct bttv_tvnorm * tvnorm, in bttv_calc_geo() argument
392 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
393 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
394 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
395 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
396 && width <= tvnorm->swidth /* see PAL-Nc et al */) in bttv_calc_geo()
399 both_fields, tvnorm); in bttv_calc_geo()
414 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
419 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo()
709 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + buf->tvnorm; in bttv_buffer_risc() local
723 tvnorm,&buf->crop); in bttv_buffer_risc()
777 tvnorm,&buf->crop); in bttv_buffer_risc()
786 tvnorm,&buf->crop); in bttv_buffer_risc()
795 tvnorm,&buf->crop); in bttv_buffer_risc()
818 tvnorm,&buf->crop); in bttv_buffer_risc()
848 bttv_calc_geo(btv,&buf->geo,tvnorm->swidth,tvnorm->sheight, in bttv_buffer_risc()
849 1,tvnorm,&buf->crop); in bttv_buffer_risc()
880 &bttv_tvnorms[ov->tvnorm],&buf->crop); in bttv_overlay_risc()