Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/media/omap4iss/
Diss_video.c121 unsigned int min_bpl; in iss_video_mbus_to_pix() local
137 min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; in iss_video_mbus_to_pix()
145 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()
147 bpl = min_bpl; in iss_video_mbus_to_pix()
149 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()
162 return bpl - min_bpl; in iss_video_mbus_to_pix()
/linux-5.19.10/drivers/media/platform/ti/omap3isp/
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()
/linux-5.19.10/drivers/media/platform/xilinx/
Dxilinx-dma.c541 unsigned int min_bpl; in __xvip_dma_try_format() local
572 min_bpl = pix->width * info->bpp; in __xvip_dma_try_format()
576 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()
/linux-5.19.10/drivers/staging/media/tegra-video/
Dvi.c464 unsigned int min_bpl; in tegra_channel_fmt_align() local
480 min_bpl = pix->width * bpp; in tegra_channel_fmt_align()
484 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in tegra_channel_fmt_align()