* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 11:55 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: bnvandana @ 2019-10-04 11:55 UTC (permalink / raw) 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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..e6c349fadf30 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -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 +.. 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') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This format describes metadata in vivid driver. + +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. + +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. + * - 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. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 11:55 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: Vandana BN @ 2019-10-04 11:55 UTC (permalink / raw) To: linux-media, linux-kernel-mentees; +Cc: hverkuil, Vandana BN Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver. Signed-off-by: Vandana BN <bnvandana@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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..e6c349fadf30 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -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 +.. 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') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This format describes metadata in vivid driver. + +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. + +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. + * - 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. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 11:55 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: Vandana BN @ 2019-10-04 11:55 UTC (permalink / raw) 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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..e6c349fadf30 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -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 +.. 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') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This format describes metadata in vivid driver. + +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. + +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. + * - 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. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 11:59 ` Hans Verkuil 0 siblings, 0 replies; 18+ messages in thread From: hverkuil @ 2019-10-04 11:59 UTC (permalink / raw) On 10/4/19 1:55 PM, Vandana BN wrote: > 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 > > diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst > index b10ca9ee3968..74c8659ee9d6 100644 > --- a/Documentation/media/uapi/v4l/meta-formats.rst > +++ b/Documentation/media/uapi/v4l/meta-formats.rst > @@ -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 > diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > new file mode 100644 > index 000000000000..e6c349fadf30 > --- /dev/null > +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > @@ -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 > +.. 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 :-) > +******************************* > + > +VIVID Metadata Format > + > + > +Description > +=========== > + > +This format describes metadata in vivid driver. Say: ...describes the metadata format used by the vivid driver. > + > +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... > + > +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. > + * - 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 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 11:59 ` Hans Verkuil 0 siblings, 0 replies; 18+ messages in thread From: Hans Verkuil @ 2019-10-04 11:59 UTC (permalink / raw) To: Vandana BN, linux-media, linux-kernel-mentees On 10/4/19 1:55 PM, Vandana BN wrote: > Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver. > > Signed-off-by: Vandana BN <bnvandana@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 > > diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst > index b10ca9ee3968..74c8659ee9d6 100644 > --- a/Documentation/media/uapi/v4l/meta-formats.rst > +++ b/Documentation/media/uapi/v4l/meta-formats.rst > @@ -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 > diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > new file mode 100644 > index 000000000000..e6c349fadf30 > --- /dev/null > +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > @@ -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 > +.. 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 :-) > +******************************* > + > +VIVID Metadata Format > + > + > +Description > +=========== > + > +This format describes metadata in vivid driver. Say: ...describes the metadata format used by the vivid driver. > + > +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... > + > +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. > + * - 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 ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 11:59 ` Hans Verkuil 0 siblings, 0 replies; 18+ messages in thread From: Hans Verkuil @ 2019-10-04 11:59 UTC (permalink / raw) On 10/4/19 1:55 PM, Vandana BN wrote: > 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 > > diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst > index b10ca9ee3968..74c8659ee9d6 100644 > --- a/Documentation/media/uapi/v4l/meta-formats.rst > +++ b/Documentation/media/uapi/v4l/meta-formats.rst > @@ -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 > diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > new file mode 100644 > index 000000000000..e6c349fadf30 > --- /dev/null > +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > @@ -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 > +.. 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 :-) > +******************************* > + > +VIVID Metadata Format > + > + > +Description > +=========== > + > +This format describes metadata in vivid driver. Say: ...describes the metadata format used by the vivid driver. > + > +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... > + > +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. > + * - 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 ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH v2] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 12:21 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: bnvandana @ 2019-10-04 12:21 UTC (permalink / raw) 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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..68f9df623064 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -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 +.. 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 ('VIVD') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This describes the metadata format used by the vivid driver. + +It sets Brightness, Saturation, Contrast and Hue, each of which maps to +corresponding controls of the vivid driver with respect to the range and default values. + +It contains the following fields: + +.. flat-table:: VIVID Metadata + :widths: 1 4 + :header-rows: 1 + :stub-columns: 0 + + * - Field + - Description + * - u16 brightness; + - Image brightness, the value is in the range 0 to 255, with the default value as 128. + * - u16 contrast; + - Image contrast, the value is in the range 0 to 255, with the default value as 128. + * - u16 saturation; + - Image color saturation, the value is in the range 0 to 255, with the default value as 128. + * - s16 hue; + - Image color balance, the value is in the range -128 to 128, with the default value as 0. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v2] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 12:21 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: Vandana BN @ 2019-10-04 12:21 UTC (permalink / raw) To: linux-media, linux-kernel-mentees; +Cc: hverkuil, Vandana BN Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver. Signed-off-by: Vandana BN <bnvandana@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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..68f9df623064 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -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 +.. 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 ('VIVD') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This describes the metadata format used by the vivid driver. + +It sets Brightness, Saturation, Contrast and Hue, each of which maps to +corresponding controls of the vivid driver with respect to the range and default values. + +It contains the following fields: + +.. flat-table:: VIVID Metadata + :widths: 1 4 + :header-rows: 1 + :stub-columns: 0 + + * - Field + - Description + * - u16 brightness; + - Image brightness, the value is in the range 0 to 255, with the default value as 128. + * - u16 contrast; + - Image contrast, the value is in the range 0 to 255, with the default value as 128. + * - u16 saturation; + - Image color saturation, the value is in the range 0 to 255, with the default value as 128. + * - s16 hue; + - Image color balance, the value is in the range -128 to 128, with the default value as 0. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH v2] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-04 12:21 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: Vandana BN @ 2019-10-04 12:21 UTC (permalink / raw) 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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..68f9df623064 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -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 +.. 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 ('VIVD') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This describes the metadata format used by the vivid driver. + +It sets Brightness, Saturation, Contrast and Hue, each of which maps to +corresponding controls of the vivid driver with respect to the range and default values. + +It contains the following fields: + +.. flat-table:: VIVID Metadata + :widths: 1 4 + :header-rows: 1 + :stub-columns: 0 + + * - Field + - Description + * - u16 brightness; + - Image brightness, the value is in the range 0 to 255, with the default value as 128. + * - u16 contrast; + - Image contrast, the value is in the range 0 to 255, with the default value as 128. + * - u16 saturation; + - Image color saturation, the value is in the range 0 to 255, with the default value as 128. + * - s16 hue; + - Image color balance, the value is in the range -128 to 128, with the default value as 0. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-16 19:45 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 18+ messages in thread From: mchehab+samsung @ 2019-10-16 19:45 UTC (permalink / raw) Em Fri, 4 Oct 2019 13:59:00 +0200 Hans Verkuil <hverkuil at xs4all.nl> escreveu: > On 10/4/19 1:55 PM, Vandana BN wrote: > > 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 > > > > diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst > > index b10ca9ee3968..74c8659ee9d6 100644 > > --- a/Documentation/media/uapi/v4l/meta-formats.rst > > +++ b/Documentation/media/uapi/v4l/meta-formats.rst > > @@ -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 > > diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > > new file mode 100644 > > index 000000000000..e6c349fadf30 > > --- /dev/null > > +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > > @@ -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 > > +.. 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 > > + > > +.. _v4l2-meta-fmt-vivid: > > + > > +******************************* > > +V4L2_META_FMT_VIVID ('VIVID') > > That's a fivecc instead of a fourcc :-) > > > +******************************* > > + > > +VIVID Metadata Format > > + > > + > > +Description > > +=========== > > + > > +This format describes metadata in vivid driver. > > Say: ...describes the metadata format used by the vivid driver. > > > + > > +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... > > > + > > +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. > > > + * - 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 Thanks, Mauro ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-16 19:45 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 18+ messages in thread From: Mauro Carvalho Chehab @ 2019-10-16 19:45 UTC (permalink / raw) To: Hans Verkuil; +Cc: Vandana BN, linux-media, linux-kernel-mentees Em Fri, 4 Oct 2019 13:59:00 +0200 Hans Verkuil <hverkuil@xs4all.nl> escreveu: > On 10/4/19 1:55 PM, Vandana BN wrote: > > Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver. > > > > Signed-off-by: Vandana BN <bnvandana@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 > > > > diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst > > index b10ca9ee3968..74c8659ee9d6 100644 > > --- a/Documentation/media/uapi/v4l/meta-formats.rst > > +++ b/Documentation/media/uapi/v4l/meta-formats.rst > > @@ -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 > > diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > > new file mode 100644 > > index 000000000000..e6c349fadf30 > > --- /dev/null > > +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > > @@ -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 > > +.. 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 > > + > > +.. _v4l2-meta-fmt-vivid: > > + > > +******************************* > > +V4L2_META_FMT_VIVID ('VIVID') > > That's a fivecc instead of a fourcc :-) > > > +******************************* > > + > > +VIVID Metadata Format > > + > > + > > +Description > > +=========== > > + > > +This format describes metadata in vivid driver. > > Say: ...describes the metadata format used by the vivid driver. > > > + > > +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... > > > + > > +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. > > > + * - 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 Thanks, Mauro ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-16 19:45 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 18+ messages in thread From: Mauro Carvalho Chehab @ 2019-10-16 19:45 UTC (permalink / raw) Em Fri, 4 Oct 2019 13:59:00 +0200 Hans Verkuil <hverkuil at xs4all.nl> escreveu: > On 10/4/19 1:55 PM, Vandana BN wrote: > > 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 > > > > diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst > > index b10ca9ee3968..74c8659ee9d6 100644 > > --- a/Documentation/media/uapi/v4l/meta-formats.rst > > +++ b/Documentation/media/uapi/v4l/meta-formats.rst > > @@ -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 > > diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > > new file mode 100644 > > index 000000000000..e6c349fadf30 > > --- /dev/null > > +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst > > @@ -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 > > +.. 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 > > + > > +.. _v4l2-meta-fmt-vivid: > > + > > +******************************* > > +V4L2_META_FMT_VIVID ('VIVID') > > That's a fivecc instead of a fourcc :-) > > > +******************************* > > + > > +VIVID Metadata Format > > + > > + > > +Description > > +=========== > > + > > +This format describes metadata in vivid driver. > > Say: ...describes the metadata format used by the vivid driver. > > > + > > +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... > > > + > > +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. > > > + * - 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 Thanks, Mauro ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-17 6:34 ` Hans Verkuil 0 siblings, 0 replies; 18+ messages in thread From: hverkuil @ 2019-10-17 6:34 UTC (permalink / raw) Vandana, Can you post a v3 with this proposed license? Thanks! Hans On 10/16/19 9:45 PM, Mauro Carvalho Chehab wrote: > Em Fri, 4 Oct 2019 13:59:00 +0200 > Hans Verkuil <hverkuil at xs4all.nl> escreveu: > >> On 10/4/19 1:55 PM, Vandana BN wrote: >>> 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 >>> >>> diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst >>> index b10ca9ee3968..74c8659ee9d6 100644 >>> --- a/Documentation/media/uapi/v4l/meta-formats.rst >>> +++ b/Documentation/media/uapi/v4l/meta-formats.rst >>> @@ -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 >>> diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst >>> new file mode 100644 >>> index 000000000000..e6c349fadf30 >>> --- /dev/null >>> +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst >>> @@ -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 >>> +.. 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 > >>> + >>> +.. _v4l2-meta-fmt-vivid: >>> + >>> +******************************* >>> +V4L2_META_FMT_VIVID ('VIVID') >> >> That's a fivecc instead of a fourcc :-) >> >>> +******************************* >>> + >>> +VIVID Metadata Format >>> + >>> + >>> +Description >>> +=========== >>> + >>> +This format describes metadata in vivid driver. >> >> Say: ...describes the metadata format used by the vivid driver. >> >>> + >>> +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... >> >>> + >>> +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. >> >>> + * - 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 > > > > Thanks, > Mauro > ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-17 6:34 ` Hans Verkuil 0 siblings, 0 replies; 18+ messages in thread From: Hans Verkuil @ 2019-10-17 6:34 UTC (permalink / raw) To: Vandana BN; +Cc: Mauro Carvalho Chehab, linux-media, linux-kernel-mentees Vandana, Can you post a v3 with this proposed license? Thanks! Hans On 10/16/19 9:45 PM, Mauro Carvalho Chehab wrote: > Em Fri, 4 Oct 2019 13:59:00 +0200 > Hans Verkuil <hverkuil@xs4all.nl> escreveu: > >> On 10/4/19 1:55 PM, Vandana BN wrote: >>> Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver. >>> >>> Signed-off-by: Vandana BN <bnvandana@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 >>> >>> diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst >>> index b10ca9ee3968..74c8659ee9d6 100644 >>> --- a/Documentation/media/uapi/v4l/meta-formats.rst >>> +++ b/Documentation/media/uapi/v4l/meta-formats.rst >>> @@ -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 >>> diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst >>> new file mode 100644 >>> index 000000000000..e6c349fadf30 >>> --- /dev/null >>> +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst >>> @@ -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 >>> +.. 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 > >>> + >>> +.. _v4l2-meta-fmt-vivid: >>> + >>> +******************************* >>> +V4L2_META_FMT_VIVID ('VIVID') >> >> That's a fivecc instead of a fourcc :-) >> >>> +******************************* >>> + >>> +VIVID Metadata Format >>> + >>> + >>> +Description >>> +=========== >>> + >>> +This format describes metadata in vivid driver. >> >> Say: ...describes the metadata format used by the vivid driver. >> >>> + >>> +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... >> >>> + >>> +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. >> >>> + * - 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 > > > > Thanks, > Mauro > ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-17 6:34 ` Hans Verkuil 0 siblings, 0 replies; 18+ messages in thread From: Hans Verkuil @ 2019-10-17 6:34 UTC (permalink / raw) Vandana, Can you post a v3 with this proposed license? Thanks! Hans On 10/16/19 9:45 PM, Mauro Carvalho Chehab wrote: > Em Fri, 4 Oct 2019 13:59:00 +0200 > Hans Verkuil <hverkuil at xs4all.nl> escreveu: > >> On 10/4/19 1:55 PM, Vandana BN wrote: >>> 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 >>> >>> diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst >>> index b10ca9ee3968..74c8659ee9d6 100644 >>> --- a/Documentation/media/uapi/v4l/meta-formats.rst >>> +++ b/Documentation/media/uapi/v4l/meta-formats.rst >>> @@ -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 >>> diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst >>> new file mode 100644 >>> index 000000000000..e6c349fadf30 >>> --- /dev/null >>> +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst >>> @@ -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 >>> +.. 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 > >>> + >>> +.. _v4l2-meta-fmt-vivid: >>> + >>> +******************************* >>> +V4L2_META_FMT_VIVID ('VIVID') >> >> That's a fivecc instead of a fourcc :-) >> >>> +******************************* >>> + >>> +VIVID Metadata Format >>> + >>> + >>> +Description >>> +=========== >>> + >>> +This format describes metadata in vivid driver. >> >> Say: ...describes the metadata format used by the vivid driver. >> >>> + >>> +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... >> >>> + >>> +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. >> >>> + * - 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 > > > > Thanks, > Mauro > ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH v3] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-17 6:43 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: bnvandana @ 2019-10-17 6:43 UTC (permalink / raw) 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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..eed20eaefe24 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -0,0 +1,60 @@ +.. This file is dual-licensed: you can use it either under the terms +.. of the GPL 2.0 or the GFDL 1.1+ license, at your option. Note that this +.. dual licensing only applies to this file, and not this project as a +.. whole. +.. +.. a) This file is free software; you can redistribute it and/or +.. modify it under the terms of the GNU General Public License as +.. published by the Free Software Foundation version 2 of +.. the License. +.. +.. This file is distributed in the hope that it will be useful, +.. but WITHOUT ANY WARRANTY; without even the implied warranty of +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. GNU General Public License for more details. +.. +.. Or, alternatively, +.. +.. b) 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 GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections + +.. _v4l2-meta-fmt-vivid: + +******************************* +V4L2_META_FMT_VIVID ('VIVD') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This describes metadata format used by the vivid driver. + +It sets Brightness, Saturation, Contrast and Hue, each of which maps to +corresponding controls of the vivid driver with respect to the range and default values. + +It contains the following fields: + +.. flat-table:: VIVID Metadata + :widths: 1 4 + :header-rows: 1 + :stub-columns: 0 + + * - Field + - Description + * - u16 brightness; + - Image brightness, the value is in the range 0 to 255, with the default value as 128. + * - u16 contrast; + - Image contrast, the value is in the range 0 to 255, with the default value as 128. + * - u16 saturation; + - Image color saturation, the value is in the range 0 to 255, with the default value as 128. + * - s16 hue; + - Image color balance, the value is in the range -128 to 128, with the default value as 0. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v3] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-17 6:43 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: Vandana BN @ 2019-10-17 6:43 UTC (permalink / raw) To: linux-media, linux-kernel-mentees; +Cc: hverkuil, Vandana BN Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in vivid driver. Signed-off-by: Vandana BN <bnvandana@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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..eed20eaefe24 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -0,0 +1,60 @@ +.. This file is dual-licensed: you can use it either under the terms +.. of the GPL 2.0 or the GFDL 1.1+ license, at your option. Note that this +.. dual licensing only applies to this file, and not this project as a +.. whole. +.. +.. a) This file is free software; you can redistribute it and/or +.. modify it under the terms of the GNU General Public License as +.. published by the Free Software Foundation version 2 of +.. the License. +.. +.. This file is distributed in the hope that it will be useful, +.. but WITHOUT ANY WARRANTY; without even the implied warranty of +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. GNU General Public License for more details. +.. +.. Or, alternatively, +.. +.. b) 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 GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections + +.. _v4l2-meta-fmt-vivid: + +******************************* +V4L2_META_FMT_VIVID ('VIVD') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This describes metadata format used by the vivid driver. + +It sets Brightness, Saturation, Contrast and Hue, each of which maps to +corresponding controls of the vivid driver with respect to the range and default values. + +It contains the following fields: + +.. flat-table:: VIVID Metadata + :widths: 1 4 + :header-rows: 1 + :stub-columns: 0 + + * - Field + - Description + * - u16 brightness; + - Image brightness, the value is in the range 0 to 255, with the default value as 128. + * - u16 contrast; + - Image contrast, the value is in the range 0 to 255, with the default value as 128. + * - u16 saturation; + - Image color saturation, the value is in the range 0 to 255, with the default value as 128. + * - s16 hue; + - Image color balance, the value is in the range -128 to 128, with the default value as 0. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Linux-kernel-mentees] [PATCH v3] Documentation:media:v4l2:Add vivid metadata doc @ 2019-10-17 6:43 ` Vandana BN 0 siblings, 0 replies; 18+ messages in thread From: Vandana BN @ 2019-10-17 6:43 UTC (permalink / raw) 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 diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index b10ca9ee3968..74c8659ee9d6 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -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 diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst new file mode 100644 index 000000000000..eed20eaefe24 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst @@ -0,0 +1,60 @@ +.. This file is dual-licensed: you can use it either under the terms +.. of the GPL 2.0 or the GFDL 1.1+ license, at your option. Note that this +.. dual licensing only applies to this file, and not this project as a +.. whole. +.. +.. a) This file is free software; you can redistribute it and/or +.. modify it under the terms of the GNU General Public License as +.. published by the Free Software Foundation version 2 of +.. the License. +.. +.. This file is distributed in the hope that it will be useful, +.. but WITHOUT ANY WARRANTY; without even the implied warranty of +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. GNU General Public License for more details. +.. +.. Or, alternatively, +.. +.. b) 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 GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections + +.. _v4l2-meta-fmt-vivid: + +******************************* +V4L2_META_FMT_VIVID ('VIVD') +******************************* + +VIVID Metadata Format + + +Description +=========== + +This describes metadata format used by the vivid driver. + +It sets Brightness, Saturation, Contrast and Hue, each of which maps to +corresponding controls of the vivid driver with respect to the range and default values. + +It contains the following fields: + +.. flat-table:: VIVID Metadata + :widths: 1 4 + :header-rows: 1 + :stub-columns: 0 + + * - Field + - Description + * - u16 brightness; + - Image brightness, the value is in the range 0 to 255, with the default value as 128. + * - u16 contrast; + - Image contrast, the value is in the range 0 to 255, with the default value as 128. + * - u16 saturation; + - Image color saturation, the value is in the range 0 to 255, with the default value as 128. + * - s16 hue; + - Image color balance, the value is in the range -128 to 128, with the default value as 0. -- 2.17.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
end of thread, other threads:[~2019-10-17 6:43 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-10-04 11:55 [Linux-kernel-mentees] [PATCH] Documentation:media:v4l2:Add vivid metadata doc bnvandana 2019-10-04 11:55 ` Vandana BN 2019-10-04 11:55 ` [Linux-kernel-mentees] " Vandana BN 2019-10-04 11:59 ` hverkuil 2019-10-04 11:59 ` Hans Verkuil 2019-10-04 11:59 ` [Linux-kernel-mentees] " Hans Verkuil 2019-10-04 12:21 ` [Linux-kernel-mentees] [PATCH v2] " bnvandana 2019-10-04 12:21 ` Vandana BN 2019-10-04 12:21 ` [Linux-kernel-mentees] " Vandana BN 2019-10-16 19:45 ` [Linux-kernel-mentees] [PATCH] " mchehab+samsung 2019-10-16 19:45 ` Mauro Carvalho Chehab 2019-10-16 19:45 ` [Linux-kernel-mentees] " Mauro Carvalho Chehab 2019-10-17 6:34 ` hverkuil 2019-10-17 6:34 ` Hans Verkuil 2019-10-17 6:34 ` [Linux-kernel-mentees] " Hans Verkuil 2019-10-17 6:43 ` [Linux-kernel-mentees] [PATCH v3] " bnvandana 2019-10-17 6:43 ` Vandana BN 2019-10-17 6:43 ` [Linux-kernel-mentees] " Vandana BN
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.