Lines Matching refs:width
170 int width, height, sizeimage; member
328 } else if (prev->vb.width == buf->vb.width && in restart_video_queue()
367 *size = fh->width * fh->height * fh->fmt->depth >> 3; in buffer_setup()
413 reg_val.dma_inc = buf->vb.width * 2; in buffer_activate()
417 reg_val.dma_inc = buf->vb.width * 4; in buffer_activate()
427 buf->vb.width; in buffer_activate()
455 if (fh->width < 48 || fh->width > norm_maxw() || in buffer_prepare()
458 buf->vb.size = (fh->width * fh->height * fh->fmt->depth) >> 3; in buffer_prepare()
463 buf->vb.width != fh->width || in buffer_prepare()
467 buf->vb.width = fh->width; in buffer_prepare()
477 buf->vb.width = fh->width; in buffer_prepare()
525 if (prev->vb.width == buf->vb.width && in buffer_queue()
593 f->fmt.pix.width = fh->width; in vidioc_g_fmt_cap()
598 (f->fmt.pix.width * fh->fmt->depth) >> 3; in vidioc_g_fmt_cap()
625 if (f->fmt.pix.width < 48) in vidioc_try_fmt_cap()
626 f->fmt.pix.width = 48; in vidioc_try_fmt_cap()
627 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_cap()
628 f->fmt.pix.width = maxw; in vidioc_try_fmt_cap()
629 f->fmt.pix.width &= ~0x03; in vidioc_try_fmt_cap()
631 (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt_cap()
649 fh->width = f->fmt.pix.width; in vidioc_s_fmt_cap()
675 if (win->w.width < 48 || win->w.height < 32) in verify_preview()
679 maxw = dev->crop_current.width; in verify_preview()
699 if (win->w.width > maxw) in verify_preview()
700 win->w.width = maxw; in verify_preview()
720 fh->win.w.width, fh->win.w.height); in viu_setup_preview()
726 fh->win.w.width; in viu_setup_preview()
733 reg_val.dma_inc = fh->win.w.width * 2; in viu_setup_preview()
737 reg_val.dma_inc = fh->win.w.width * 4; in viu_setup_preview()
836 dev->ovbuf.fmt.width * fmt->depth / 8; in vidioc_s_fbuf()
1208 fh->width = norm_maxw(); in viu_open()
1210 dev->crop_current.width = fh->width; in viu_open()