Searched refs:max_bpl (Results 1 – 5 of 5) sorted by relevance
/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 526 unsigned int max_bpl; in __xvip_dma_try_format() local 557 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 560 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()
|
/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-regs.c | 187 u32 max_bpl = (pix_limit->wmax * fmt->row_depth[i]) >> 3; in mdp_try_fmt_mplane() local 193 bpl = clamp(bpl, min_bpl, max_bpl); in mdp_try_fmt_mplane() 205 ctx_id, i, bpl, min_bpl, max_bpl, si, min_si, max_si); in mdp_try_fmt_mplane()
|
/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 | 562 unsigned bytesperline, max_bpl; in vivid_try_fmt_vid_cap() local 623 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap() 625 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap() 626 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap()
|
/drivers/staging/media/tegra-video/ |
D | tegra210.c | 235 unsigned int max_bpl; in tegra210_fmt_align() local 251 max_bpl = rounddown(TEGRA210_MAX_WIDTH, SURFACE_ALIGN_BYTES); in tegra210_fmt_align() 254 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in tegra210_fmt_align()
|