Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_video.c119 unsigned int min_bpl; in iss_video_mbus_to_pix() local
135 min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; in iss_video_mbus_to_pix()
143 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()
145 bpl = min_bpl; in iss_video_mbus_to_pix()
147 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()
160 return bpl - min_bpl; in iss_video_mbus_to_pix()
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c144 unsigned int min_bpl; in isp_video_mbus_to_pix() local
159 min_bpl = pix->width * formats[i].bpp; in isp_video_mbus_to_pix()
166 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()
168 bpl = min_bpl; in isp_video_mbus_to_pix()
170 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()
179 return bpl - min_bpl; in isp_video_mbus_to_pix()
/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-dma.c525 unsigned int min_bpl; in __xvip_dma_try_format() local
556 min_bpl = pix->width * info->bpp; in __xvip_dma_try_format()
560 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.c186 u32 min_bpl = (pix_mp->width * 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()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dtegra210.c234 unsigned int min_bpl; in tegra210_fmt_align() local
250 min_bpl = pix->width * bpp; in tegra210_fmt_align()
254 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in tegra210_fmt_align()