Lines Matching refs:height

133 	unsigned int height;
214 unsigned int height;
223 height = fmt->fmt.pix.height;
228 height = icd->user_height;
233 sizes[0] = bytes_per_line * height;
665 unsigned int height, width, cdwdr_width, in_width, in_height;
708 height = icd->user_height;
709 in_height = cam->height;
711 height = (height / 2) & ~3;
728 (in_height << 16) | in_width, (height << 16) | width,
734 ceu_write(pcdev, CFSZR, (height << 16) | width);
1096 mf.height > pcdev->max_height) && shift < 4) {
1099 mf.height = 1920 >> shift;
1110 mf.width, mf.height);
1114 dev_geo(dev, "camera fmt %ux%u\n", mf.width, mf.height);
1125 cam->height = mf.height;
1192 return r1->width < r2->width || r1->height < r2->height;
1200 r1->top + r1->height < r2->top + r2->height;
1246 if (rect->height < subrect->height)
1247 subrect->height = rect->height;
1258 else if (rect->top + rect->height >
1259 subrect->top + subrect->height)
1260 subrect->top = rect->top + rect->height -
1261 subrect->height;
1279 unsigned int width, height;
1293 rect->width, rect->height, rect->left, rect->top);
1300 cam_rect->width, cam_rect->height,
1302 rect->width, rect->height, rect->left, rect->top);
1312 soc_camera_limit_side(&rect->top, &rect->height, cap.bounds.top, 4,
1313 cap.bounds.height);
1320 height = max(cam_rect->height, 2);
1328 (cap.bounds.width > width || cap.bounds.height > height)) {
1331 height *= 2;
1334 cam_rect->height = height;
1355 if (cam_rect->top + cam_rect->height < rect->top + rect->height)
1356 cam_rect->height = rect->top + rect->height -
1362 cam_rect->width, cam_rect->height,
1376 cam_rect->width, cam_rect->height,
1397 unsigned int width = mf->width, height = mf->height, tmp_w, tmp_h;
1409 dev_geo(dev, "camera scaled to %ux%u\n", mf->width, mf->height);
1411 if (width == mf->width && height == mf->height) {
1428 max_height = min(cap.bounds.height, pcdev->max_height);
1432 tmp_h = mf->height;
1434 /* width <= max_width && height <= max_height - guaranteed by try_fmt */
1435 while ((width > tmp_w || height > tmp_h) &&
1440 mf->height = tmp_h;
1445 mf->width, mf->height);
1469 * @height - on output: user height, mapped back to input
1474 unsigned int *width, unsigned int *height,
1492 mf_tmp.width, mf_tmp.height);
1500 scale_v = calc_generic_scale(cam->rect.height, mf_tmp.height);
1503 mf->height = mf_tmp.height;
1511 *height = scale_down(cam->subrect.height, scale_v);
1513 dev_geo(dev, "8: new client sub-window %ux%u\n", *width, *height);
1542 dev_geo(dev, "S_CROP(%ux%u@%u:%u)\n", rect->width, rect->height,
1558 cam_rect->width, cam_rect->height,
1568 if (mf.width > pcdev->max_width || mf.height > pcdev->max_height)
1573 scale_cam_v = calc_generic_scale(cam_rect->height, mf.height);
1577 interm_height = scale_down(rect->height, scale_cam_v);
1590 new_scale_v = calc_generic_scale(rect->height, icd->user_height);
1592 mf.height = scale_down(cam_rect->height, new_scale_v);
1602 dev_geo(dev, "New camera output %ux%u\n", mf.width, mf.height);
1604 scale_cam_v = calc_generic_scale(cam_rect->height, mf.height);
1606 interm_height = scale_down(rect->height, scale_cam_v);
1611 cam->height = mf.height;
1686 cam_subrect->height == cam->rect.height) {
1689 mf->height = pix->height;
1696 cam_subrect->width, cam_subrect->height,
1709 scale_v = calc_generic_scale(cam_subrect->height, pix->height);
1718 mf->height = scale_down(cam->rect.height, scale_v);
1778 pix->width, pix->height);
1780 dev_geo(dev, "4: request camera output %ux%u\n", mf.width, mf.height);
1791 mf.width, mf.height, pix->width, pix->height);
1800 cam->height = mf.height;
1808 if (pix->height > ceu_sub_height)
1809 ceu_sub_height = pix->height;
1814 /* Scale pix->{width x height} down to width x height */
1816 scale_v = calc_scale(ceu_sub_height, &pix->height);
1819 pix->height = ceu_sub_height;
1833 ceu_sub_height, scale_v, pix->height);
1843 pix->height &= ~3;
1858 int width, height;
1862 pixfmt, pix->width, pix->height);
1872 /* CFSZR requires height and width to be 4-pixel aligned */
1874 &pix->height, 4, pcdev->max_height, 2, 0);
1877 height = pix->height;
1881 mf.height = pix->height;
1892 pix->height = mf.height;
1903 if (pix->width < width || pix->height < height) {
1910 mf.height = pcdev->max_height;
1924 if (mf.height > height)
1925 pix->height = height;
1929 pix->height &= ~3;
1932 __func__, ret, pix->pixelformat, pix->width, pix->height);
1966 .height = out_height,
1974 out_height != f.fmt.pix.height))