Lines Matching refs:rect

704 		__s32 top = btv->crop[!!fh->do_crop].rect.top;  in check_alloc_btres_lock()
1129 (max_t(unsigned int, 48, c->rect.width >> 4) + 3) & ~3; in bttv_crop_calc_limits()
1131 max_t(unsigned int, 32, c->rect.height >> 4); in bttv_crop_calc_limits()
1134 c->max_scaled_width = c->rect.width & ~3; in bttv_crop_calc_limits()
1135 c->max_scaled_height = c->rect.height; in bttv_crop_calc_limits()
1141 c->rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_crop_reset()
1592 c.rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_prepare_buffer()
1627 buf->crop.top != c.rect.top || in bttv_prepare_buffer()
1628 buf->crop.left != c.rect.left || in bttv_prepare_buffer()
1629 buf->crop.width != c.rect.width || in bttv_prepare_buffer()
1630 buf->crop.height != c.rect.height) { in bttv_prepare_buffer()
1636 buf->crop = c.rect; in bttv_prepare_buffer()
1954 c->rect.width = width * 16; in bttv_crop_adjust()
1957 c->rect.width = width; in bttv_crop_adjust()
1961 if (c->rect.left > max_left) in bttv_crop_adjust()
1962 c->rect.left = max_left; in bttv_crop_adjust()
1967 c->rect.height = height * 16; in bttv_crop_adjust()
1971 c->rect.height = (frame_height + 1) & ~1; in bttv_crop_adjust()
1973 max_top = b->top + b->height - c->rect.height; in bttv_crop_adjust()
1974 if (c->rect.top > max_top) in bttv_crop_adjust()
1975 c->rect.top = max_top; in bttv_crop_adjust()
2042 if (btv->vbi_end > c->rect.top) in limit_scaled_size_lock()
2071 if (btv->vbi_end > c->rect.top) { in limit_scaled_size_lock()
2073 c->rect.top = btv->vbi_end; in limit_scaled_size_lock()
2131 height2 = fh->btv->crop[!!fh->do_crop].rect.height >> 1; in verify_window_lock()
2238 new->crop = btv->crop[!!fh->do_crop].rect; in setup_window_lock()
2382 height2 = btv->crop[!!fh->do_crop].rect.height >> 1; in bttv_try_fmt_vid_cap()
2629 new->crop = btv->crop[!!fh->do_crop].rect; in bttv_overlay()
2702 new->crop = btv->crop[!!fh->do_crop].rect; in bttv_s_fbuf()
2838 crop->c = btv->crop[!!fh->do_crop].rect; in bttv_g_crop()
2880 c.rect.left = clamp_t(s32, crop->c.left, b_left, b_right - 48); in bttv_s_crop()
2881 c.rect.left = min(c.rect.left, (__s32) MAX_HDELAY); in bttv_s_crop()
2883 c.rect.width = clamp_t(s32, crop->c.width, in bttv_s_crop()
2884 48, b_right - c.rect.left); in bttv_s_crop()
2886 c.rect.top = clamp_t(s32, crop->c.top, b_top, b_bottom - 32); in bttv_s_crop()
2888 c.rect.top = (c.rect.top + 1) & ~1; in bttv_s_crop()
2890 c.rect.height = clamp_t(s32, crop->c.height, in bttv_s_crop()
2891 32, b_bottom - c.rect.top); in bttv_s_crop()
2892 c.rect.height = (c.rect.height + 1) & ~1; in bttv_s_crop()