Searched refs:fmt_info (Results 1 – 4 of 4) sorted by relevance
170 const struct drm_format_info *fmt_info = drm_format_info(cfg->fmt); in mtk_mdp_rdma_config() local171 bool csc_enable = fmt_info->is_yuv ? true : false; in mtk_mdp_rdma_config()182 if (!csc_enable && fmt_info->has_alpha) in mtk_mdp_rdma_config()208 offset_y = cfg->x_left * fmt_info->cpp[0] + cfg->y_top * src_pitch_y; in mtk_mdp_rdma_config()
230 const struct gb_camera_fmt_info *fmt_info; in gb_camera_get_max_pkt_size() local233 fmt_info = gb_camera_get_format_info(cfg->format); in gb_camera_get_max_pkt_size()234 if (!fmt_info) { in gb_camera_get_max_pkt_size()240 if (fmt_info->bpp == 0) { in gb_camera_get_max_pkt_size()250 pkt_size = le16_to_cpu(cfg->width) * fmt_info->bpp / 8; in gb_camera_get_max_pkt_size()
1120 const struct isp_format_info *fmt_info; in ccdc_configure() local1155 fmt_info = omap3isp_video_format_info(fmt_src.format.code); in ccdc_configure()1156 depth_in = fmt_info->width; in ccdc_configure()1159 fmt_info = omap3isp_video_format_info(format->code); in ccdc_configure()1160 depth_out = fmt_info->width; in ccdc_configure()1165 else if (fmt_info->code == MEDIA_BUS_FMT_YUYV8_2X8) in ccdc_configure()1167 else if (fmt_info->code == MEDIA_BUS_FMT_UYVY8_2X8) in ccdc_configure()
1129 const struct v4l2_format_info **fmt_info) in rkisp1_try_fmt() argument1159 if (fmt_info) in rkisp1_try_fmt()1160 *fmt_info = info; in rkisp1_try_fmt()