Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c842 struct v4l2_rect new_r; in mtk_mdp_m2m_s_selection() local
860 new_r = s->r; in mtk_mdp_m2m_s_selection()
861 ret = mtk_mdp_try_crop(ctx, s->type, &new_r); in mtk_mdp_m2m_s_selection()
872 ret = mtk_mdp_check_scaler_ratio(variant, new_r.width, in mtk_mdp_m2m_s_selection()
873 new_r.height, ctx->d_frame.crop.width, in mtk_mdp_m2m_s_selection()
879 ctx->s_frame.crop.height, new_r.width, in mtk_mdp_m2m_s_selection()
880 new_r.height, ctx->ctrls.rotate->val); in mtk_mdp_m2m_s_selection()
888 s->r = new_r; in mtk_mdp_m2m_s_selection()
889 frame->crop = new_r; in mtk_mdp_m2m_s_selection()