Searched refs:max_bpl (Results 1 – 4 of 4) sorted by relevance
543 unsigned int max_bpl; in __xvip_dma_try_format() local576 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format()579 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()
559 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_cap() local620 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()622 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap()623 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap()
466 unsigned int max_bpl; in tegra_channel_fmt_align() local482 max_bpl = rounddown(TEGRA_MAX_WIDTH, SURFACE_ALIGN_BYTES); in tegra_channel_fmt_align()485 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in tegra_channel_fmt_align()