Searched refs:pix_format (Results 1 – 7 of 7) sorted by relevance
/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 225 vbuf->vb2_buf.planes[0].bytesused = cam->pix_format.sizeimage; in mcam_buffer_done() 229 vb2_set_plane_payload(&vbuf->vb2_buf, 0, cam->pix_format.sizeimage); in mcam_buffer_done() 340 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_write_yuv_bases() 384 cam->dma_buf_size = cam->pix_format.sizeimage; in mcam_alloc_dma_bufs() 486 cam->pix_format.sizeimage); in mcam_frame_tasklet() 499 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage) in mcam_check_dma_buffers() 735 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_ctlr_image() 988 v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code); in mcam_cam_configure() 1061 if (fmt && fmt->fmt.pix.sizeimage < cam->pix_format.sizeimage) in mcam_vb_queue_setup() 1063 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : cam->pix_format.sizeimage; in mcam_vb_queue_setup() [all …]
|
D | mcam-core.h | 187 struct v4l2_pix_format pix_format; member
|
/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 901 struct v4l2_pix_format *pix_format = &f->fmt.pix; in stk_vidioc_g_fmt_vid_cap() local 912 pix_format->width = stk_sizes[i].w; in stk_vidioc_g_fmt_vid_cap() 913 pix_format->height = stk_sizes[i].h; in stk_vidioc_g_fmt_vid_cap() 914 pix_format->field = V4L2_FIELD_NONE; in stk_vidioc_g_fmt_vid_cap() 915 pix_format->colorspace = V4L2_COLORSPACE_SRGB; in stk_vidioc_g_fmt_vid_cap() 916 pix_format->pixelformat = dev->vsettings.palette; in stk_vidioc_g_fmt_vid_cap() 918 pix_format->bytesperline = pix_format->width; in stk_vidioc_g_fmt_vid_cap() 920 pix_format->bytesperline = 2 * pix_format->width; in stk_vidioc_g_fmt_vid_cap() 921 pix_format->sizeimage = pix_format->bytesperline in stk_vidioc_g_fmt_vid_cap() 922 * pix_format->height; in stk_vidioc_g_fmt_vid_cap()
|
/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 396 int pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() local 410 pix_format = PIXEL_FRMT_411; in vidioc_s_fmt_vid_cap() 412 pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() 414 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 | 683 uint32_t pix_format; in mdp5_plane_mode_set() local 695 pix_format = format->base.pixel_format; in mdp5_plane_mode_set() 724 ret = calc_scalex_steps(plane, pix_format, src_w, crtc_w, phasex_step); in mdp5_plane_mode_set() 728 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()
|