Lines Matching defs:width

246    swidth	width of active video and
247 totalwidth total line width, both in 1 / fCLKx1.
248 sqwidth total line width in square pixels.
262 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
267 .cropcap.defrect.width = swidth, \
299 cropcap.defrect is used for image width
1074 48 x 32. Scaled width must be a multiple of 4. */
1083 (max_t(unsigned int, 48, c->rect.width >> 4) + 3) & ~3;
1088 c->max_scaled_width = c->rect.width & ~3;
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
1797 __s32 width,
1805 if (width < c->min_scaled_width) {
1807 c->rect.width = width * 16;
1808 } else if (width > c->max_scaled_width) {
1810 c->rect.width = width;
1812 max_left = b->left + b->width - width;
1835 width and height is not possible with the current cropping parameters
1836 and width aligned according to width_mask. If adjust_size is TRUE the
1837 function may adjust the width and/or height instead, rounding width
1838 to (width + width_bias) & width_mask. If adjust_crop is TRUE it may
1842 limit_scaled_size_lock(struct bttv *btv, __s32 *width, __s32 *height,
1876 max_width = min_t(unsigned int, b->width, MAX_HACTIVE);
1909 *width = clamp(*width, min_width, max_width);
1913 *width = (*width + width_bias) & width_mask;
1916 bttv_crop_adjust(c, b, *width, *height, field);
1925 if (*width < min_width ||
1927 *width > max_width ||
1929 0 != (*width & ~width_mask))
1971 unsigned int width,
1974 f->width = width;
1978 f->bytesperline = width; /* Y plane */
1979 f->sizeimage = (width * height * fmt->depth) >> 3;
1981 f->bytesperline = (width * fmt->depth) >> 3;
1991 pix_format_set_size(&f->fmt.pix, btv->fmt, btv->width, btv->height);
2004 *width_mask = ~15; /* width must be a multiple of 16 pixels */
2007 *width_mask = ~3; /* width must be a multiple of 4 pixels */
2018 __s32 width, height;
2050 width = f->fmt.pix.width;
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;
2085 width = f->fmt.pix.width;
2091 retval = limit_scaled_size_lock(btv, &width, &height, f->fmt.pix.field,
2100 btv->width = f->fmt.pix.width;
2265 b_right = b_left + b->width;
2277 c.rect.width = clamp_t(s32, sel->r.width,
2296 if (btv->width < c.min_scaled_width)
2297 btv->width = c.min_scaled_width;
2298 else if (btv->width > c.max_scaled_width)
2299 btv->width = c.max_scaled_width;
3332 btv->width = 320;