Home
last modified time | relevance | path

Searched refs:user_format (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/media/platform/via/
Dvia-camera.c101 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()
[all …]