Lines Matching defs:height
251 sheight height of active video in 2 * field lines.
252 extraheight Added to sheight for cropcap.bounds.height only
263 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
268 .cropcap.defrect.height = sheight, \
715 + tvnorm->cropcap.bounds.height;
1085 max_t(unsigned int, 32, c->rect.height >> 4);
1089 c->max_scaled_height = c->rect.height;
1118 + tvnorm->cropcap.bounds.height;
1470 unsigned int size = btv->fmt->depth * btv->width * btv->height >> 3;
1506 unsigned int size = (btv->fmt->depth * btv->width * btv->height) >> 3;
1791 /* Given cropping boundaries b and the scaled width and height of a
1798 __s32 height,
1801 __s32 frame_height = height << !V4L2_FIELD_HAS_BOTH(field);
1818 if (height < c->min_scaled_height) {
1820 c->rect.height = height * 16;
1823 Top and height count field lines times two. */
1824 c->rect.height = (frame_height + 1) & ~1;
1826 max_top = b->top + b->height - c->rect.height;
1835 width and height is not possible with the current cropping parameters
1837 function may adjust the width and/or height instead, rounding width
1842 limit_scaled_size_lock(struct bttv *btv, __s32 *width, __s32 *height,
1877 max_height = b->height;
1910 *height = clamp(*height, min_height, max_height);
1916 bttv_crop_adjust(c, b, *width, *height, field);
1926 *height < min_height ||
1928 *height > max_height ||
1972 unsigned int height)
1975 f->height = height;
1979 f->sizeimage = (width * height * fmt->depth) >> 3;
1982 f->sizeimage = height * f->bytesperline;
1991 pix_format_set_size(&f->fmt.pix, btv->fmt, btv->width, btv->height);
2018 __s32 width, height;
2043 height2 = btv->crop[!!btv->do_crop].rect.height >> 1;
2044 field = (f->fmt.pix.height > height2)
2051 height = f->fmt.pix.height;
2054 rc = limit_scaled_size_lock(btv, &width, &height, field, width_mask,
2061 pix_format_set_size(&f->fmt.pix, fmt, width, height);
2073 __s32 width, height;
2086 height = f->fmt.pix.height;
2091 retval = limit_scaled_size_lock(btv, &width, &height, f->fmt.pix.field,
2101 btv->height = f->fmt.pix.height;
2266 b_bottom = b->top + b->height;
2281 /* Top and height must be a multiple of two. */
2284 c.rect.height = clamp_t(s32, sel->r.height,
2286 c.rect.height = (c.rect.height + 1) & ~1;
2301 if (btv->height < c.min_scaled_height)
2302 btv->height = c.min_scaled_height;
2303 else if (btv->height > c.max_scaled_height)
2304 btv->height = c.max_scaled_height;
3333 btv->height = 240;