Searched refs:max_bpl (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/media/platform/mediatek/mdp3/ |
H A 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()
|
/linux/drivers/staging/media/tegra-video/ |
H A 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()
|