Lines Matching refs:crop
64 struct v4l2_rect crop; member
217 FIELD_PREP(GE2D_START, ctx->in.crop.top) | in ge2d_hw_start()
218 FIELD_PREP(GE2D_END, ctx->in.crop.top + ctx->in.crop.height)); in ge2d_hw_start()
220 FIELD_PREP(GE2D_START, ctx->in.crop.left) | in ge2d_hw_start()
221 FIELD_PREP(GE2D_END, ctx->in.crop.left + ctx->in.crop.width)); in ge2d_hw_start()
223 FIELD_PREP(GE2D_START, ctx->out.crop.top) | in ge2d_hw_start()
224 FIELD_PREP(GE2D_END, ctx->out.crop.top + ctx->out.crop.height)); in ge2d_hw_start()
226 FIELD_PREP(GE2D_START, ctx->out.crop.left) | in ge2d_hw_start()
227 FIELD_PREP(GE2D_END, ctx->out.crop.left + ctx->out.crop.width)); in ge2d_hw_start()
229 FIELD_PREP(GE2D_START, ctx->out.crop.top) | in ge2d_hw_start()
230 FIELD_PREP(GE2D_END, ctx->out.crop.top + ctx->out.crop.height)); in ge2d_hw_start()
232 FIELD_PREP(GE2D_START, ctx->out.crop.left) | in ge2d_hw_start()
233 FIELD_PREP(GE2D_END, ctx->out.crop.left + ctx->out.crop.width)); in ge2d_hw_start()
493 s->r = f->crop; in vidioc_g_selection()
555 f->crop = s->r; in vidioc_s_selection()
621 frm->crop.left = 0; in vidioc_s_fmt_cap()
622 frm->crop.top = 0; in vidioc_s_fmt_cap()
623 frm->crop.width = frm->pix_fmt.width; in vidioc_s_fmt_cap()
624 frm->crop.height = frm->pix_fmt.height; in vidioc_s_fmt_cap()
697 frm->crop.left = 0; in vidioc_s_fmt_out()
698 frm->crop.top = 0; in vidioc_s_fmt_out()
699 frm->crop.width = frm->pix_fmt.width; in vidioc_s_fmt_out()
700 frm->crop.height = frm->pix_fmt.height; in vidioc_s_fmt_out()
828 .crop.width = DEFAULT_WIDTH,
829 .crop.height = DEFAULT_HEIGHT,