Searched refs:fmt_info (Results 1 – 5 of 5) sorted by relevance
183 const struct drm_format_info *fmt_info = drm_format_info(cfg->fmt); in mtk_mdp_rdma_config() local184 bool csc_enable = fmt_info->is_yuv ? true : false; in mtk_mdp_rdma_config()195 if (!csc_enable && fmt_info->has_alpha) in mtk_mdp_rdma_config()221 offset_y = cfg->x_left * fmt_info->cpp[0] + cfg->y_top * src_pitch_y; in mtk_mdp_rdma_config()
97 const struct drm_format_info *fmt_info = drm_format_info(pending->format); in mtk_ovl_adaptor_layer_config() local106 &pending->addr, (pending->pitch / fmt_info->cpp[0]), in mtk_ovl_adaptor_layer_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() local1161 fmt_info = omap3isp_video_format_info(fmt_src.format.code); in ccdc_configure()1162 depth_in = fmt_info->width; in ccdc_configure()1165 fmt_info = omap3isp_video_format_info(format->code); in ccdc_configure()1166 depth_out = fmt_info->width; in ccdc_configure()1171 else if (fmt_info->code == MEDIA_BUS_FMT_YUYV8_2X8) in ccdc_configure()1173 else if (fmt_info->code == MEDIA_BUS_FMT_UYVY8_2X8) in ccdc_configure()
1154 const struct v4l2_format_info **fmt_info) in rkisp1_try_fmt() argument1186 if (fmt_info) in rkisp1_try_fmt()1187 *fmt_info = info; in rkisp1_try_fmt()