Lines Matching refs:vou_fmt
149 static struct sh_vou_fmt vou_fmt[] = { variable
243 int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_queue_setup()
258 unsigned bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_buf_prepare()
387 if (fmt->index >= ARRAY_SIZE(vou_fmt)) in sh_vou_enum_fmt_vid_out()
392 fmt->pixelformat = vou_fmt[fmt->index].pfmt; in sh_vou_enum_fmt_vid_out()
420 struct sh_vou_fmt *fmt = vou_fmt + pix_idx; in sh_vou_configure_geometry()
665 for (pix_idx = 0; pix_idx < ARRAY_SIZE(vou_fmt); pix_idx++) in sh_vou_try_fmt_vid_out()
666 if (vou_fmt[pix_idx].pfmt == pix->pixelformat) in sh_vou_try_fmt_vid_out()
669 if (pix_idx == ARRAY_SIZE(vou_fmt)) in sh_vou_try_fmt_vid_out()
681 pix->bytesperline = pix->width * vou_fmt[pix_idx].bpl; in sh_vou_try_fmt_vid_out()
682 pix->sizeimage = pix->height * ((pix->width * vou_fmt[pix_idx].bpp) >> 3); in sh_vou_try_fmt_vid_out()
706 for (pix_idx = 0; pix_idx < ARRAY_SIZE(vou_fmt); pix_idx++) in sh_vou_set_fmt_vid_out()
707 if (vou_fmt[pix_idx].pfmt == pix->pixelformat) in sh_vou_set_fmt_vid_out()
848 vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpl; in sh_vou_s_std()
850 ((vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpp) >> 3); in sh_vou_s_std()