Lines Matching refs:bytesperline
335 mp->plane_fmt[p].bytesperline = dev->bytesperline_out[p]; in vivid_g_fmt_vid_out()
337 mp->plane_fmt[p].bytesperline * mp->height + in vivid_g_fmt_vid_out()
357 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_out() local
406 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
410 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_out()
411 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_out()
412 if (pfmt[p].bytesperline < bytesperline) in vivid_try_fmt_vid_out()
413 pfmt[p].bytesperline = bytesperline; in vivid_try_fmt_vid_out()
415 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) / in vivid_try_fmt_vid_out()
421 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height * in vivid_try_fmt_vid_out()
554 dev->bytesperline_out[p] = mp->plane_fmt[p].bytesperline; in vivid_s_fmt_vid_out()
993 a->fmt.bytesperline = dev->display_byte_stride; in vivid_vid_out_g_fbuf()
994 a->fmt.sizeimage = a->fmt.height * a->fmt.bytesperline; in vivid_vid_out_g_fbuf()