Lines Matching refs:pix_fmt

61 	struct v4l2_pix_format pix_fmt;  member
187 (ctx->in.pix_fmt.bytesperline + 7) >> 3); in ge2d_hw_start()
191 (ctx->out.pix_fmt.bytesperline + 7) >> 3); in ge2d_hw_start()
195 (ctx->out.pix_fmt.bytesperline + 7) >> 3); in ge2d_hw_start()
236 FIELD_PREP(GE2D_END, ctx->in.pix_fmt.height - 1)); in ge2d_hw_start()
238 FIELD_PREP(GE2D_END, ctx->in.pix_fmt.width - 1)); in ge2d_hw_start()
240 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.height - 1)); in ge2d_hw_start()
242 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.width - 1)); in ge2d_hw_start()
244 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.height - 1)); in ge2d_hw_start()
246 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.width - 1)); in ge2d_hw_start()
331 return sizes[0] < f->pix_fmt.sizeimage ? -EINVAL : 0; in ge2d_queue_setup()
333 sizes[0] = f->pix_fmt.sizeimage; in ge2d_queue_setup()
347 vb2_set_plane_payload(vb, 0, f->pix_fmt.sizeimage); in ge2d_buf_prepare()
497 s->r.width = f->pix_fmt.width; in vidioc_g_selection()
498 s->r.height = f->pix_fmt.height; in vidioc_g_selection()
549 if (s->r.left + s->r.width > f->pix_fmt.width || in vidioc_s_selection()
550 s->r.top + s->r.height > f->pix_fmt.height) { in vidioc_s_selection()
564 *f = frm_out->pix_fmt; in vidioc_setup_cap_fmt()
567 f->width = frm_out->pix_fmt.height; in vidioc_setup_cap_fmt()
568 f->height = frm_out->pix_fmt.width; in vidioc_setup_cap_fmt()
616 frm->pix_fmt = f->fmt.pix; 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()
641 f->fmt.pix = frm->pix_fmt; in vidioc_g_fmt()
692 frm->pix_fmt = f->fmt.pix; 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()
703 vidioc_setup_cap_fmt(ctx, &frm_cap->pix_fmt); in vidioc_s_fmt_out()
782 ctx->out.pix_fmt = fmt; in ge2d_s_ctrl()
821 .pix_fmt = {