Lines Matching refs:width

394 	dev->crop_bounds.width   = norm->h_stop - norm->h_start +1;  in set_tvnorm()
395 dev->crop_defrect.width = norm->h_stop - norm->h_start +1; in set_tvnorm()
550 int width, int height, int interlace) in set_size() argument
559 h_stop = (dev->crop_current.left + dev->crop_current.width -1); in set_size()
571 prescale = dev->crop_current.width / width; in set_size()
574 xscale = 1024 * dev->crop_current.width / prescale / width; in set_size()
582 saa_writeb(SAA7134_VIDEO_PIXELS1(task), width & 0xff); in set_size()
583 saa_writeb(SAA7134_VIDEO_PIXELS2(task), width >> 8); in set_size()
662 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping()
687 if (win->w.width < 48) in verify_preview()
688 win->w.width = 48; in verify_preview()
697 maxw = dev->crop_current.width; in verify_preview()
716 if (win->w.width > maxw) in verify_preview()
717 win->w.width = maxw; in verify_preview()
734 dev->win.w.width, dev->win.w.height, in start_preview()
739 set_size(dev, TASK_B, dev->win.w.width, dev->win.w.height, in start_preview()
798 set_size(dev, TASK_A, dev->width, dev->height, in buffer_activate()
809 bpl = dev->width; in buffer_activate()
811 bpl = (dev->width * dev->fmt->depth) / 8; in buffer_activate()
891 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in buffer_prepare()
908 int size = dev->fmt->depth * dev->width * dev->height >> 3; in queue_setup()
910 if (dev->width < 48 || in queue_setup()
912 dev->width/4 > dev->crop_current.width || in queue_setup()
914 dev->width > dev->crop_bounds.width || in queue_setup()
1210 f->fmt.pix.width = dev->width; in saa7134_g_fmt_vid_cap()
1215 f->fmt.pix.bytesperline = f->fmt.pix.width; in saa7134_g_fmt_vid_cap()
1218 (f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap()
1220 (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap()
1268 maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); in saa7134_try_fmt_vid_cap()
1287 if (f->fmt.pix.width < 48) in saa7134_try_fmt_vid_cap()
1288 f->fmt.pix.width = 48; in saa7134_try_fmt_vid_cap()
1291 if (f->fmt.pix.width > maxw) in saa7134_try_fmt_vid_cap()
1292 f->fmt.pix.width = maxw; in saa7134_try_fmt_vid_cap()
1295 f->fmt.pix.width &= ~0x03; in saa7134_try_fmt_vid_cap()
1297 f->fmt.pix.bytesperline = f->fmt.pix.width; in saa7134_try_fmt_vid_cap()
1300 (f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap()
1302 (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap()
1334 dev->width = f->fmt.pix.width; in saa7134_s_fmt_vid_cap()
1640 if (c->left > b->left + b->width) in saa7134_s_crop()
1641 c->left = b->left + b->width; in saa7134_s_crop()
1642 if (c->width > b->left - c->left + b->width) in saa7134_s_crop()
1643 c->width = b->left - c->left + b->width; in saa7134_s_crop()
1793 dev->ovbuf.fmt.width*fmt->depth/8; in saa7134_s_fbuf()
2067 dev->width = 720; in saa7134_video_init1()
2070 dev->win.w.width = dev->width; in saa7134_video_init1()
2073 dev->ovbuf.fmt.width = dev->width; in saa7134_video_init1()