Lines Matching refs:width
210 int width, height, sizeimage; member
368 } else if (prev->vb.width == buf->vb.width && in restart_video_queue()
407 *size = fh->width * fh->height * fh->fmt->depth >> 3; in buffer_setup()
453 reg_val.dma_inc = buf->vb.width * 2; in buffer_activate()
457 reg_val.dma_inc = buf->vb.width * 4; in buffer_activate()
467 buf->vb.width; in buffer_activate()
495 if (fh->width < 48 || fh->width > norm_maxw() || in buffer_prepare()
498 buf->vb.size = (fh->width * fh->height * fh->fmt->depth) >> 3; in buffer_prepare()
503 buf->vb.width != fh->width || in buffer_prepare()
507 buf->vb.width = fh->width; in buffer_prepare()
517 buf->vb.width = fh->width; in buffer_prepare()
565 if (prev->vb.width == buf->vb.width && in buffer_queue()
633 f->fmt.pix.width = fh->width; in vidioc_g_fmt_cap()
638 (f->fmt.pix.width * fh->fmt->depth) >> 3; in vidioc_g_fmt_cap()
674 if (f->fmt.pix.width < 48) in vidioc_try_fmt_cap()
675 f->fmt.pix.width = 48; in vidioc_try_fmt_cap()
676 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_cap()
677 f->fmt.pix.width = maxw; in vidioc_try_fmt_cap()
678 f->fmt.pix.width &= ~0x03; in vidioc_try_fmt_cap()
680 (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt_cap()
696 fh->width = f->fmt.pix.width; in vidioc_s_fmt_cap()
723 if (win->w.width < 48 || win->w.height < 32) in verify_preview()
727 maxw = dev->crop_current.width; in verify_preview()
747 if (win->w.width > maxw) in verify_preview()
748 win->w.width = maxw; in verify_preview()
768 fh->win.w.width, fh->win.w.height, dev->ovfmt->name); in viu_setup_preview()
774 fh->win.w.width; in viu_setup_preview()
781 reg_val.dma_inc = fh->win.w.width * 2; in viu_setup_preview()
785 reg_val.dma_inc = fh->win.w.width * 4; in viu_setup_preview()
884 dev->ovbuf.fmt.width * fmt->depth / 8; in vidioc_s_fbuf()
1301 fh->width = norm_maxw(); in viu_open()
1303 dev->crop_current.width = fh->width; in viu_open()