Lines Matching refs:user_format
101 struct v4l2_pix_format user_format; member
463 if (cam->user_format.width == VGA_WIDTH) in viacam_set_scale()
466 sf = (cam->user_format.width*2048)/VGA_WIDTH; in viacam_set_scale()
469 if (cam->user_format.height < VGA_HEIGHT) { in viacam_set_scale()
470 sf = (1024*cam->user_format.height)/VGA_HEIGHT; in viacam_set_scale()
504 cam->user_format.bytesperline & VCR_VS_STRIDE); in viacam_ctlr_image()
523 if (cam->user_format.pixelformat == V4L2_PIX_FMT_YUYV) in viacam_ctlr_image()
592 if (vb2_plane_size(vb, 0) < cam->user_format.sizeimage) { in viacam_vb2_prepare()
596 cam->user_format.sizeimage); in viacam_vb2_prepare()
600 vb2_set_plane_payload(vb, 0, cam->user_format.sizeimage); in viacam_vb2_prepare()
611 int size = cam->user_format.sizeimage; in viacam_vb2_queue_setup()
881 fmt->fmt.pix = cam->user_format; in viacam_g_fmt_vid_cap()
909 cam->user_format = fmt->fmt.pix; in viacam_s_fmt_vid_cap()
1187 cam->user_format = cam->sensor_format = viacam_def_pix_format; in viacam_probe()