Lines Matching refs:rect
661 __s32 top = btv->crop[!!btv->do_crop].rect.top;
667 Claim scan lines crop[].rect.top to bottom. */
1083 (max_t(unsigned int, 48, c->rect.width >> 4) + 3) & ~3;
1085 max_t(unsigned int, 32, c->rect.height >> 4);
1088 c->max_scaled_width = c->rect.width & ~3;
1089 c->max_scaled_height = c->rect.height;
1095 c->rect = bttv_tvnorms[norm].cropcap.defrect;
1807 c->rect.width = width * 16;
1810 c->rect.width = width;
1814 if (c->rect.left > max_left)
1815 c->rect.left = max_left;
1820 c->rect.height = height * 16;
1824 c->rect.height = (frame_height + 1) & ~1;
1826 max_top = b->top + b->height - c->rect.height;
1827 if (c->rect.top > max_top)
1828 c->rect.top = max_top;
1874 than crop.rect we adjust the crop.rect as required
1890 if (btv->vbi_end > c->rect.top)
1918 if (btv->vbi_end > c->rect.top) {
1920 c->rect.top = btv->vbi_end;
2043 height2 = btv->crop[!!btv->do_crop].rect.height >> 1;
2222 sel->r = btv->crop[!!btv->do_crop].rect;
2274 c.rect.left = clamp_t(s32, sel->r.left, b_left, b_right - 48);
2275 c.rect.left = min(c.rect.left, (__s32) MAX_HDELAY);
2277 c.rect.width = clamp_t(s32, sel->r.width,
2278 48, b_right - c.rect.left);
2280 c.rect.top = clamp_t(s32, sel->r.top, b_top, b_bottom - 32);
2282 c.rect.top = (c.rect.top + 1) & ~1;
2284 c.rect.height = clamp_t(s32, sel->r.height,
2285 32, b_bottom - c.rect.top);
2286 c.rect.height = (c.rect.height + 1) & ~1;
2290 sel->r = c.rect;