Home
last modified time | relevance | path

Searched refs:calc_bpl (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/common/saa7146/
H A Dsaa7146_video.c365 int calc_bpl; in vidioc_try_fmt_vid_cap() local
404 calc_bpl = (f->fmt.pix.width * fmt->depth) / 8; in vidioc_try_fmt_vid_cap()
406 if (f->fmt.pix.bytesperline < calc_bpl) in vidioc_try_fmt_vid_cap()
407 f->fmt.pix.bytesperline = calc_bpl; in vidioc_try_fmt_vid_cap()
410 f->fmt.pix.bytesperline = calc_bpl; in vidioc_try_fmt_vid_cap()