Lines Matching refs:height

276 	.cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) -	 \
281 .cropcap.defrect.height = sheight, \
759 + tvnorm->cropcap.bounds.height; in disclaim_video_lines()
1131 max_t(unsigned int, 32, c->rect.height >> 4); in bttv_crop_calc_limits()
1135 c->max_scaled_height = c->rect.height; in bttv_crop_calc_limits()
1164 + tvnorm->cropcap.bounds.height; in set_tvnorm()
1562 unsigned int width, unsigned int height, in bttv_prepare_buffer() argument
1576 height = RAW_LINES*2; in bttv_prepare_buffer()
1577 if (width*height > buf->vb.bsize) in bttv_prepare_buffer()
1599 height < c.min_scaled_height) in bttv_prepare_buffer()
1608 if (height * 2 > c.max_scaled_height) in bttv_prepare_buffer()
1613 if (height > c.max_scaled_height) in bttv_prepare_buffer()
1618 buf->vb.size = (width * height * fmt->depth) >> 3; in bttv_prepare_buffer()
1624 if (buf->vb.width != width || buf->vb.height != height || in bttv_prepare_buffer()
1630 buf->crop.height != c.rect.height) { in bttv_prepare_buffer()
1632 buf->vb.height = height; in bttv_prepare_buffer()
1664 *size = fh->fmt->depth*fh->width*fh->height >> 3; in buffer_setup()
1680 fh->width, fh->height, field); in buffer_prepare()
1945 __s32 height, in bttv_crop_adjust() argument
1948 __s32 frame_height = height << !V4L2_FIELD_HAS_BOTH(field); in bttv_crop_adjust()
1965 if (height < c->min_scaled_height) { 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()
1991 __s32 * height, in limit_scaled_size_lock() argument
2029 max_height = b->height; in limit_scaled_size_lock()
2063 *height = clamp(*height, min_height, max_height); in limit_scaled_size_lock()
2069 bttv_crop_adjust(c, b, *width, *height, field); in limit_scaled_size_lock()
2079 *height < min_height || in limit_scaled_size_lock()
2081 *height > max_height || in limit_scaled_size_lock()
2110 if (win->w.height < 32) in verify_window_lock()
2111 win->w.height = 32; in verify_window_lock()
2131 height2 = fh->btv->crop[!!fh->do_crop].rect.height >> 1; in verify_window_lock()
2132 field = (win->w.height > height2) in verify_window_lock()
2159 rc = limit_scaled_size_lock(fh, &win->w.width, &win->w.height, in verify_window_lock()
2200 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height, in setup_window_lock()
2229 btv->init.ov.w.height = win->w.height; in setup_window_lock()
2298 unsigned int height) in pix_format_set_size() argument
2301 f->height = height; in pix_format_set_size()
2305 f->sizeimage = (width * height * fmt->depth) >> 3; in pix_format_set_size()
2308 f->sizeimage = height * f->bytesperline; in pix_format_set_size()
2318 fh->width, fh->height); in bttv_g_fmt_vid_cap()
2357 __s32 width, height; in bttv_try_fmt_vid_cap() local
2382 height2 = btv->crop[!!fh->do_crop].rect.height >> 1; in bttv_try_fmt_vid_cap()
2383 field = (f->fmt.pix.height > height2) in bttv_try_fmt_vid_cap()
2390 height = f->fmt.pix.height; in bttv_try_fmt_vid_cap()
2393 rc = limit_scaled_size_lock(fh, &width, &height, field, in bttv_try_fmt_vid_cap()
2402 pix_format_set_size(&f->fmt.pix, fmt, width, height); in bttv_try_fmt_vid_cap()
2426 __s32 width, height; in bttv_s_fmt_vid_cap() local
2439 height = f->fmt.pix.height; in bttv_s_fmt_vid_cap()
2444 retval = limit_scaled_size_lock(fh, &width, &height, f->fmt.pix.field, in bttv_s_fmt_vid_cap()
2458 fh->height = f->fmt.pix.height; in bttv_s_fmt_vid_cap()
2461 btv->init.height = f->fmt.pix.height; in bttv_s_fmt_vid_cap()
2662 __s32 height = fb->fmt.height; in bttv_s_fbuf() local
2664 retval = limit_scaled_size_lock(fh, &width, &height, in bttv_s_fbuf()
2677 btv->fbuf.fmt.height = fb->fmt.height; in bttv_s_fbuf()
2690 fh->ov.w.height = fb->fmt.height; in bttv_s_fbuf()
2692 btv->init.ov.w.height = fb->fmt.height; in bttv_s_fbuf()
2871 b_bottom = b->top + b->height; in bttv_s_crop()
2889 c.rect.height = clamp_t(s32, crop->c.height, in bttv_s_crop()
2891 c.rect.height = (c.rect.height + 1) & ~1; in bttv_s_crop()
2907 if (fh->height < c.min_scaled_height) { in bttv_s_crop()
2908 fh->height = c.min_scaled_height; in bttv_s_crop()
2909 btv->init.height = c.min_scaled_height; in bttv_s_crop()
2910 } else if (fh->height > c.max_scaled_height) { in bttv_s_crop()
2911 fh->height = c.max_scaled_height; in bttv_s_crop()
2912 btv->init.height = c.max_scaled_height; in bttv_s_crop()
4137 btv->init.ov.w.height = 240; in bttv_probe()
4140 btv->init.height = 240; in bttv_probe()
4142 btv->init.ov.w.height = 240; in bttv_probe()