1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/userspace-api/media/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
19 The *hue* (h) is measured in degrees, the equivalence between degrees and LSBs
20 depends on the hsv-encoding used, see :ref:`colorspaces`.
21 The *saturation* (s) and the *value* (v) are measured in percentage of the
22 cylinder: 0 being the smallest value and 255 the maximum.
25 The values are packed in 24 or 32 bit formats.
32 \setlength{\tabcolsep}{2pt}
34 .. tabularcolumns:: |p{2.6cm}|p{0.8cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
36 .. _packed-hsv-formats:
38 .. flat-table:: Packed HSV Image Formats
45 - :cspan:`7` Byte 0 in memory
87 * .. _V4L2-PIX-FMT-HSV32:
89 - ``V4L2_PIX_FMT_HSV32``
127 * .. _V4L2-PIX-FMT-HSV24:
129 - ``V4L2_PIX_FMT_HSV24``
164 Bit 7 is the most significant bit.