Searched refs:min_bpl (Results 1 – 3 of 3) sorted by relevance
125 unsigned int min_bpl; in iss_video_mbus_to_pix() local141 min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; in iss_video_mbus_to_pix()149 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()151 bpl = min_bpl; in iss_video_mbus_to_pix()153 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()166 return bpl - min_bpl; in iss_video_mbus_to_pix()
148 unsigned int min_bpl; in isp_video_mbus_to_pix() local163 min_bpl = pix->width * formats[i].bpp; in isp_video_mbus_to_pix()170 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()172 bpl = min_bpl; in isp_video_mbus_to_pix()174 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()183 return bpl - min_bpl; in isp_video_mbus_to_pix()
554 unsigned int min_bpl; in __xvip_dma_try_format() local587 min_bpl = pix->width * info->bpp; in __xvip_dma_try_format()591 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()