Lines Matching refs:bytesperline
305 u32 bytesperline; in video_mbus_to_pix_mp() local
312 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp()
314 bytesperline = ALIGN(bytesperline, alignment); in video_mbus_to_pix_mp()
315 pix->plane_fmt[i].bytesperline = bytesperline; in video_mbus_to_pix_mp()
318 bytesperline; in video_mbus_to_pix_mp()
427 format->plane_fmt[0].bytesperline * in video_buf_init()
688 u32 bytesperline[3] = { 0 }; in __video_try_fmt() local
699 bytesperline[i] = clamp_t(u32, p->bytesperline, in __video_try_fmt()
702 bytesperline[i], in __video_try_fmt()
703 bytesperline[i] * CAMSS_FRAME_MAX_HEIGHT_PIX); in __video_try_fmt()
727 pix_mp->plane_fmt[i].bytesperline = bpl; in __video_try_fmt()
743 p->bytesperline = clamp_t(u32, p->bytesperline, in __video_try_fmt()
746 p->bytesperline, in __video_try_fmt()
747 p->bytesperline * CAMSS_FRAME_MAX_HEIGHT_PIX); in __video_try_fmt()
748 lines = p->sizeimage / p->bytesperline; in __video_try_fmt()
750 if (p->bytesperline < bytesperline[i]) in __video_try_fmt()
751 p->bytesperline = ALIGN(bytesperline[i], 8); in __video_try_fmt()
753 if (p->sizeimage < p->bytesperline * lines) in __video_try_fmt()
754 p->sizeimage = p->bytesperline * lines; in __video_try_fmt()