Skip to contentSkip to conversation

Documentation:media:v4l2:Add vivid metadata doc

PATCH New bnvandana at gmail.com (Vandana BN) 2 participants 6 messages Oct 4, 2019 – Oct 17, 2019

Subsystems (2)
lore
Share & tools
lore

bnvandana at gmail.com (Vandana BN)

#0 lore raw

PATCH 1/1 Documentation:media:v4l2:Add vivid metadata doc

Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver.

Signed-off-by Vandana BN <bnvandana at gmail.com>
---
 Documentation/media/uapi/v4l/meta-formats.rst |  1 +
 .../media/uapi/v4l/pixfmt-meta-vivid.rst      | 43 +++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
Documentation/media/uapi/v4l/meta-formats.rst +1 -0
index b10ca9ee3968..74c8659ee9d6 100644
@@ -24,3 +24,4 @@ These formats are used for the :ref:`metadata` interface only.
     pixfmt-meta-uvc
     pixfmt-meta-vsp1-hgo
     pixfmt-meta-vsp1-hgt
+    pixfmt-meta-vivid
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 Documentation:media:v4l2:Add vivid metadata doc

Quoted 27 lines · Vandana BN

Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver.

Signed-off-by Vandana BN <bnvandana at gmail.com>
---
 Documentation/media/uapi/v4l/meta-formats.rst |  1 +
 .../media/uapi/v4l/pixfmt-meta-vivid.rst      | 43 +++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
Documentation/media/uapi/v4l/meta-formats.rst +1 -0
index b10ca9ee3968..74c8659ee9d6 100644
@@ -24,3 +24,4 @@ These formats are used for the :ref:`metadata` interface only.
     pixfmt-meta-uvc
     pixfmt-meta-vsp1-hgo
     pixfmt-meta-vsp1-hgt
+    pixfmt-meta-vivid
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +3 -0
new file mode 100644
index 000000000000..e6c349fadf30
@@ -0,0 +1,43 @@
+.. Permission is granted to copy, distribute and/or modify this
+.. document under the terms of the GNU Free Documentation License,
+.. Version 1.1 or any later version published by the Free Software

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 13

Quoted 10 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +10 -0
+.. Foundation, with no Invariant Sections, no Front-Cover Texts
+.. and no Back-Cover Texts. A copy of the license is included at
+.. Documentation/media/uapi/fdl-appendix.rst.
+..
+.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
+
+.. _v4l2-meta-fmt-vivid:
+
+*******************************
+V4L2_META_FMT_VIVID ('VIVID')

That's a fivecc instead of a fourcc :-)

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 22

Quoted 9 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +9 -0
+*******************************
+
+VIVID Metadata Format
+
+
+Description
+===========
+
+This format describes metadata in vivid driver.

Say: ...describes the metadata format used by the vivid driver.

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 25

Quoted 3 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +3 -0
+
+It sets Brightness, Saturation, Contrast and Hue, each of which maps to
+corresponding control in vivid driver with respect to its range and default values.

...controls of the...
...respect to the range...

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 37

Quoted 12 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +12 -0
+
+It contains the following fields:
+
+.. flat-table:: VIVID Metadata
+    :widths: 1 4
+    :header-rows:  1
+    :stub-columns: 0
+
+    * - Field
+      - Description
+    * - u16 brightness;
+      - Image brightness, value can be in range 0 to 255, with default value as 128.

- Image brightness, the value is in the range 0 to 255, with the default value as 128.

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 43

Quoted 7 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +6 -0
+    * - u16 contrast;
+      - Image contrast, value can be in range 0 to 255, with default value as 128.
+    * - u16 saturation;
+      - Image color saturation, value can be in range 0 to 255, with default value as 128.
+    * - s16 hue;
+      - Image color balance, value can be in range -128 to 128, with default value as 0.

Ditto.

Regards,

Hans

#2 lore raw

PATCH v2 1/1 Documentation:media:v4l2:Add vivid metadata doc

Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver.

Signed-off-by Vandana BN <bnvandana at gmail.com>
---
 Documentation/media/uapi/v4l/meta-formats.rst |  1 +
 .../media/uapi/v4l/pixfmt-meta-vivid.rst      | 43 +++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
Documentation/media/uapi/v4l/meta-formats.rst +1 -0
index b10ca9ee3968..74c8659ee9d6 100644
@@ -24,3 +24,4 @@ These formats are used for the :ref:`metadata` interface only.
     pixfmt-meta-uvc
     pixfmt-meta-vsp1-hgo
     pixfmt-meta-vsp1-hgt
+    pixfmt-meta-vivid
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.17.1
#3 lore raw

PATCH 1/1 Documentation:media:v4l2:Add vivid metadata doc

In reply to hverkuil at xs4all.nl (Hans Verkuil)

Em Fri, 4 Oct 2019 13:59:00 +0200
Hans Verkuil <hverkuil at xs4all.nl> escreveu:

Quoted 25 lines · Vandana BN
Quoted 24 lines

Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver.

Signed-off-by Vandana BN <bnvandana at gmail.com>
---
 Documentation/media/uapi/v4l/meta-formats.rst |  1 +
 .../media/uapi/v4l/pixfmt-meta-vivid.rst      | 43 +++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
Documentation/media/uapi/v4l/meta-formats.rst +1 -0
index b10ca9ee3968..74c8659ee9d6 100644
@@ -24,3 +24,4 @@ These formats are used for the :ref:`metadata` interface only.
     pixfmt-meta-uvc
     pixfmt-meta-vsp1-hgo
     pixfmt-meta-vsp1-hgt
+    pixfmt-meta-vivid
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +0 -0
new file mode 100644
index 000000000000..e6c349fadf30
@@ -0,0 +1,43 @@
Quoted 8 lines

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 8

Quoted 8 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +8 -0
+.. Permission is granted to copy, distribute and/or modify this
+.. document under the terms of the GNU Free Documentation License,
+.. Version 1.1 or any later version published by the Free Software
+.. Foundation, with no Invariant Sections, no Front-Cover Texts
+.. and no Back-Cover Texts. A copy of the license is included at
+.. Documentation/media/uapi/fdl-appendix.rst.
+..
+.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections

Could you please re-license it with dual GFDL and GPL?

See for example:
Documentation/media/uapi/mediactl/media-request-ioc-queue.rst

For the text we're adding to all new documentation files on media.

Regards,
Mauro

Quoted 50 lines

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 13

Quoted 5 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +5 -0
+
+.. _v4l2-meta-fmt-vivid:
+
+*******************************
+V4L2_META_FMT_VIVID ('VIVID')  

That's a fivecc instead of a fourcc :-)

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 22

Quoted 9 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +9 -0
+*******************************
+
+VIVID Metadata Format
+
+
+Description
+===========
+
+This format describes metadata in vivid driver.  

Say: ...describes the metadata format used by the vivid driver.

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 25

Quoted 3 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +3 -0
+
+It sets Brightness, Saturation, Contrast and Hue, each of which maps to
+corresponding control in vivid driver with respect to its range and default values.  

...controls of the...
...respect to the range...

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 37

Quoted 12 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +12 -0
+
+It contains the following fields:
+
+.. flat-table:: VIVID Metadata
+    :widths: 1 4
+    :header-rows:  1
+    :stub-columns: 0
+
+    * - Field
+      - Description
+    * - u16 brightness;
+      - Image brightness, value can be in range 0 to 255, with default value as 128.  

- Image brightness, the value is in the range 0 to 255, with the default value as 128.

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 43

Quoted 7 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +6 -0
+    * - u16 contrast;
+      - Image contrast, value can be in range 0 to 255, with default value as 128.
+    * - u16 saturation;
+      - Image color saturation, value can be in range 0 to 255, with default value as 128.
+    * - s16 hue;
+      - Image color balance, value can be in range -128 to 128, with default value as 0.
Quoted 5 lines

Ditto.

Regards,

Hans

Thanks,
Mauro

#4 lore raw

PATCH 1/1 Documentation:media:v4l2:Add vivid metadata doc

Vandana,

Can you post a v3 with this proposed license?

Thanks!

Hans

Quoted 108 lines · Mauro Carvalho Chehab

Em Fri, 4 Oct 2019 13:59:00 +0200
Hans Verkuil <hverkuil at xs4all.nl> escreveu:

Quoted 25 lines · Vandana BN
Quoted 24 lines

Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver.

Signed-off-by Vandana BN <bnvandana at gmail.com>
---
 Documentation/media/uapi/v4l/meta-formats.rst |  1 +
 .../media/uapi/v4l/pixfmt-meta-vivid.rst      | 43 +++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
Documentation/media/uapi/v4l/meta-formats.rst +1 -0
index b10ca9ee3968..74c8659ee9d6 100644
@@ -24,3 +24,4 @@ These formats are used for the :ref:`metadata` interface only.
     pixfmt-meta-uvc
     pixfmt-meta-vsp1-hgo
     pixfmt-meta-vsp1-hgt
+    pixfmt-meta-vivid
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +0 -0
new file mode 100644
index 000000000000..e6c349fadf30
@@ -0,0 +1,43 @@
Quoted 8 lines

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 8

Quoted 8 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +8 -0
+.. Permission is granted to copy, distribute and/or modify this
+.. document under the terms of the GNU Free Documentation License,
+.. Version 1.1 or any later version published by the Free Software
+.. Foundation, with no Invariant Sections, no Front-Cover Texts
+.. and no Back-Cover Texts. A copy of the license is included at
+.. Documentation/media/uapi/fdl-appendix.rst.
+..
+.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections

Could you please re-license it with dual GFDL and GPL?

See for example:
Documentation/media/uapi/mediactl/media-request-ioc-queue.rst

For the text we're adding to all new documentation files on media.

Regards,
Mauro

Quoted 50 lines

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 13

Quoted 5 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +5 -0
+
+.. _v4l2-meta-fmt-vivid:
+
+*******************************
+V4L2_META_FMT_VIVID ('VIVID')  

That's a fivecc instead of a fourcc :-)

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 22

Quoted 9 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +9 -0
+*******************************
+
+VIVID Metadata Format
+
+
+Description
+===========
+
+This format describes metadata in vivid driver.  

Say: ...describes the metadata format used by the vivid driver.

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 25

Quoted 3 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +3 -0
+
+It sets Brightness, Saturation, Contrast and Hue, each of which maps to
+corresponding control in vivid driver with respect to its range and default values.  

...controls of the...
...respect to the range...

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 37

Quoted 12 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +12 -0
+
+It contains the following fields:
+
+.. flat-table:: VIVID Metadata
+    :widths: 1 4
+    :header-rows:  1
+    :stub-columns: 0
+
+    * - Field
+      - Description
+    * - u16 brightness;
+      - Image brightness, value can be in range 0 to 255, with default value as 128.  

- Image brightness, the value is in the range 0 to 255, with the default value as 128.

Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst line 43

Quoted 7 lines
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +6 -0
+    * - u16 contrast;
+      - Image contrast, value can be in range 0 to 255, with default value as 128.
+    * - u16 saturation;
+      - Image color saturation, value can be in range 0 to 255, with default value as 128.
+    * - s16 hue;
+      - Image color balance, value can be in range -128 to 128, with default value as 0.
Quoted 5 lines

Ditto.

Regards,

Hans

Thanks,
Mauro

#5 lore raw

PATCH v3 1/1 Documentation:media:v4l2:Add vivid metadata doc

In reply to mchehab+samsung at kernel.org (Mauro Carvalho Chehab)

Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver.

Signed-off-by Vandana BN <bnvandana at gmail.com>

---
Change in V3 - modified pixfmt-meta-vivid.rst to have dual GFDL and GPL license.

---
 Documentation/media/uapi/v4l/meta-formats.rst |  1 +
 .../media/uapi/v4l/pixfmt-meta-vivid.rst      | 60 +++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
Documentation/media/uapi/v4l/meta-formats.rst +1 -0
index b10ca9ee3968..74c8659ee9d6 100644
@@ -24,3 +24,4 @@ These formats are used for the :ref:`metadata` interface only.
     pixfmt-meta-uvc
     pixfmt-meta-vsp1-hgo
     pixfmt-meta-vsp1-hgt
+    pixfmt-meta-vivid
Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file +60 -0

60 lines not on this page · raw message

Signature · 1 line
2.17.1