Home
last modified time | relevance | path

Searched refs:new_h (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c267 static void mtk_mdp_check_crop_change(u32 new_w, u32 new_h, u32 *w, u32 *h) in mtk_mdp_check_crop_change() argument
269 if (new_w != *w || new_h != *h) { in mtk_mdp_check_crop_change()
271 *w, *h, new_w, new_h); in mtk_mdp_check_crop_change()
274 *h = new_h; in mtk_mdp_check_crop_change()
284 u32 align_w, align_h, new_w, new_h; in mtk_mdp_try_crop() local
300 new_h = r->height; in mtk_mdp_try_crop()
317 new_h = r->width; in mtk_mdp_try_crop()
325 align_w, align_h, min_w, min_h, new_w, new_h); in mtk_mdp_try_crop()
328 &new_h, min_h, max_h, align_h); in mtk_mdp_try_crop()
333 mtk_mdp_check_crop_change(new_h, new_w, in mtk_mdp_try_crop()
[all …]