<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/media/v4l2-subdev.h, branch v3.0.99</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/media/v4l2-subdev.h?h=v3.0.99</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/media/v4l2-subdev.h?h=v3.0.99'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-07-07T18:04:23Z</updated>
<entry>
<title>[media] tuner-core/v4l2-subdev: document that the type field has to be filled in</title>
<updated>2011-07-07T18:04:23Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2011-06-13T12:35:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=338e9e1ad541cbb2a3fa5839376ff6c138d40301'/>
<id>urn:sha1:338e9e1ad541cbb2a3fa5839376ff6c138d40301</id>
<content type='text'>
The tuner ops g_frequency, g_tuner and s_tuner require that the tuner type
field is filled in. Document this.

The tuner-core doc is based on a patch from Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l2-subdev.h: remove unused s_mode tuner op</title>
<updated>2011-07-07T18:03:59Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2011-06-13T12:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e206fc5e3de0e38a35b6f92941c913b6d8343fc6'/>
<id>urn:sha1:e206fc5e3de0e38a35b6f92941c913b6d8343fc6</id>
<content type='text'>
s_mode is no longer used, so remove it.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: Add subdev sensor g_skip_frames operation</title>
<updated>2011-03-22T07:53:34Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2010-11-16T04:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f80a3ab083474670527df3ca849546a7059da766'/>
<id>urn:sha1:f80a3ab083474670527df3ca849546a7059da766</id>
<content type='text'>
Some buggy sensors generate corrupt frames when the stream is started.
This new operation return the number of corrupt frames to skip when
starting the stream.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: v4l2_subdev userspace crop API</title>
<updated>2011-03-22T07:53:33Z</updated>
<author>
<name>Antti Koskipaa</name>
<email>akoskipa@gmail.com</email>
</author>
<published>2010-06-23T08:03:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f6a5cb1be894468cdc69ec557d47f40c28f64642'/>
<id>urn:sha1:f6a5cb1be894468cdc69ec557d47f40c28f64642</id>
<content type='text'>
This patch adds the VIDIOC_SUBDEV_S_CROP and G_CROP ioctls to the
userland API. CROPCAP is not implemented because it's redundant.

Signed-off-by: Antti Koskipaa &lt;akoskipa@gmail.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: v4l2_subdev userspace frame interval API</title>
<updated>2011-03-22T07:53:32Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2010-05-05T14:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=35c3017a29d278c4405a7f3ab30b814999d156d3'/>
<id>urn:sha1:35c3017a29d278c4405a7f3ab30b814999d156d3</id>
<content type='text'>
The three new ioctl VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL,
VIDIOC_SUBDEV_G_FRAME_INTERVAL and VIDIOC_SUBDEV_S_FRAME_INTERVAL can be
used to enumerate and configure a subdev's frame rate from userspace.

Two new video::g/s_frame_interval subdev operations are introduced to
support those ioctls. The existing video::g/s_parm operations are
deprecated and shouldn't be used anymore.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@iki.fi&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: v4l2_subdev userspace format API</title>
<updated>2011-03-22T07:53:31Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2010-03-15T23:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=333c8b97785d5afd5085ba3720b4d259623290f6'/>
<id>urn:sha1:333c8b97785d5afd5085ba3720b4d259623290f6</id>
<content type='text'>
Add a userspace API to get, set and enumerate the media format on a
subdev pad.

The format at the output of a subdev usually depends on the format at
its input(s). The try format operation is thus not suitable for probing
format at individual pads, as it can't modify the device state and thus
can't remember the format tried at the input to compute the output
format.

To fix the problem, pass an extra argument to the get/set format
operations to select the 'try' or 'active' format.

The try format is used when probing the subdev. Setting the try format
must not change the device configuration but can store data for later
reuse. Data storage is provided at the file-handle level so applications
probing the subdev concurently won't interfere with each other.

The active format is used when configuring the subdev. It's identical to
the format handled by the usual get/set operations.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Stanimir Varbanov &lt;svarbanov@mm-sol.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@iki.fi&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: v4l2_subdev pad-level operations</title>
<updated>2011-03-22T07:53:28Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2009-12-09T11:39:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eb08f35480869f7a82e9be1f19bc4575452e7f98'/>
<id>urn:sha1:eb08f35480869f7a82e9be1f19bc4575452e7f98</id>
<content type='text'>
Add a v4l2_subdev_pad_ops structure for the operations that need to be
performed at the pad level such as format-related operations.

Pad format-related operations use v4l2_mbus_framefmt instead of
v4l2_format.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: subdev: Add new file operations</title>
<updated>2011-03-22T07:53:27Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2010-08-01T22:05:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f0beea8f46142ea7abd7ed3f44fd0967c603fae0'/>
<id>urn:sha1:f0beea8f46142ea7abd7ed3f44fd0967c603fae0</id>
<content type='text'>
V4L2 sub-devices store pad formats and crop settings in the file handle.
To let drivers initialize those settings properly, add an open operation
that is called when the subdev is opened as well as a corresponding
close operation.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: Create v4l2 subdev file handle structure</title>
<updated>2011-03-22T07:53:26Z</updated>
<author>
<name>Stanimir Varbanov</name>
<email>svarbanov@mm-sol.com</email>
</author>
<published>2010-05-21T09:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7cd5a16b22af7dc92190a60f336b6854a6fcb99d'/>
<id>urn:sha1:7cd5a16b22af7dc92190a60f336b6854a6fcb99d</id>
<content type='text'>
Used for storing subdev information per file handle and hold V4L2 file
handle.

Signed-off-by: Stanimir Varbanov &lt;svarbanov@mm-sol.com&gt;
Signed-off-by: Antti Koskipaa &lt;akoskipa@gmail.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: Make v4l2_subdev inherit from media_entity</title>
<updated>2011-03-22T07:53:20Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2009-12-09T11:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=61f5db549dde43fb91a8b337f3a4096e4076c2d9'/>
<id>urn:sha1:61f5db549dde43fb91a8b337f3a4096e4076c2d9</id>
<content type='text'>
V4L2 subdevices are media entities. As such they need to inherit from
(include) the media_entity structure.

When registering/unregistering the subdevice, the media entity is
automatically registered/unregistered. The entity is acquired on device
open and released on device close.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@iki.fi&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
