Lines Matching defs:height
260 u16 width, u16 height)
263 u8 cheight = height >> 2;
264 u8 overflow = (height >> 9 & 0x02) | (width >> 10 & 0x01);
279 /* FIXME: align width+height to multiples of 4 ?! */
282 em28xx_write_reg(dev, 0x35, height >> 4);
317 int height = norm_maxh(dev);
328 em28xx_accumulator_set(dev, 1, (width - 4) >> 2, 1, (height - 4) >> 2);
340 em28xx_capture_area_set(dev, 0, 2, width, height);
342 em28xx_capture_area_set(dev, 0, 0, width, height);
374 if (v4l2->width * 2 * v4l2->height > 720 * 240 * 2)
1035 (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3;
1057 size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3;
1376 unsigned int width, unsigned int height,
1386 *vscale = (((unsigned long)maxh) << 12) / height - 4096L;
1393 unsigned int *width, unsigned int *height)
1399 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L);
1401 /* Don't let width or height to be zero */
1404 if (*height < 1)
1405 *height = 1;
1419 f->fmt.pix.height = v4l2->height;
1422 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * v4l2->height;
1451 unsigned int height = f->fmt.pix.height;
1466 height = height > (3 * maxh / 4) ? maxh : maxh / 2;
1473 if (width == maxw && height == maxh)
1478 * height must be even because of interlacing
1480 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh,
1486 if (height < 1)
1487 height = 1;
1489 size_to_scale(dev, width, height, &hscale, &vscale);
1490 scale_to_size(dev, hscale, vscale, &width, &height);
1493 f->fmt.pix.height = height;
1496 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * height;
1508 unsigned int width, unsigned int height)
1519 v4l2->height = height;
1522 size_to_scale(dev, v4l2->width, v4l2->height,
1542 f->fmt.pix.width, f->fmt.pix.height);
1577 /* Adjusts width/height, if needed */
1579 f.fmt.pix.height = (norm & V4L2_STD_525_60) ? 480 : 576;
1584 v4l2->height = f.fmt.pix.height;
1585 size_to_scale(dev, v4l2->width, v4l2->height,
2021 fsize->discrete.height = maxh / (1 + fsize->index);