Lines Matching full:mdp
116 int mdp_enum_fmt_mplane(struct mdp_dev *mdp, struct v4l2_fmtdesc *f) in mdp_enum_fmt_mplane() argument
120 fmt = mdp_find_fmt_by_index(mdp->mdp_data, f->index, f->type); in mdp_enum_fmt_mplane()
128 const struct mdp_format *mdp_try_fmt_mplane(struct mdp_dev *mdp, in mdp_try_fmt_mplane() argument
141 fmt = mdp_find_fmt(mdp->mdp_data, pix_mp->pixelformat, f->type); in mdp_try_fmt_mplane()
143 fmt = mdp_find_fmt_by_index(mdp->mdp_data, 0, f->type); in mdp_try_fmt_mplane()
307 bool mdp_check_pp_enable(struct mdp_dev *mdp, struct mdp_frame *frame) in mdp_check_pp_enable() argument
311 if (!mdp || !frame) in mdp_check_pp_enable()
314 if (!mdp->mdp_data->pp_criteria) in mdp_check_pp_enable()
317 s = mdp->mdp_data->pp_criteria->width * in mdp_check_pp_enable()
318 mdp->mdp_data->pp_criteria->height; in mdp_check_pp_enable()
325 /* Stride that is accepted by MDP HW */
344 /* Stride that is accepted by MDP HW of format with contiguous planes */
362 /* Plane size that is accepted by MDP HW */
481 int mdp_frameparam_init(struct mdp_dev *mdp, struct mdp_frameparam *param) in mdp_frameparam_init() argument
489 param->limit = mdp->mdp_data->def_limit; in mdp_frameparam_init()
494 frame->mdp_fmt = mdp_try_fmt_mplane(mdp, &frame->format, param, 0); in mdp_frameparam_init()
503 frame->mdp_fmt = mdp_try_fmt_mplane(mdp, &frame->format, param, 0); in mdp_frameparam_init()