Lines Matching defs:crop
352 geo->crop = ((width>>8)&0x03) | ((geo->hdelay>>6)&0x0c) |
376 const struct v4l2_rect * crop)
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
395 c_width = min((unsigned int) crop->width, width * 16);
396 c_height = min((unsigned int) crop->height, height * 16);
401 geo->hdelay = ((crop->left * width + c_width) / c_width) & ~1;
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY;
411 geo->crop = (((geo->width >> 8) & 0x03) |
444 btwrite(geo->crop, BT848_E_CROP+off);
599 unsigned int crop, vdelay;
605 crop = btread(BT848_E_CROP);
606 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2);
610 crop = (crop & 0x3f) | ((vbi->geo.vdelay >> 2) & 0xc0);
613 btwrite(crop, BT848_E_CROP);
615 btwrite(crop, BT848_O_CROP);
713 tvnorm,&buf->crop);
767 tvnorm,&buf->crop);
776 tvnorm,&buf->crop);
785 tvnorm,&buf->crop);
808 tvnorm,&buf->crop);
839 1,tvnorm,&buf->crop);
870 &bttv_tvnorms[ov->tvnorm],&buf->crop);