Lines Matching refs:width
396 dev->crop_bounds.width = norm->h_stop - norm->h_start +1; in set_tvnorm()
397 dev->crop_defrect.width = norm->h_stop - norm->h_start +1; in set_tvnorm()
552 int width, int height, int interlace) in set_size() argument
561 h_stop = (dev->crop_current.left + dev->crop_current.width -1); in set_size()
573 prescale = dev->crop_current.width / width; in set_size()
576 xscale = 1024 * dev->crop_current.width / prescale / width; in set_size()
585 saa_writeb(SAA7134_VIDEO_PIXELS1(task), width & 0xff); in set_size()
586 saa_writeb(SAA7134_VIDEO_PIXELS2(task), width >> 8); in set_size()
665 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping()
690 if (win->w.width < 48) in verify_preview()
691 win->w.width = 48; in verify_preview()
700 maxw = dev->crop_current.width; in verify_preview()
719 if (win->w.width > maxw) in verify_preview()
720 win->w.width = maxw; in verify_preview()
737 dev->win.w.width, dev->win.w.height, in start_preview()
742 set_size(dev, TASK_B, dev->win.w.width, dev->win.w.height, in start_preview()
801 set_size(dev, TASK_A, dev->width, dev->height, in buffer_activate()
812 bpl = dev->width; in buffer_activate()
814 bpl = (dev->width * dev->fmt->depth) / 8; in buffer_activate()
896 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in buffer_prepare()
913 int size = dev->fmt->depth * dev->width * dev->height >> 3; in queue_setup()
915 if (dev->width < 48 || in queue_setup()
917 dev->width/4 > dev->crop_current.width || in queue_setup()
919 dev->width > dev->crop_bounds.width || in queue_setup()
1218 f->fmt.pix.width = dev->width; in saa7134_g_fmt_vid_cap()
1223 f->fmt.pix.bytesperline = f->fmt.pix.width; in saa7134_g_fmt_vid_cap()
1226 (f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap()
1228 (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap()
1276 maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); in saa7134_try_fmt_vid_cap()
1295 if (f->fmt.pix.width < 48) in saa7134_try_fmt_vid_cap()
1296 f->fmt.pix.width = 48; in saa7134_try_fmt_vid_cap()
1299 if (f->fmt.pix.width > maxw) in saa7134_try_fmt_vid_cap()
1300 f->fmt.pix.width = maxw; in saa7134_try_fmt_vid_cap()
1303 f->fmt.pix.width &= ~0x03; in saa7134_try_fmt_vid_cap()
1305 f->fmt.pix.bytesperline = f->fmt.pix.width; in saa7134_try_fmt_vid_cap()
1308 (f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap()
1310 (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap()
1342 dev->width = f->fmt.pix.width; in saa7134_s_fmt_vid_cap()
1648 if (c->left > b->left + b->width) in saa7134_s_crop()
1649 c->left = b->left + b->width; in saa7134_s_crop()
1650 if (c->width > b->left - c->left + b->width) in saa7134_s_crop()
1651 c->width = b->left - c->left + b->width; in saa7134_s_crop()
1801 dev->ovbuf.fmt.width*fmt->depth/8; in saa7134_s_fbuf()
2075 dev->width = 720; in saa7134_video_init1()
2078 dev->win.w.width = dev->width; in saa7134_video_init1()
2081 dev->ovbuf.fmt.width = dev->width; in saa7134_video_init1()