Searched refs:max_bpl (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 541 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()
|
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-regs.c | 427 u32 max_bpl = (pix_limit->wmax * fmt->row_depth[i]) >> 3; in mdp_try_fmt_mplane() local 432 bpl = clamp(bpl, min_bpl, max_bpl); in mdp_try_fmt_mplane() 444 ctx_id, i, bpl, min_bpl, max_bpl, si, min_si, max_si); in mdp_try_fmt_mplane()
|
/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-vid-out.c | 357 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()
|
D | vivid-vid-cap.c | 577 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()
|
/linux-6.1.9/drivers/staging/media/tegra-video/ |
D | vi.c | 465 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()
|