Lines Matching defs:crop
360 geo->crop = ((width>>8)&0x03) | ((geo->hdelay>>6)&0x0c) |
384 const struct v4l2_rect * crop)
390 if ((crop->left == tvnorm->cropcap.defrect.left
391 && crop->top == tvnorm->cropcap.defrect.top
392 && crop->width == tvnorm->cropcap.defrect.width
393 && crop->height == tvnorm->cropcap.defrect.height
403 c_width = min((unsigned int) crop->width, width * 16);
404 c_height = min((unsigned int) crop->height, height * 16);
409 geo->hdelay = ((crop->left * width + c_width) / c_width) & ~1;
412 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY;
419 geo->crop = (((geo->width >> 8) & 0x03) |
452 btwrite(geo->crop, BT848_E_CROP+off);
608 unsigned int crop, vdelay;
614 crop = btread(BT848_E_CROP);
615 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2);
619 crop = (crop & 0x3f) | ((vbi->geo.vdelay >> 2) & 0xc0);
622 btwrite(crop, BT848_E_CROP);
624 btwrite(crop, BT848_O_CROP);
723 tvnorm,&buf->crop);
777 tvnorm,&buf->crop);
786 tvnorm,&buf->crop);
795 tvnorm,&buf->crop);
818 tvnorm,&buf->crop);
849 1,tvnorm,&buf->crop);
881 &bttv_tvnorms[ov->tvnorm],&buf->crop);