Home
last modified time | relevance | path

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

/drivers/media/platform/xilinx/
Dxilinx-dma.c541 unsigned int max_bpl; in __xvip_dma_try_format() local
572 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format()
575 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c428 u32 max_bpl = (pix_limit->wmax * fmt->row_depth[i]) >> 3; in mdp_try_fmt_mplane() local
434 bpl = clamp(bpl, min_bpl, max_bpl); in mdp_try_fmt_mplane()
446 ctx_id, i, bpl, min_bpl, max_bpl, si, min_si, max_si); in mdp_try_fmt_mplane()
/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.c577 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_cap() local
638 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
640 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap()
641 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap()
/drivers/staging/media/tegra-video/
Dvi.c465 unsigned int max_bpl; in tegra_channel_fmt_align() local
481 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()