1
linux/Documentation/DocBook/v4l
Laurent Pinchart 1651333b09 [media] media: Entities, pads and links enumeration
Create the following two ioctls and implement them at the media device
level to enumerate entities, pads and links.

- MEDIA_IOC_ENUM_ENTITIES: Enumerate entities and their properties
- MEDIA_IOC_ENUM_LINKS: Enumerate all pads and links for a given entity

Entity IDs can be non-contiguous. Userspace applications should
enumerate entities using the MEDIA_ENT_ID_FLAG_NEXT flag. When the flag
is set in the entity ID, the MEDIA_IOC_ENUM_ENTITIES will return the
next entity with an ID bigger than the requested one.

Only forward links that originate at one of the entity's source pads are
returned during the enumeration process.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-22 04:53:14 -03:00
..
.gitignore V4L/DVB (12915): DocBook/media: Add isdb-t documentation 2009-09-19 00:14:36 -03:00
biblio.xml
capture.c.xml
common.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
compat.xml [media] DocBook: Document the removal of the old VIDIOC_*_OLD ioctls 2011-03-21 20:32:38 -03:00
controls.xml V4L/DVB: V4L Doc: correct the documentation for VIDIOC_QUERYMENU 2010-10-21 01:05:56 -02:00
crop.gif
crop.pdf
dev-capture.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
dev-codec.xml
dev-effect.xml
dev-event.xml V4L/DVB: V4L: Events: Add documentation 2010-05-19 12:58:07 -03:00
dev-osd.xml
dev-output.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
dev-overlay.xml
dev-radio.xml
dev-raw-vbi.xml
dev-rds.xml [media] DocBook/v4l: fix validation error in dev-rds.xml 2011-01-19 11:46:16 -02:00
dev-sliced-vbi.xml
dev-teletext.xml V4L/DVB: Documentation: update now that the vtx/videotext API has been removed 2010-10-21 01:05:48 -02:00
driver.xml
fdl-appendix.xml Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
fieldseq_bt.gif
fieldseq_bt.pdf
fieldseq_tb.gif
fieldseq_tb.pdf
func-close.xml
func-ioctl.xml [media] Fix videodev.h references at the V4L DocBook 2010-12-29 08:17:12 -02:00
func-mmap.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
func-munmap.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
func-open.xml
func-poll.xml
func-read.xml
func-select.xml
func-write.xml
io.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
keytable.c.xml
libv4l.xml
lirc_device_interface.xml V4L/DVB: IR: extend interfaces to support more device settings 2010-08-08 23:43:00 -03:00
media-controller.xml [media] media: Entities, pads and links enumeration 2011-03-22 04:53:14 -03:00
media-func-close.xml [media] media: Media device information query 2011-03-22 04:53:13 -03:00
media-func-ioctl.xml [media] media: Media device information query 2011-03-22 04:53:13 -03:00
media-func-open.xml [media] media: Media device information query 2011-03-22 04:53:13 -03:00
media-ioc-device-info.xml [media] media: Entities, pads and links enumeration 2011-03-22 04:53:14 -03:00
media-ioc-enum-entities.xml [media] media: Entities, pads and links enumeration 2011-03-22 04:53:14 -03:00
media-ioc-enum-links.xml [media] media: Entities, pads and links enumeration 2011-03-22 04:53:14 -03:00
pixfmt-grey.xml
pixfmt-nv12.xml
pixfmt-nv12m.xml [media] v4l: Add DocBook documentation for YU12M, NV12M image formats 2011-03-21 20:31:35 -03:00
pixfmt-nv16.xml
pixfmt-packed-rgb.xml V4L/DVB: V4L Doc: removed duplicate link 2010-10-21 01:05:57 -02:00
pixfmt-packed-yuv.xml
pixfmt-sbggr8.xml
pixfmt-sbggr16.xml
pixfmt-sgbrg8.xml
pixfmt-sgrbg8.xml
pixfmt-srggb8.xml [media] v4l: document new Bayer and monochrome pixel formats 2010-10-23 09:16:08 -02:00
pixfmt-srggb10.xml [media] v4l: document new Bayer and monochrome pixel formats 2010-10-23 09:16:08 -02:00
pixfmt-uyvy.xml
pixfmt-vyuy.xml
pixfmt-y10.xml [media] v4l: document new Bayer and monochrome pixel formats 2010-10-23 09:16:08 -02:00
pixfmt-y16.xml
pixfmt-y41p.xml
pixfmt-yuv410.xml
pixfmt-yuv411p.xml
pixfmt-yuv420.xml
pixfmt-yuv420m.xml [media] v4l: Add DocBook documentation for YU12M, NV12M image formats 2011-03-21 20:31:35 -03:00
pixfmt-yuv422p.xml
pixfmt-yuyv.xml
pixfmt-yvyu.xml
pixfmt.xml [media] v4l: Add DocBook documentation for YU12M, NV12M image formats 2011-03-21 20:31:35 -03:00
planar-apis.xml [media] Remove compatibility layer from multi-planar API documentation 2011-03-21 20:32:05 -03:00
remote_controllers.xml V4L/DVB: DocBook/media: Add LIRC DocBook to media.html 2010-08-02 15:18:40 -03:00
v4l2.xml [media] DocBook/v4l2.xml: Update version of the spec 2011-03-21 20:32:38 -03:00
v4l2grab.c.xml
vbi_525.gif
vbi_525.pdf
vbi_625.gif
vbi_625.pdf
vbi_hsync.gif
vbi_hsync.pdf
videodev2.h.xml [media] videodev2.h.xml: Update to reflect videodev2.h changes 2011-03-21 20:32:38 -03:00
vidioc-cropcap.xml
vidioc-dbg-g-chip-ident.xml
vidioc-dbg-g-register.xml
vidioc-dqevent.xml V4L/DVB: v4l spec: document new events 2010-05-19 12:58:10 -03:00
vidioc-encoder-cmd.xml
vidioc-enum-dv-presets.xml V4L/DVB (13572): v4l2-spec: Digital Video Timings API documentation 2009-12-16 00:18:04 -02:00
vidioc-enum-fmt.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
vidioc-enum-frameintervals.xml
vidioc-enum-framesizes.xml
vidioc-enumaudio.xml
vidioc-enumaudioout.xml
vidioc-enuminput.xml V4L/DVB: Documentation: fix small error in the ENUMINPUT doc 2010-05-19 12:58:53 -03:00
vidioc-enumoutput.xml V4L/DVB (13572): v4l2-spec: Digital Video Timings API documentation 2009-12-16 00:18:04 -02:00
vidioc-enumstd.xml
vidioc-g-audio.xml
vidioc-g-audioout.xml
vidioc-g-crop.xml
vidioc-g-ctrl.xml
vidioc-g-dv-preset.xml V4L/DVB: V4L Doc: fix DocBook syntax errors 2010-10-21 01:05:56 -02:00
vidioc-g-dv-timings.xml V4L/DVB: V4L Doc: fix DocBook syntax errors 2010-10-21 01:05:56 -02:00
vidioc-g-enc-index.xml
vidioc-g-ext-ctrls.xml
vidioc-g-fbuf.xml V4L/DVB (13471): v4l2 doc: Added FBUF_CAP_SRC_CHROMAKEY/FLAG_SRC_CHROMAKEY 2009-12-05 18:42:04 -02:00
vidioc-g-fmt.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
vidioc-g-frequency.xml
vidioc-g-input.xml
vidioc-g-jpegcomp.xml
vidioc-g-modulator.xml
vidioc-g-output.xml
vidioc-g-parm.xml tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
vidioc-g-priority.xml
vidioc-g-sliced-vbi-cap.xml
vidioc-g-std.xml V4L/DVB (13619): v4l2-spec: Adds EBUSY error code for S_STD and QUERYSTD ioctls 2009-12-16 00:18:47 -02:00
vidioc-g-tuner.xml
vidioc-log-status.xml
vidioc-overlay.xml
vidioc-qbuf.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
vidioc-query-dv-preset.xml V4L/DVB: V4L Doc: fix DocBook syntax errors 2010-10-21 01:05:56 -02:00
vidioc-querybuf.xml [media] Add multi-planar API documentation 2011-03-21 20:31:35 -03:00
vidioc-querycap.xml [media] Remove compatibility layer from multi-planar API documentation 2011-03-21 20:32:05 -03:00
vidioc-queryctrl.xml V4L/DVB: V4L Doc: correct the documentation for VIDIOC_QUERYMENU 2010-10-21 01:05:56 -02:00
vidioc-querystd.xml V4L/DVB (13619): v4l2-spec: Adds EBUSY error code for S_STD and QUERYSTD ioctls 2009-12-16 00:18:47 -02:00
vidioc-reqbufs.xml V4L/DVB: v4l doc: fix font of field name 2010-05-18 00:47:21 -03:00
vidioc-s-hw-freq-seek.xml [media] Documentation: v4l: Add hw_seek spacing and two TUNER_RDS_CAP flags 2010-10-22 23:47:03 -02:00
vidioc-streamon.xml
vidioc-subscribe-event.xml V4L/DVB: v4l spec: document new events 2010-05-19 12:58:10 -03:00