Hans Verkuil 583aa3a9b5 [media] V4L2: Add per-device-node capabilities
If V4L2_CAP_DEVICE_CAPS is set, then the new device_caps field is filled with
the capabilities of the opened device node.

The capabilities field traditionally contains the capabilities of the physical
device, being a superset of all capabilities available at the several device
nodes. E.g., if you open /dev/video0, then if it contains VBI caps then that means
that there is a corresponding vbi node as well. And the capabilities field of
both the video and vbi nodes should contain identical caps.

However, it would be very useful to also have a capabilities field that contains
just the caps for the currently open device, hence the new CAP bit and field.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23 16:34:27 -02:00
..
2011-09-30 15:57:24 -04:00
2011-08-29 20:00:37 +00:00
2008-10-17 14:40:53 -07:00
2011-03-31 11:26:23 -03:00
2010-10-29 13:14:39 -05:00
2011-03-31 11:26:23 -03:00
2008-02-07 08:42:16 -08:00
2008-10-30 11:38:47 -07:00
2011-03-27 19:30:19 -07:00
2011-03-31 11:26:23 -03:00
2011-11-15 11:14:01 -08:00
2011-03-31 11:26:23 -03:00