~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/v4l/metafmt-vsp1-hgo.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/userspace-api/media/v4l/metafmt-vsp1-hgo.rst (Architecture i386) and /Documentation/userspace-api/media/v4l/metafmt-vsp1-hgo.rst (Architecture m68k)


  1 .. SPDX-License-Identifier: GFDL-1.1-no-invari      1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2                                                     2 
  3 .. _v4l2-meta-fmt-vsp1-hgo:                         3 .. _v4l2-meta-fmt-vsp1-hgo:
  4                                                     4 
  5 *******************************                     5 *******************************
  6 V4L2_META_FMT_VSP1_HGO ('VSPH')                     6 V4L2_META_FMT_VSP1_HGO ('VSPH')
  7 *******************************                     7 *******************************
  8                                                     8 
  9 Renesas R-Car VSP1 1-D Histogram Data               9 Renesas R-Car VSP1 1-D Histogram Data
 10                                                    10 
 11                                                    11 
 12 Description                                        12 Description
 13 ===========                                        13 ===========
 14                                                    14 
 15 This format describes histogram data generated     15 This format describes histogram data generated by the Renesas R-Car VSP1 1-D
 16 Histogram (HGO) engine.                            16 Histogram (HGO) engine.
 17                                                    17 
 18 The VSP1 HGO is a histogram computation engine     18 The VSP1 HGO is a histogram computation engine that can operate on RGB, YCrCb
 19 or HSV data. It operates on a possibly cropped     19 or HSV data. It operates on a possibly cropped and subsampled input image and
 20 computes the minimum, maximum and sum of all p     20 computes the minimum, maximum and sum of all pixels as well as per-channel
 21 histograms.                                        21 histograms.
 22                                                    22 
 23 The HGO can compute histograms independently p     23 The HGO can compute histograms independently per channel, on the maximum of the
 24 three channels (RGB data only) or on the Y cha     24 three channels (RGB data only) or on the Y channel only (YCbCr only). It can
 25 additionally output the histogram with 64 or 2     25 additionally output the histogram with 64 or 256 bins, resulting in four
 26 possible modes of operation.                       26 possible modes of operation.
 27                                                    27 
 28 - In *64 bins normal mode*, the HGO operates o     28 - In *64 bins normal mode*, the HGO operates on the three channels independently
 29   to compute three 64-bins histograms. RGB, YC     29   to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
 30   supported.                                       30   supported.
 31 - In *64 bins maximum mode*, the HGO operates      31 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
 32   channels to compute a single 64-bins histogr     32   channels to compute a single 64-bins histogram. Only the RGB image format is
 33   supported.                                       33   supported.
 34 - In *256 bins normal mode*, the HGO operates      34 - In *256 bins normal mode*, the HGO operates on the Y channel to compute a
 35   single 256-bins histogram. Only the YCbCr im     35   single 256-bins histogram. Only the YCbCr image format is supported.
 36 - In *256 bins maximum mode*, the HGO operates     36 - In *256 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
 37   channels to compute a single 256-bins histog     37   channels to compute a single 256-bins histogram. Only the RGB image format is
 38   supported.                                       38   supported.
 39                                                    39 
 40 **Byte Order.**                                    40 **Byte Order.**
 41 All data is stored in memory in little endian      41 All data is stored in memory in little endian format. Each cell in the tables
 42 contains one byte.                                 42 contains one byte.
 43                                                    43 
 44 .. flat-table:: VSP1 HGO Data - 64 Bins, Norma     44 .. flat-table:: VSP1 HGO Data - 64 Bins, Normal Mode (792 bytes)
 45     :header-rows:  2                               45     :header-rows:  2
 46     :stub-columns: 0                               46     :stub-columns: 0
 47                                                    47 
 48     * - Offset                                     48     * - Offset
 49       - :cspan:`4` Memory                          49       - :cspan:`4` Memory
 50     * -                                            50     * -
 51       - [31:24]                                    51       - [31:24]
 52       - [23:16]                                    52       - [23:16]
 53       - [15:8]                                     53       - [15:8]
 54       - [7:0]                                      54       - [7:0]
 55     * - 0                                          55     * - 0
 56       -                                            56       -
 57       - R/Cr/H max [7:0]                           57       - R/Cr/H max [7:0]
 58       -                                            58       -
 59       - R/Cr/H min [7:0]                           59       - R/Cr/H min [7:0]
 60     * - 4                                          60     * - 4
 61       -                                            61       -
 62       - G/Y/S max [7:0]                            62       - G/Y/S max [7:0]
 63       -                                            63       -
 64       - G/Y/S min [7:0]                            64       - G/Y/S min [7:0]
 65     * - 8                                          65     * - 8
 66       -                                            66       -
 67       - B/Cb/V max [7:0]                           67       - B/Cb/V max [7:0]
 68       -                                            68       -
 69       - B/Cb/V min [7:0]                           69       - B/Cb/V min [7:0]
 70     * - 12                                         70     * - 12
 71       - :cspan:`4` R/Cr/H sum [31:0]               71       - :cspan:`4` R/Cr/H sum [31:0]
 72     * - 16                                         72     * - 16
 73       - :cspan:`4` G/Y/S sum [31:0]                73       - :cspan:`4` G/Y/S sum [31:0]
 74     * - 20                                         74     * - 20
 75       - :cspan:`4` B/Cb/V sum [31:0]               75       - :cspan:`4` B/Cb/V sum [31:0]
 76     * - 24                                         76     * - 24
 77       - :cspan:`4` R/Cr/H bin 0 [31:0]             77       - :cspan:`4` R/Cr/H bin 0 [31:0]
 78     * -                                            78     * -
 79       - :cspan:`4` ...                             79       - :cspan:`4` ...
 80     * - 276                                        80     * - 276
 81       - :cspan:`4` R/Cr/H bin 63 [31:0]            81       - :cspan:`4` R/Cr/H bin 63 [31:0]
 82     * - 280                                        82     * - 280
 83       - :cspan:`4` G/Y/S bin 0 [31:0]              83       - :cspan:`4` G/Y/S bin 0 [31:0]
 84     * -                                            84     * -
 85       - :cspan:`4` ...                             85       - :cspan:`4` ...
 86     * - 532                                        86     * - 532
 87       - :cspan:`4` G/Y/S bin 63 [31:0]             87       - :cspan:`4` G/Y/S bin 63 [31:0]
 88     * - 536                                        88     * - 536
 89       - :cspan:`4` B/Cb/V bin 0 [31:0]             89       - :cspan:`4` B/Cb/V bin 0 [31:0]
 90     * -                                            90     * -
 91       - :cspan:`4` ...                             91       - :cspan:`4` ...
 92     * - 788                                        92     * - 788
 93       - :cspan:`4` B/Cb/V bin 63 [31:0]            93       - :cspan:`4` B/Cb/V bin 63 [31:0]
 94                                                    94 
 95 .. flat-table:: VSP1 HGO Data - 64 Bins, Max M     95 .. flat-table:: VSP1 HGO Data - 64 Bins, Max Mode (264 bytes)
 96     :header-rows:  2                               96     :header-rows:  2
 97     :stub-columns: 0                               97     :stub-columns: 0
 98                                                    98 
 99     * - Offset                                     99     * - Offset
100       - :cspan:`4` Memory                         100       - :cspan:`4` Memory
101     * -                                           101     * -
102       - [31:24]                                   102       - [31:24]
103       - [23:16]                                   103       - [23:16]
104       - [15:8]                                    104       - [15:8]
105       - [7:0]                                     105       - [7:0]
106     * - 0                                         106     * - 0
107       -                                           107       -
108       - max(R,G,B) max [7:0]                      108       - max(R,G,B) max [7:0]
109       -                                           109       -
110       - max(R,G,B) min [7:0]                      110       - max(R,G,B) min [7:0]
111     * - 4                                         111     * - 4
112       - :cspan:`4` max(R,G,B) sum [31:0]          112       - :cspan:`4` max(R,G,B) sum [31:0]
113     * - 8                                         113     * - 8
114       - :cspan:`4` max(R,G,B) bin 0 [31:0]        114       - :cspan:`4` max(R,G,B) bin 0 [31:0]
115     * -                                           115     * -
116       - :cspan:`4` ...                            116       - :cspan:`4` ...
117     * - 260                                       117     * - 260
118       - :cspan:`4` max(R,G,B) bin 63 [31:0]       118       - :cspan:`4` max(R,G,B) bin 63 [31:0]
119                                                   119 
120 .. flat-table:: VSP1 HGO Data - 256 Bins, Norm    120 .. flat-table:: VSP1 HGO Data - 256 Bins, Normal Mode (1032 bytes)
121     :header-rows:  2                              121     :header-rows:  2
122     :stub-columns: 0                              122     :stub-columns: 0
123                                                   123 
124     * - Offset                                    124     * - Offset
125       - :cspan:`4` Memory                         125       - :cspan:`4` Memory
126     * -                                           126     * -
127       - [31:24]                                   127       - [31:24]
128       - [23:16]                                   128       - [23:16]
129       - [15:8]                                    129       - [15:8]
130       - [7:0]                                     130       - [7:0]
131     * - 0                                         131     * - 0
132       -                                           132       -
133       - Y max [7:0]                               133       - Y max [7:0]
134       -                                           134       -
135       - Y min [7:0]                               135       - Y min [7:0]
136     * - 4                                         136     * - 4
137       - :cspan:`4` Y sum [31:0]                   137       - :cspan:`4` Y sum [31:0]
138     * - 8                                         138     * - 8
139       - :cspan:`4` Y bin 0 [31:0]                 139       - :cspan:`4` Y bin 0 [31:0]
140     * -                                           140     * -
141       - :cspan:`4` ...                            141       - :cspan:`4` ...
142     * - 1028                                      142     * - 1028
143       - :cspan:`4` Y bin 255 [31:0]               143       - :cspan:`4` Y bin 255 [31:0]
144                                                   144 
145 .. flat-table:: VSP1 HGO Data - 256 Bins, Max     145 .. flat-table:: VSP1 HGO Data - 256 Bins, Max Mode (1032 bytes)
146     :header-rows:  2                              146     :header-rows:  2
147     :stub-columns: 0                              147     :stub-columns: 0
148                                                   148 
149     * - Offset                                    149     * - Offset
150       - :cspan:`4` Memory                         150       - :cspan:`4` Memory
151     * -                                           151     * -
152       - [31:24]                                   152       - [31:24]
153       - [23:16]                                   153       - [23:16]
154       - [15:8]                                    154       - [15:8]
155       - [7:0]                                     155       - [7:0]
156     * - 0                                         156     * - 0
157       -                                           157       -
158       - max(R,G,B) max [7:0]                      158       - max(R,G,B) max [7:0]
159       -                                           159       -
160       - max(R,G,B) min [7:0]                      160       - max(R,G,B) min [7:0]
161     * - 4                                         161     * - 4
162       - :cspan:`4` max(R,G,B) sum [31:0]          162       - :cspan:`4` max(R,G,B) sum [31:0]
163     * - 8                                         163     * - 8
164       - :cspan:`4` max(R,G,B) bin 0 [31:0]        164       - :cspan:`4` max(R,G,B) bin 0 [31:0]
165     * -                                           165     * -
166       - :cspan:`4` ...                            166       - :cspan:`4` ...
167     * - 1028                                      167     * - 1028
168       - :cspan:`4` max(R,G,B) bin 255 [31:0]      168       - :cspan:`4` max(R,G,B) bin 255 [31:0]
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php