Lines Matching refs:cr
490 struct v4l2_crop cr; in gsc_m2m_s_selection() local
494 cr.type = s->type; in gsc_m2m_s_selection()
495 cr.c = s->r; in gsc_m2m_s_selection()
501 ret = gsc_try_crop(ctx, &cr); in gsc_m2m_s_selection()
506 !is_rectangle_enclosed(&cr.c, &s->r)) in gsc_m2m_s_selection()
510 !is_rectangle_enclosed(&s->r, &cr.c)) in gsc_m2m_s_selection()
513 s->r = cr.c; in gsc_m2m_s_selection()
535 ret = gsc_check_scaler_ratio(variant, cr.c.width, in gsc_m2m_s_selection()
536 cr.c.height, ctx->d_frame.crop.width, in gsc_m2m_s_selection()
542 ctx->s_frame.crop.height, cr.c.width, in gsc_m2m_s_selection()
543 cr.c.height, ctx->gsc_ctrls.rotate->val, in gsc_m2m_s_selection()
553 frame->crop = cr.c; in gsc_m2m_s_selection()