Searched refs:pix_format (Results 1 – 7 of 7) sorted by relevance
/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 907 struct v4l2_pix_format *pix_format = &f->fmt.pix; in stk_vidioc_g_fmt_vid_cap() local 918 pix_format->width = stk_sizes[i].w; in stk_vidioc_g_fmt_vid_cap() 919 pix_format->height = stk_sizes[i].h; in stk_vidioc_g_fmt_vid_cap() 920 pix_format->field = V4L2_FIELD_NONE; in stk_vidioc_g_fmt_vid_cap() 921 pix_format->colorspace = V4L2_COLORSPACE_SRGB; in stk_vidioc_g_fmt_vid_cap() 922 pix_format->pixelformat = dev->vsettings.palette; in stk_vidioc_g_fmt_vid_cap() 924 pix_format->bytesperline = pix_format->width; in stk_vidioc_g_fmt_vid_cap() 926 pix_format->bytesperline = 2 * pix_format->width; in stk_vidioc_g_fmt_vid_cap() 927 pix_format->sizeimage = pix_format->bytesperline in stk_vidioc_g_fmt_vid_cap() 928 * pix_format->height; in stk_vidioc_g_fmt_vid_cap()
|
/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 226 vbuf->vb2_buf.planes[0].bytesused = cam->pix_format.sizeimage; in mcam_buffer_done() 230 vb2_set_plane_payload(&vbuf->vb2_buf, 0, cam->pix_format.sizeimage); in mcam_buffer_done() 341 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_write_yuv_bases() 385 cam->dma_buf_size = cam->pix_format.sizeimage; in mcam_alloc_dma_bufs() 487 cam->pix_format.sizeimage); in mcam_frame_tasklet() 500 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage) in mcam_check_dma_buffers() 734 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_ctlr_image() 987 v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code); in mcam_cam_configure() 1058 unsigned size = cam->pix_format.sizeimage; in mcam_vb_queue_setup() 1204 int ndesc = cam->pix_format.sizeimage/PAGE_SIZE + 1; in mcam_vb_sg_buf_init() [all …]
|
D | mcam-core.h | 185 struct v4l2_pix_format pix_format; member
|
/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 394 int pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() local 408 pix_format = PIXEL_FRMT_411; in vidioc_s_fmt_vid_cap() 410 pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() 412 cx25821_set_pixel_format(dev, SRAM_CH00, pix_format); in vidioc_s_fmt_vid_cap()
|
D | cx25821-video-upstream.c | 518 int pix_format) in cx25821_set_pixelengine() argument 528 value = ((pix_format & 0x3) << 12) | (vip_mode & 0x7); in cx25821_set_pixelengine()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 681 uint32_t pix_format; in mdp5_plane_mode_set() local 693 pix_format = format->base.pixel_format; in mdp5_plane_mode_set() 722 ret = calc_scalex_steps(plane, pix_format, src_w, crtc_w, phasex_step); in mdp5_plane_mode_set() 726 ret = calc_scaley_steps(plane, pix_format, src_h, crtc_h, phasey_step); in mdp5_plane_mode_set()
|
/drivers/media/platform/davinci/ |
D | vpfe_capture.c | 195 static const struct vpfe_pixel_format *vpfe_lookup_pix_format(u32 pix_format) in vpfe_lookup_pix_format() argument 200 if (pix_format == vpfe_pix_fmts[i].fmtdesc.pixelformat) in vpfe_lookup_pix_format()
|