Lines Matching defs:width

370 	    dev->src_rect.width == 720 && dev->src_rect.height <= 576)
390 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width;
399 dev->src_rect.width = 720;
412 dev->src_rect.width = bt->width;
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);
456 (dev->compose_cap.width != dev->crop_cap.width ||
536 mp->width = dev->fmt_cap_rect.width;
583 VIVID_WEBCAM_SIZES, width,
584 height, mp->width, mp->height);
586 w = sz->width;
592 w = dev->src_rect.width;
599 mp->width = w;
602 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor };
615 mp->width = r.width;
624 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3;
705 struct v4l2_rect r = { 0, 0, mp->width, mp->height };
715 r.width / MAX_ZOOM,
720 r.width * MAX_ZOOM,
730 compose->width / MAX_ZOOM,
735 compose->width * MAX_ZOOM,
766 if (webcam_sizes[i].width == mp->width &&
774 struct v4l2_rect r = { 0, 0, mp->width, mp->height };
781 dev->fmt_cap_rect.width = mp->width;
918 unsigned orig_compose_w = compose->width;
946 s->r.width * MAX_ZOOM,
951 s->r.width / MAX_ZOOM,
1003 dev->src_rect.width * MAX_ZOOM,
1011 s->r.width / MAX_ZOOM,
1016 s->r.width * MAX_ZOOM,
1043 if (dev->bitmap_cap && (compose->width != orig_compose_w ||
1106 win->w.width = compose->width;
1116 ((compose->width + 7) / 8) * compose->height))
1139 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width);
1142 win->w.width = compose->width;
1161 r->left = clamp_t(u32, r->left, 0, dev->fb_cap.fmt.width - 1);
1162 r->width = clamp_t(u32, r->width, 1, dev->fb_cap.fmt.width - r->left);
1192 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height;
1281 if (a->fmt.width < 48 || a->fmt.height < 32)
1286 if (a->fmt.bytesperline < (a->fmt.width * fmt->bit_depth[0]) / 8)
1301 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width);
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)) {
1713 if (v4l2_detect_cvt(total_v_lines, h_freq, bt->vsync, bt->width,
1721 find_aspect_ratio(bt->width, bt->height,
1888 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM)
1898 if (fival->width == webcam_sizes[i].width &&