Lines Matching defs:height

270 				    u16 width, u16 height)
273 u8 cheight = height >> 2;
274 u8 overflow = (height >> 9 & 0x02) | (width >> 10 & 0x01);
289 /* FIXME: align width+height to multiples of 4 ?! */
292 em28xx_write_reg(dev, 0x35, height >> 4);
327 int height = norm_maxh(dev);
338 em28xx_accumulator_set(dev, 1, (width - 4) >> 2, 1, (height - 4) >> 2);
350 em28xx_capture_area_set(dev, 0, 2, width, height);
352 em28xx_capture_area_set(dev, 0, 0, width, height);
384 if (v4l2->width * 2 * v4l2->height > 720 * 240 * 2)
1045 (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3;
1067 size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3;
1386 unsigned int width, unsigned int height,
1396 *vscale = (((unsigned long)maxh) << 12) / height - 4096L;
1403 unsigned int *width, unsigned int *height)
1409 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L);
1411 /* Don't let width or height to be zero */
1414 if (*height < 1)
1415 *height = 1;
1429 f->fmt.pix.height = v4l2->height;
1432 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * v4l2->height;
1461 unsigned int height = f->fmt.pix.height;
1476 height = height > (3 * maxh / 4) ? maxh : maxh / 2;
1483 if (width == maxw && height == maxh)
1488 * height must be even because of interlacing
1490 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh,
1496 if (height < 1)
1497 height = 1;
1499 size_to_scale(dev, width, height, &hscale, &vscale);
1500 scale_to_size(dev, hscale, vscale, &width, &height);
1503 f->fmt.pix.height = height;
1506 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * height;
1518 unsigned int width, unsigned int height)
1529 v4l2->height = height;
1532 size_to_scale(dev, v4l2->width, v4l2->height,
1552 f->fmt.pix.width, f->fmt.pix.height);
1587 /* Adjusts width/height, if needed */
1589 f.fmt.pix.height = (norm & V4L2_STD_525_60) ? 480 : 576;
1594 v4l2->height = f.fmt.pix.height;
1595 size_to_scale(dev, v4l2->width, v4l2->height,
2031 fsize->discrete.height = maxh / (1 + fsize->index);