Searched refs:multiplanar (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/media/platform/vivid/
H A Dvivid-vid-cap.c757 if (!dev->multiplanar) vidioc_g_fmt_vid_cap_mplane()
767 if (!dev->multiplanar) vidioc_try_fmt_vid_cap_mplane()
777 if (!dev->multiplanar) vidioc_s_fmt_vid_cap_mplane()
787 if (dev->multiplanar) vidioc_g_fmt_vid_cap()
797 if (dev->multiplanar) vidioc_try_fmt_vid_cap()
807 if (dev->multiplanar) vidioc_s_fmt_vid_cap()
1025 if (dev->multiplanar) vidioc_enum_fmt_vid_overlay()
1046 if (dev->multiplanar) vidioc_g_fmt_vid_overlay()
1080 if (dev->multiplanar) vidioc_try_fmt_vid_overlay()
1170 if (dev->multiplanar) vivid_vid_cap_overlay()
1192 if (dev->multiplanar) vivid_vid_cap_g_fbuf()
1211 if (dev->multiplanar) vivid_vid_cap_s_fbuf()
1783 if (parm->type != (dev->multiplanar ? vivid_vid_cap_g_parm()
1805 if (parm->type != (dev->multiplanar ? vivid_vid_cap_s_parm()
H A Dvivid-vid-common.c477 /* There are 6 multiplanar formats in the list */
488 if (fmt->buffers == 1 || dev->multiplanar) vivid_get_format()
543 * single-plane multiplanar format.
748 (dev->multiplanar ? 0 : VIVID_MPLANAR_FORMATS)) vivid_enum_fmt_vid()
763 if (!dev->multiplanar) vidioc_enum_fmt_vid_mplane()
773 if (dev->multiplanar) vidioc_enum_fmt_vid()
H A Dvivid-core.c104 static unsigned multiplanar[VIVID_MAX_DEVS] = { [0 ... (VIVID_MAX_DEVS - 1)] = 1 }; variable
105 module_param_array(multiplanar, uint, NULL, 0444);
106 MODULE_PARM_DESC(multiplanar, " 1 (default) creates a single planar device, 2 creates a multiplanar device.");
676 dev->multiplanar = multiplanar[inst] > 1; vivid_create_instance()
678 dev->multiplanar ? "multi" : "single "); vivid_create_instance()
778 dev->vid_cap_caps = dev->multiplanar ? vivid_create_instance()
789 dev->vid_out_caps = dev->multiplanar ? vivid_create_instance()
943 if (!dev->multiplanar) vivid_create_instance()
1018 q->type = dev->multiplanar ? V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE : vivid_create_instance()
1037 q->type = dev->multiplanar ? V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE : vivid_create_instance()
H A Dvivid-vid-common.h27 * single-plane multiplanar format.
H A Dvivid-vid-out.c563 if (!dev->multiplanar) vidioc_g_fmt_vid_out_mplane()
573 if (!dev->multiplanar) vidioc_try_fmt_vid_out_mplane()
583 if (!dev->multiplanar) vidioc_s_fmt_vid_out_mplane()
593 if (dev->multiplanar) vidioc_g_fmt_vid_out()
603 if (dev->multiplanar) vidioc_try_fmt_vid_out()
613 if (dev->multiplanar) vidioc_s_fmt_vid_out()
1147 if (parm->type != (dev->multiplanar ? vivid_vid_out_g_parm()
H A Dvivid-core.h61 /* The data_offset of plane 0 for the multiplanar formats */
171 bool multiplanar; member in struct:vivid_dev
H A Dvivid-kthread-cap.c471 * The first plane of a multiplanar format has a non-zero vivid_fillbuff()
596 * Note that the combination of overlay and multiplanar is not supported.
/linux-4.1.27/include/uapi/linux/
H A Dvideodev2.h335 /* Is a video capture device that supports multiplanar formats */
337 /* Is a video output device that supports multiplanar formats */
339 /* Is a video mem-to-mem device that supports multiplanar formats */
733 * multiplanar buffers);
735 * unused (set to 0) for multiplanar buffers
743 * @offset: for non-multiplanar buffers with memory == V4L2_MEMORY_MMAP;
746 * @userptr: for non-multiplanar buffers with memory == V4L2_MEMORY_USERPTR;
748 * @fd: for non-multiplanar buffers with memory == V4L2_MEMORY_DMABUF;
750 * @planes: for multiplanar buffers; userspace pointer to the array of plane
819 * multiplanar buffers);
1857 * struct v4l2_pix_format_mplane - multiplanar format definition
1899 * @pix_mp: definition of a multiplanar image format
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-core.c361 /* Length stores number of planes for multiplanar buffers */ __vb2_queue_alloc()
3033 /* Compensate for data_offset on read in the multiplanar case. */ __vb2_perform_fileio()

Completed in 440 milliseconds