Lines Matching refs:max_h
180 u32 max_w, max_h, align_w, align_h; in mtk_mdp_try_fmt_mplane() local
205 max_h = variant->pix_max->target_rot_dis_h; in mtk_mdp_try_fmt_mplane()
226 align_w, align_h, max_w, max_h); in mtk_mdp_try_fmt_mplane()
235 &pix_mp->height, min_h, max_h, align_h); in mtk_mdp_try_fmt_mplane()
285 u32 min_w, min_h, max_w, max_h; in mtk_mdp_try_crop() local
298 max_h = frame->height; in mtk_mdp_try_crop()
313 max_h = frame->width; in mtk_mdp_try_crop()
328 &new_h, min_h, max_h, align_h); in mtk_mdp_try_crop()
343 if (r->top + new_h > max_h) in mtk_mdp_try_crop()
344 r->top = max_h - new_h; in mtk_mdp_try_crop()
351 r->height, max_w, max_h); in mtk_mdp_try_crop()