Home
last modified time | relevance | path

Searched refs:max_bpl (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
Dxilinx-dma.c543 unsigned int max_bpl; in __xvip_dma_try_format() local
576 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()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-out.c357 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_out() local
408 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()
Dvivid-vid-cap.c559 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_cap() local
620 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()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dvi.c466 unsigned int max_bpl; in tegra_channel_fmt_align() local
482 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()