Lines Matching refs:crop

263 	geo->crop   =  ((width>>8)&0x03) | ((geo->hdelay>>6)&0x0c) |  in bttv_calc_geo_old()
287 const struct v4l2_rect * crop) in bttv_calc_geo() argument
293 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
294 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
295 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
296 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
306 c_width = min((unsigned int) crop->width, width * 16); in bttv_calc_geo()
307 c_height = min((unsigned int) crop->height, height * 16); in bttv_calc_geo()
312 geo->hdelay = ((crop->left * width + c_width) / c_width) & ~1; in bttv_calc_geo()
315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
322 geo->crop = (((geo->width >> 8) & 0x03) | in bttv_calc_geo()
355 btwrite(geo->crop, BT848_E_CROP+off); in bttv_apply_geo()
568 unsigned int crop, vdelay; in bttv_buffer_activate_vbi() local
573 crop = btread(BT848_E_CROP); in bttv_buffer_activate_vbi()
574 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); in bttv_buffer_activate_vbi()
578 crop = (crop & 0x3f) | ((vbi->geo.vdelay >> 2) & 0xc0); in bttv_buffer_activate_vbi()
581 btwrite(crop, BT848_E_CROP); in bttv_buffer_activate_vbi()
583 btwrite(crop, BT848_O_CROP); in bttv_buffer_activate_vbi()
675 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()
725 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()
735 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()
745 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()
765 &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()
792 1, tvnorm, &btv->crop[!!btv->do_crop].rect); in bttv_buffer_risc()