Searched refs:pix_format (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 893 struct v4l2_pix_format *pix_format = &f->fmt.pix; in stk_vidioc_g_fmt_vid_cap() local 904 pix_format->width = stk_sizes[i].w; in stk_vidioc_g_fmt_vid_cap() 905 pix_format->height = stk_sizes[i].h; in stk_vidioc_g_fmt_vid_cap() 906 pix_format->field = V4L2_FIELD_NONE; in stk_vidioc_g_fmt_vid_cap() 907 pix_format->colorspace = V4L2_COLORSPACE_SRGB; in stk_vidioc_g_fmt_vid_cap() 908 pix_format->pixelformat = dev->vsettings.palette; in stk_vidioc_g_fmt_vid_cap() 910 pix_format->bytesperline = pix_format->width; in stk_vidioc_g_fmt_vid_cap() 912 pix_format->bytesperline = 2 * pix_format->width; in stk_vidioc_g_fmt_vid_cap() 913 pix_format->sizeimage = pix_format->bytesperline in stk_vidioc_g_fmt_vid_cap() 914 * pix_format->height; in stk_vidioc_g_fmt_vid_cap()
|
/Linux-v5.4/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 212 vbuf->vb2_buf.planes[0].bytesused = cam->pix_format.sizeimage; in mcam_buffer_done() 216 vb2_set_plane_payload(&vbuf->vb2_buf, 0, cam->pix_format.sizeimage); in mcam_buffer_done() 326 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_write_yuv_bases() 370 cam->dma_buf_size = cam->pix_format.sizeimage; in mcam_alloc_dma_bufs() 473 cam->pix_format.sizeimage); in mcam_frame_tasklet() 486 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage) in mcam_check_dma_buffers() 722 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_ctlr_image() 1035 v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code); in mcam_cam_configure() 1099 unsigned size = cam->pix_format.sizeimage; in mcam_vb_queue_setup() 1239 int ndesc = cam->pix_format.sizeimage/PAGE_SIZE + 1; in mcam_vb_sg_buf_init() [all …]
|
D | mcam-core.h | 184 struct v4l2_pix_format pix_format; member
|
/Linux-v5.4/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 376 int pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() local 390 pix_format = PIXEL_FRMT_411; in vidioc_s_fmt_vid_cap() 392 pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() 394 cx25821_set_pixel_format(dev, SRAM_CH00, pix_format); in vidioc_s_fmt_vid_cap()
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 927 uint32_t pix_format; in mdp5_plane_mode_set() local 944 pix_format = format->base.pixel_format; in mdp5_plane_mode_set() 981 ret = calc_scalex_steps(plane, pix_format, src_w, crtc_w, step.x); in mdp5_plane_mode_set() 985 ret = calc_scaley_steps(plane, pix_format, src_h, crtc_h, step.y); in mdp5_plane_mode_set()
|
/Linux-v5.4/drivers/media/platform/davinci/ |
D | vpfe_capture.c | 151 static const struct vpfe_pixel_format *vpfe_lookup_pix_format(u32 pix_format) in vpfe_lookup_pix_format() argument 156 if (pix_format == vpfe_pix_fmts[i].pixelformat) in vpfe_lookup_pix_format()
|