Lines Matching refs:cr
489 struct v4l2_crop cr; in gsc_m2m_s_selection() local
493 cr.type = s->type; in gsc_m2m_s_selection()
494 cr.c = s->r; in gsc_m2m_s_selection()
500 ret = gsc_try_crop(ctx, &cr); in gsc_m2m_s_selection()
505 !is_rectangle_enclosed(&cr.c, &s->r)) in gsc_m2m_s_selection()
509 !is_rectangle_enclosed(&s->r, &cr.c)) in gsc_m2m_s_selection()
512 s->r = cr.c; in gsc_m2m_s_selection()
534 ret = gsc_check_scaler_ratio(variant, cr.c.width, in gsc_m2m_s_selection()
535 cr.c.height, ctx->d_frame.crop.width, in gsc_m2m_s_selection()
541 ctx->s_frame.crop.height, cr.c.width, in gsc_m2m_s_selection()
542 cr.c.height, ctx->gsc_ctrls.rotate->val, in gsc_m2m_s_selection()
552 frame->crop = cr.c; in gsc_m2m_s_selection()