Lines Matching defs:height

88 	unsigned h = dev->fmt_cap_rect.height;
161 dev->fmt_cap_rect.height) /
370 dev->src_rect.width == 720 && dev->src_rect.height <= 576)
371 return dev->src_rect.height == 480 ?
391 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height;
401 dev->src_rect.height = 480;
405 dev->src_rect.height = 576;
413 dev->src_rect.height = bt->height;
437 if (bt->width == 720 && bt->height <= 576)
452 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap);
457 dev->compose_cap.height != dev->crop_cap.height)) {
463 dev->compose_cap.height /= 2;
537 mp->height = dev->fmt_cap_rect.height;
551 (tpg_g_line_width(&dev->tpg, p) * mp->height) /
584 height, mp->width, mp->height);
587 h = sz->height;
593 h = dev->src_rect.height;
600 mp->height = h / factor;
602 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor };
616 mp->height = r.height / factor;
633 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) /
639 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height *
705 struct v4l2_rect r = { 0, 0, mp->width, mp->height };
716 factor * r.height / MAX_ZOOM
721 factor * r.height * MAX_ZOOM
731 factor * compose->height / MAX_ZOOM
736 factor * compose->height * MAX_ZOOM
744 r.height *= factor;
748 r.height /= factor;
753 r.height *= factor;
757 compose->height *= factor;
761 compose->height /= factor;
767 webcam_sizes[i].height == mp->height)
774 struct v4l2_rect r = { 0, 0, mp->width, mp->height };
777 r.height *= factor;
782 dev->fmt_cap_rect.height = mp->height;
783 tpg_s_buf_height(&dev->tpg, mp->height);
919 unsigned orig_compose_h = compose->height;
941 s->r.height /= factor;
947 s->r.height * MAX_ZOOM
952 s->r.height / MAX_ZOOM
967 tpg_s_buf_height(&dev->tpg, fmt.height);
976 tpg_s_buf_height(&dev->tpg, fmt.height);
986 tpg_s_buf_height(&dev->tpg, dev->fmt_cap_rect.height);
989 s->r.height *= factor;
1004 (dev->src_rect.height / factor) * MAX_ZOOM
1012 (s->r.height * factor) / MAX_ZOOM
1017 (s->r.height * factor) * MAX_ZOOM
1026 s->r.height *= factor;
1031 s->r.height /= factor;
1034 s->r.height /= factor;
1044 compose->height != orig_compose_h)) {
1107 win->w.height = compose->height;
1116 ((compose->width + 7) / 8) * compose->height))
1141 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height);
1143 win->w.height = compose->height;
1159 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1);
1160 r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top);
1192 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height;
1281 if (a->fmt.width < 48 || a->fmt.height < 32)
1288 if (a->fmt.bytesperline > a->fmt.sizeimage / a->fmt.height)
1303 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height);
1427 if (dev->src_rect.width == 720 && dev->src_rect.height <= 576)
1672 static void find_aspect_ratio(u32 width, u32 height,
1675 if (!(height % 3) && ((height * 4 / 3) == width)) {
1678 } else if (!(height % 9) && ((height * 16 / 9) == width)) {
1681 } else if (!(height % 10) && ((height * 16 / 10) == width)) {
1684 } else if (!(height % 4) && ((height * 5 / 4) == width)) {
1687 } else if (!(height % 9) && ((height * 15 / 9) == width)) {
1721 find_aspect_ratio(bt->width, bt->height,
1890 if (fival->height < MIN_HEIGHT || fival->height > MAX_HEIGHT * MAX_ZOOM)
1899 fival->height == webcam_sizes[i].height)