Lines Matching refs:crop
64 struct v4l2_rect crop;
217 FIELD_PREP(GE2D_START, ctx->in.crop.top) |
218 FIELD_PREP(GE2D_END, ctx->in.crop.top + ctx->in.crop.height - 1));
220 FIELD_PREP(GE2D_START, ctx->in.crop.left) |
221 FIELD_PREP(GE2D_END, ctx->in.crop.left + ctx->in.crop.width - 1));
223 FIELD_PREP(GE2D_START, ctx->out.crop.top) |
224 FIELD_PREP(GE2D_END, ctx->out.crop.top + ctx->out.crop.height - 1));
226 FIELD_PREP(GE2D_START, ctx->out.crop.left) |
227 FIELD_PREP(GE2D_END, ctx->out.crop.left + ctx->out.crop.width - 1));
229 FIELD_PREP(GE2D_START, ctx->out.crop.top) |
230 FIELD_PREP(GE2D_END, ctx->out.crop.top + ctx->out.crop.height - 1));
232 FIELD_PREP(GE2D_START, ctx->out.crop.left) |
233 FIELD_PREP(GE2D_END, ctx->out.crop.left + ctx->out.crop.width - 1));
493 s->r = f->crop;
536 * bound and default crop/compose targets are invalid targets to
555 f->crop = s->r;
620 /* Reset crop settings */
621 frm->crop.left = 0;
622 frm->crop.top = 0;
623 frm->crop.width = frm->pix_fmt.width;
624 frm->crop.height = frm->pix_fmt.height;
696 /* Reset crop settings */
697 frm->crop.left = 0;
698 frm->crop.top = 0;
699 frm->crop.width = frm->pix_fmt.width;
700 frm->crop.height = frm->pix_fmt.height;
828 .crop.width = DEFAULT_WIDTH,
829 .crop.height = DEFAULT_HEIGHT,