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