Searched refs:max_bpl (Results 1 – 4 of 4) sorted by relevance
542 unsigned int max_bpl; in __xvip_dma_try_format() local573 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format()576 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()
357 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_out() local408 max_bpl = (MAX_ZOOM * MAX_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()
565 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_cap() local626 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()628 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap()629 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap()
465 unsigned int max_bpl; in tegra_channel_fmt_align() local481 max_bpl = rounddown(TEGRA_MAX_WIDTH, SURFACE_ALIGN_BYTES); in tegra_channel_fmt_align()484 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in tegra_channel_fmt_align()