Lines Matching defs:width

363 	    dev->src_rect.width == 720 && dev->src_rect.height <= 576)
384 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width;
393 dev->src_rect.width = 720;
406 dev->src_rect.width = bt->width;
431 if (bt->width == 720 && bt->height <= 576)
444 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap);
462 dims[0] = roundup(dev->src_rect.width, PIXEL_ARRAY_DIV);
533 mp->width = dev->fmt_cap_rect.width;
580 ARRAY_SIZE(webcam_sizes), width,
581 height, mp->width, mp->height);
583 w = sz->width;
589 w = dev->src_rect.width;
596 mp->width = w;
599 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor };
612 mp->width = r.width;
621 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3;
697 struct v4l2_rect r = { 0, 0, mp->width, mp->height };
707 r.width / MAX_ZOOM,
712 r.width * MAX_ZOOM,
722 compose->width / MAX_ZOOM,
727 compose->width * MAX_ZOOM,
760 if (webcam_sizes[i].width == mp->width &&
768 struct v4l2_rect r = { 0, 0, mp->width, mp->height };
775 dev->fmt_cap_rect.width = mp->width;
938 s->r.width * MAX_ZOOM,
943 s->r.width / MAX_ZOOM,
995 dev->src_rect.width * MAX_ZOOM,
1003 s->r.width / MAX_ZOOM,
1008 s->r.width * MAX_ZOOM,
1182 if (dev->src_rect.width == 720 && dev->src_rect.height <= 576)
1427 static void find_aspect_ratio(u32 width, u32 height,
1430 if (!(height % 3) && ((height * 4 / 3) == width)) {
1433 } else if (!(height % 9) && ((height * 16 / 9) == width)) {
1436 } else if (!(height % 10) && ((height * 16 / 10) == width)) {
1439 } else if (!(height % 4) && ((height * 5 / 4) == width)) {
1442 } else if (!(height % 9) && ((height * 15 / 9) == width)) {
1468 if (v4l2_detect_cvt(total_v_lines, h_freq, bt->vsync, bt->width,
1476 find_aspect_ratio(bt->width, bt->height,
1643 if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM)
1653 if (fival->width == webcam_sizes[i].width &&