Lines Matching refs:bytesperline
307 u32 bytesperline; in video_mbus_to_pix_mp() local
314 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp()
316 bytesperline = ALIGN(bytesperline, alignment); in video_mbus_to_pix_mp()
317 pix->plane_fmt[i].bytesperline = bytesperline; in video_mbus_to_pix_mp()
320 bytesperline; in video_mbus_to_pix_mp()
429 format->plane_fmt[0].bytesperline * in video_buf_init()
687 u32 bytesperline[3] = { 0 }; in __video_try_fmt() local
698 bytesperline[i] = clamp_t(u32, p->bytesperline, in __video_try_fmt()
701 bytesperline[i], in __video_try_fmt()
702 bytesperline[i] * CAMSS_FRAME_MAX_HEIGHT_PIX); in __video_try_fmt()
726 pix_mp->plane_fmt[i].bytesperline = bpl; in __video_try_fmt()
742 p->bytesperline = clamp_t(u32, p->bytesperline, in __video_try_fmt()
745 p->bytesperline, in __video_try_fmt()
746 p->bytesperline * CAMSS_FRAME_MAX_HEIGHT_PIX); in __video_try_fmt()
747 lines = p->sizeimage / p->bytesperline; in __video_try_fmt()
749 if (p->bytesperline < bytesperline[i]) in __video_try_fmt()
750 p->bytesperline = ALIGN(bytesperline[i], 8); in __video_try_fmt()
752 if (p->sizeimage < p->bytesperline * lines) in __video_try_fmt()
753 p->sizeimage = p->bytesperline * lines; in __video_try_fmt()