Commit 8af4922f authored by Tomasz Stanislawski's avatar Tomasz Stanislawski Committed by Mauro Carvalho Chehab

[media] doc: v4l: add documentation for selection API

This patch adds a documentation for VIDIOC_{G/S}_SELECTION ioctl. Moreover, the
patch adds the description of modeling of composing, cropping and scaling
features in V4L2. Finally, some examples are presented.
Signed-off-by: default avatarTomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 15e9ff3f
...@@ -1168,6 +1168,8 @@ dheight = format.fmt.pix.height; ...@@ -1168,6 +1168,8 @@ dheight = format.fmt.pix.height;
</section> </section>
</section> </section>
&sub-selection-api;
<section id="streaming-par"> <section id="streaming-par">
<title>Streaming Parameters</title> <title>Streaming Parameters</title>
......
...@@ -2376,6 +2376,12 @@ that used it. It was originally scheduled for removal in 2.6.35. ...@@ -2376,6 +2376,12 @@ that used it. It was originally scheduled for removal in 2.6.35.
<listitem> <listitem>
<para>V4L2_CTRL_FLAG_VOLATILE was added to signal volatile controls to userspace.</para> <para>V4L2_CTRL_FLAG_VOLATILE was added to signal volatile controls to userspace.</para>
</listitem> </listitem>
<listitem>
<para>Add selection API for extended control over cropping and
composing. Does not affect the compatibility of current drivers and
applications. See <link linkend="selection-api"> selection API </link> for
details.</para>
</listitem>
</orderedlist> </orderedlist>
</section> </section>
...@@ -2500,6 +2506,9 @@ ioctls.</para> ...@@ -2500,6 +2506,9 @@ ioctls.</para>
<listitem> <listitem>
<para>&VIDIOC-CREATE-BUFS; and &VIDIOC-PREPARE-BUF; ioctls.</para> <para>&VIDIOC-CREATE-BUFS; and &VIDIOC-PREPARE-BUF; ioctls.</para>
</listitem> </listitem>
<listitem>
<para>Selection API. <xref linkend="selection-api" /></para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>
......
This diff is collapsed.
...@@ -501,6 +501,7 @@ and discussions on the V4L mailing list.</revremark> ...@@ -501,6 +501,7 @@ and discussions on the V4L mailing list.</revremark>
&sub-g-output; &sub-g-output;
&sub-g-parm; &sub-g-parm;
&sub-g-priority; &sub-g-priority;
&sub-g-selection;
&sub-g-sliced-vbi-cap; &sub-g-sliced-vbi-cap;
&sub-g-std; &sub-g-std;
&sub-g-tuner; &sub-g-tuner;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment