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

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/v4l/metafmt-generic.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-generic.rst (Architecture mips) and /Documentation/userspace-api/media/v4l/metafmt-generic.rst (Architecture sparc)


  1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.      1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
  2                                                     2 
  3 **********************************************      3 ********************************************************************************************************************************************************************************************************************************************************************************
  4 V4L2_META_FMT_GENERIC_8 ('MET8'), V4L2_META_FM      4 V4L2_META_FMT_GENERIC_8 ('MET8'), V4L2_META_FMT_GENERIC_CSI2_10 ('MC1A'), V4L2_META_FMT_GENERIC_CSI2_12 ('MC1C'), V4L2_META_FMT_GENERIC_CSI2_14 ('MC1E'), V4L2_META_FMT_GENERIC_CSI2_16 ('MC1G'), V4L2_META_FMT_GENERIC_CSI2_20 ('MC1K'), V4L2_META_FMT_GENERIC_CSI2_24 ('MC1O')
  5 **********************************************      5 ********************************************************************************************************************************************************************************************************************************************************************************
  6                                                     6 
  7                                                     7 
  8 Generic line-based metadata formats                 8 Generic line-based metadata formats
  9                                                     9 
 10                                                    10 
 11 Description                                        11 Description
 12 ===========                                        12 ===========
 13                                                    13 
 14 These generic line-based metadata formats defi     14 These generic line-based metadata formats define the memory layout of the data
 15 without defining the format or meaning of the      15 without defining the format or meaning of the metadata itself.
 16                                                    16 
 17 .. _v4l2-meta-fmt-generic-8:                       17 .. _v4l2-meta-fmt-generic-8:
 18                                                    18 
 19 V4L2_META_FMT_GENERIC_8                            19 V4L2_META_FMT_GENERIC_8
 20 -----------------------                            20 -----------------------
 21                                                    21 
 22 The V4L2_META_FMT_GENERIC_8 format is a plain      22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format
 23 is used on CSI-2 for 8 bits per :term:`Data Un     23 is used on CSI-2 for 8 bits per :term:`Data Unit`.
 24                                                    24 
 25 Additionally it is used for 16 bits per Data U     25 Additionally it is used for 16 bits per Data Unit when two bytes of metadata are
 26 packed into one 16-bit Data Unit. Otherwise th     26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is
 27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta     27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`.
 28                                                    28 
 29 **Byte Order Of V4L2_META_FMT_GENERIC_8.**         29 **Byte Order Of V4L2_META_FMT_GENERIC_8.**
 30 Each cell is one byte. "M" denotes a byte of m     30 Each cell is one byte. "M" denotes a byte of metadata.
 31                                                    31 
 32 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm     32 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|
 33                                                    33 
 34 .. flat-table:: Sample 4x2 Metadata Frame          34 .. flat-table:: Sample 4x2 Metadata Frame
 35     :header-rows:  0                               35     :header-rows:  0
 36     :stub-columns: 0                               36     :stub-columns: 0
 37     :widths: 12 8 8 8 8                            37     :widths: 12 8 8 8 8
 38                                                    38 
 39     * - start + 0:                                 39     * - start + 0:
 40       - M\ :sub:`00`                               40       - M\ :sub:`00`
 41       - M\ :sub:`10`                               41       - M\ :sub:`10`
 42       - M\ :sub:`20`                               42       - M\ :sub:`20`
 43       - M\ :sub:`30`                               43       - M\ :sub:`30`
 44     * - start + 4:                                 44     * - start + 4:
 45       - M\ :sub:`01`                               45       - M\ :sub:`01`
 46       - M\ :sub:`11`                               46       - M\ :sub:`11`
 47       - M\ :sub:`21`                               47       - M\ :sub:`21`
 48       - M\ :sub:`31`                               48       - M\ :sub:`31`
 49                                                    49 
 50 .. _v4l2-meta-fmt-generic-csi2-10:                 50 .. _v4l2-meta-fmt-generic-csi2-10:
 51                                                    51 
 52 V4L2_META_FMT_GENERIC_CSI2_10                      52 V4L2_META_FMT_GENERIC_CSI2_10
 53 -----------------------------                      53 -----------------------------
 54                                                    54 
 55 V4L2_META_FMT_GENERIC_CSI2_10 contains 8-bit g     55 V4L2_META_FMT_GENERIC_CSI2_10 contains 8-bit generic metadata packed in 10-bit
 56 Data Units, with one padding byte after every      56 Data Units, with one padding byte after every four bytes of metadata. This
 57 format is typically used by CSI-2 receivers wi     57 format is typically used by CSI-2 receivers with a source that transmits
 58 MEDIA_BUS_FMT_META_10 and the CSI-2 receiver w     58 MEDIA_BUS_FMT_META_10 and the CSI-2 receiver writes the received data to memory
 59 as-is.                                             59 as-is.
 60                                                    60 
 61 The packing of the data follows the MIPI CSI-2     61 The packing of the data follows the MIPI CSI-2 specification and the padding of
 62 the data is defined in the MIPI CCS specificat     62 the data is defined in the MIPI CCS specification.
 63                                                    63 
 64 This format is also used in conjunction with 2     64 This format is also used in conjunction with 20 bits per :term:`Data Unit`
 65 formats that pack two bytes of metadata into o     65 formats that pack two bytes of metadata into one Data Unit. Otherwise the
 66 20 bits per pixel dataformat is :ref:`V4L2_MET     66 20 bits per pixel dataformat is :ref:`V4L2_META_FMT_GENERIC_CSI2_20
 67 <v4l2-meta-fmt-generic-csi2-20>`.                  67 <v4l2-meta-fmt-generic-csi2-20>`.
 68                                                    68 
 69 This format is little endian.                      69 This format is little endian.
 70                                                    70 
 71 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_10.     71 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_10.**
 72 Each cell is one byte. "M" denotes a byte of m     72 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
 73                                                    73 
 74 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm     74 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{.8cm}|
 75                                                    75 
 76 .. flat-table:: Sample 4x2 Metadata Frame          76 .. flat-table:: Sample 4x2 Metadata Frame
 77     :header-rows:  0                               77     :header-rows:  0
 78     :stub-columns: 0                               78     :stub-columns: 0
 79     :widths: 12 8 8 8 8 8                          79     :widths: 12 8 8 8 8 8
 80                                                    80 
 81     * - start + 0:                                 81     * - start + 0:
 82       - M\ :sub:`00`                               82       - M\ :sub:`00`
 83       - M\ :sub:`10`                               83       - M\ :sub:`10`
 84       - M\ :sub:`20`                               84       - M\ :sub:`20`
 85       - M\ :sub:`30`                               85       - M\ :sub:`30`
 86       - x                                          86       - x
 87     * - start + 5:                                 87     * - start + 5:
 88       - M\ :sub:`01`                               88       - M\ :sub:`01`
 89       - M\ :sub:`11`                               89       - M\ :sub:`11`
 90       - M\ :sub:`21`                               90       - M\ :sub:`21`
 91       - M\ :sub:`31`                               91       - M\ :sub:`31`
 92       - x                                          92       - x
 93                                                    93 
 94 .. _v4l2-meta-fmt-generic-csi2-12:                 94 .. _v4l2-meta-fmt-generic-csi2-12:
 95                                                    95 
 96 V4L2_META_FMT_GENERIC_CSI2_12                      96 V4L2_META_FMT_GENERIC_CSI2_12
 97 -----------------------------                      97 -----------------------------
 98                                                    98 
 99 V4L2_META_FMT_GENERIC_CSI2_12 contains 8-bit g     99 V4L2_META_FMT_GENERIC_CSI2_12 contains 8-bit generic metadata packed in 12-bit
100 Data Units, with one padding byte after every     100 Data Units, with one padding byte after every two bytes of metadata. This format
101 is typically used by CSI-2 receivers with a so    101 is typically used by CSI-2 receivers with a source that transmits
102 MEDIA_BUS_FMT_META_12 and the CSI-2 receiver w    102 MEDIA_BUS_FMT_META_12 and the CSI-2 receiver writes the received data to memory
103 as-is.                                            103 as-is.
104                                                   104 
105 The packing of the data follows the MIPI CSI-2    105 The packing of the data follows the MIPI CSI-2 specification and the padding of
106 the data is defined in the MIPI CCS specificat    106 the data is defined in the MIPI CCS specification.
107                                                   107 
108 This format is also used in conjunction with 2    108 This format is also used in conjunction with 24 bits per :term:`Data Unit`
109 formats that pack two bytes of metadata into o    109 formats that pack two bytes of metadata into one Data Unit. Otherwise the
110 24 bits per pixel dataformat is :ref:`V4L2_MET    110 24 bits per pixel dataformat is :ref:`V4L2_META_FMT_GENERIC_CSI2_24
111 <v4l2-meta-fmt-generic-csi2-24>`.                 111 <v4l2-meta-fmt-generic-csi2-24>`.
112                                                   112 
113 This format is little endian.                     113 This format is little endian.
114                                                   114 
115 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_12.    115 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_12.**
116 Each cell is one byte. "M" denotes a byte of m    116 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
117                                                   117 
118 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm    118 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{.8cm}|p{.8cm}|
119                                                   119 
120 .. flat-table:: Sample 4x2 Metadata Frame         120 .. flat-table:: Sample 4x2 Metadata Frame
121     :header-rows:  0                              121     :header-rows:  0
122     :stub-columns: 0                              122     :stub-columns: 0
123     :widths: 12 8 8 8 8 8 8                       123     :widths: 12 8 8 8 8 8 8
124                                                   124 
125     * - start + 0:                                125     * - start + 0:
126       - M\ :sub:`00`                              126       - M\ :sub:`00`
127       - M\ :sub:`10`                              127       - M\ :sub:`10`
128       - x                                         128       - x
129       - M\ :sub:`20`                              129       - M\ :sub:`20`
130       - M\ :sub:`30`                              130       - M\ :sub:`30`
131       - x                                         131       - x
132     * - start + 6:                                132     * - start + 6:
133       - M\ :sub:`01`                              133       - M\ :sub:`01`
134       - M\ :sub:`11`                              134       - M\ :sub:`11`
135       - x                                         135       - x
136       - M\ :sub:`21`                              136       - M\ :sub:`21`
137       - M\ :sub:`31`                              137       - M\ :sub:`31`
138       - x                                         138       - x
139                                                   139 
140 .. _v4l2-meta-fmt-generic-csi2-14:                140 .. _v4l2-meta-fmt-generic-csi2-14:
141                                                   141 
142 V4L2_META_FMT_GENERIC_CSI2_14                     142 V4L2_META_FMT_GENERIC_CSI2_14
143 -----------------------------                     143 -----------------------------
144                                                   144 
145 V4L2_META_FMT_GENERIC_CSI2_14 contains 8-bit g    145 V4L2_META_FMT_GENERIC_CSI2_14 contains 8-bit generic metadata packed in 14-bit
146 Data Units, with three padding bytes after eve    146 Data Units, with three padding bytes after every four bytes of metadata. This
147 format is typically used by CSI-2 receivers wi    147 format is typically used by CSI-2 receivers with a source that transmits
148 MEDIA_BUS_FMT_META_14 and the CSI-2 receiver w    148 MEDIA_BUS_FMT_META_14 and the CSI-2 receiver writes the received data to memory
149 as-is.                                            149 as-is.
150                                                   150 
151 The packing of the data follows the MIPI CSI-2    151 The packing of the data follows the MIPI CSI-2 specification and the padding of
152 the data is defined in the MIPI CCS specificat    152 the data is defined in the MIPI CCS specification.
153                                                   153 
154 This format is little endian.                     154 This format is little endian.
155                                                   155 
156 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_14.    156 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_14.**
157 Each cell is one byte. "M" denotes a byte of m    157 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
158                                                   158 
159 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm    159 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{.8cm}|
160                                                   160 
161 .. flat-table:: Sample 4x2 Metadata Frame         161 .. flat-table:: Sample 4x2 Metadata Frame
162     :header-rows:  0                              162     :header-rows:  0
163     :stub-columns: 0                              163     :stub-columns: 0
164     :widths: 12 8 8 8 8 8 8 8                     164     :widths: 12 8 8 8 8 8 8 8
165                                                   165 
166     * - start + 0:                                166     * - start + 0:
167       - M\ :sub:`00`                              167       - M\ :sub:`00`
168       - M\ :sub:`10`                              168       - M\ :sub:`10`
169       - M\ :sub:`20`                              169       - M\ :sub:`20`
170       - M\ :sub:`30`                              170       - M\ :sub:`30`
171       - x                                         171       - x
172       - x                                         172       - x
173       - x                                         173       - x
174     * - start + 7:                                174     * - start + 7:
175       - M\ :sub:`01`                              175       - M\ :sub:`01`
176       - M\ :sub:`11`                              176       - M\ :sub:`11`
177       - M\ :sub:`21`                              177       - M\ :sub:`21`
178       - M\ :sub:`31`                              178       - M\ :sub:`31`
179       - x                                         179       - x
180       - x                                         180       - x
181       - x                                         181       - x
182                                                   182 
183 .. _v4l2-meta-fmt-generic-csi2-16:                183 .. _v4l2-meta-fmt-generic-csi2-16:
184                                                   184 
185 V4L2_META_FMT_GENERIC_CSI2_16                     185 V4L2_META_FMT_GENERIC_CSI2_16
186 -----------------------------                     186 -----------------------------
187                                                   187 
188 V4L2_META_FMT_GENERIC_CSI2_16 contains 8-bit g    188 V4L2_META_FMT_GENERIC_CSI2_16 contains 8-bit generic metadata packed in 16-bit
189 Data Units, with one padding byte after every     189 Data Units, with one padding byte after every byte of metadata. This format is
190 typically used by CSI-2 receivers with a sourc    190 typically used by CSI-2 receivers with a source that transmits
191 MEDIA_BUS_FMT_META_16 and the CSI-2 receiver w    191 MEDIA_BUS_FMT_META_16 and the CSI-2 receiver writes the received data to memory
192 as-is.                                            192 as-is.
193                                                   193 
194 The packing of the data follows the MIPI CSI-2    194 The packing of the data follows the MIPI CSI-2 specification and the padding of
195 the data is defined in the MIPI CCS specificat    195 the data is defined in the MIPI CCS specification.
196                                                   196 
197 Some devices support more efficient packing of    197 Some devices support more efficient packing of metadata in conjunction with
198 16-bit image data. In that case the dataformat    198 16-bit image data. In that case the dataformat is
199 :ref:`V4L2_META_FMT_GENERIC_8 <v4l2-meta-fmt-g    199 :ref:`V4L2_META_FMT_GENERIC_8 <v4l2-meta-fmt-generic-8>`.
200                                                   200 
201 This format is little endian.                     201 This format is little endian.
202                                                   202 
203 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_16.    203 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_16.**
204 Each cell is one byte. "M" denotes a byte of m    204 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
205                                                   205 
206 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}    206 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|
207                                                   207 
208 .. flat-table:: Sample 4x2 Metadata Frame         208 .. flat-table:: Sample 4x2 Metadata Frame
209     :header-rows:  0                              209     :header-rows:  0
210     :stub-columns: 0                              210     :stub-columns: 0
211     :widths: 12 8 8 8 8 8 8 8 8                   211     :widths: 12 8 8 8 8 8 8 8 8
212                                                   212 
213     * - start + 0:                                213     * - start + 0:
214       - M\ :sub:`00`                              214       - M\ :sub:`00`
215       - x                                         215       - x
216       - M\ :sub:`10`                              216       - M\ :sub:`10`
217       - x                                         217       - x
218       - M\ :sub:`20`                              218       - M\ :sub:`20`
219       - x                                         219       - x
220       - M\ :sub:`30`                              220       - M\ :sub:`30`
221       - x                                         221       - x
222     * - start + 8:                                222     * - start + 8:
223       - M\ :sub:`01`                              223       - M\ :sub:`01`
224       - x                                         224       - x
225       - M\ :sub:`11`                              225       - M\ :sub:`11`
226       - x                                         226       - x
227       - M\ :sub:`21`                              227       - M\ :sub:`21`
228       - x                                         228       - x
229       - M\ :sub:`31`                              229       - M\ :sub:`31`
230       - x                                         230       - x
231                                                   231 
232 .. _v4l2-meta-fmt-generic-csi2-20:                232 .. _v4l2-meta-fmt-generic-csi2-20:
233                                                   233 
234 V4L2_META_FMT_GENERIC_CSI2_20                     234 V4L2_META_FMT_GENERIC_CSI2_20
235 -----------------------------                     235 -----------------------------
236                                                   236 
237 V4L2_META_FMT_GENERIC_CSI2_20 contains 8-bit g    237 V4L2_META_FMT_GENERIC_CSI2_20 contains 8-bit generic metadata packed in 20-bit
238 Data Units, with alternating one or two paddin    238 Data Units, with alternating one or two padding bytes after every byte of
239 metadata. This format is typically used by CSI    239 metadata. This format is typically used by CSI-2 receivers with a source that
240 transmits MEDIA_BUS_FMT_META_20 and the CSI-2     240 transmits MEDIA_BUS_FMT_META_20 and the CSI-2 receiver writes the received data
241 to memory as-is.                                  241 to memory as-is.
242                                                   242 
243 The packing of the data follows the MIPI CSI-2    243 The packing of the data follows the MIPI CSI-2 specification and the padding of
244 the data is defined in the MIPI CCS specificat    244 the data is defined in the MIPI CCS specification.
245                                                   245 
246 Some devices support more efficient packing of    246 Some devices support more efficient packing of metadata in conjunction with
247 16-bit image data. In that case the dataformat    247 16-bit image data. In that case the dataformat is
248 :ref:`V4L2_META_FMT_GENERIC_CSI2_10 <v4l2-meta    248 :ref:`V4L2_META_FMT_GENERIC_CSI2_10 <v4l2-meta-fmt-generic-csi2-10>`.
249                                                   249 
250 This format is little endian.                     250 This format is little endian.
251                                                   251 
252 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_20.    252 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_20.**
253 Each cell is one byte. "M" denotes a byte of m    253 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
254                                                   254 
255 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}    255 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{.8cm}|
256                                                   256 
257 .. flat-table:: Sample 4x2 Metadata Frame         257 .. flat-table:: Sample 4x2 Metadata Frame
258     :header-rows:  0                              258     :header-rows:  0
259     :stub-columns: 0                              259     :stub-columns: 0
260     :widths: 12 8 8 8 8 8 8 8 8 8 8               260     :widths: 12 8 8 8 8 8 8 8 8 8 8
261                                                   261 
262     * - start + 0:                                262     * - start + 0:
263       - M\ :sub:`00`                              263       - M\ :sub:`00`
264       - x                                         264       - x
265       - M\ :sub:`10`                              265       - M\ :sub:`10`
266       - x                                         266       - x
267       - x                                         267       - x
268       - M\ :sub:`20`                              268       - M\ :sub:`20`
269       - x                                         269       - x
270       - M\ :sub:`30`                              270       - M\ :sub:`30`
271       - x                                         271       - x
272       - x                                         272       - x
273     * - start + 10:                               273     * - start + 10:
274       - M\ :sub:`01`                              274       - M\ :sub:`01`
275       - x                                         275       - x
276       - M\ :sub:`11`                              276       - M\ :sub:`11`
277       - x                                         277       - x
278       - x                                         278       - x
279       - M\ :sub:`21`                              279       - M\ :sub:`21`
280       - x                                         280       - x
281       - M\ :sub:`31`                              281       - M\ :sub:`31`
282       - x                                         282       - x
283       - x                                         283       - x
284                                                   284 
285 .. _v4l2-meta-fmt-generic-csi2-24:                285 .. _v4l2-meta-fmt-generic-csi2-24:
286                                                   286 
287 V4L2_META_FMT_GENERIC_CSI2_24                     287 V4L2_META_FMT_GENERIC_CSI2_24
288 -----------------------------                     288 -----------------------------
289                                                   289 
290 V4L2_META_FMT_GENERIC_CSI2_24 contains 8-bit g    290 V4L2_META_FMT_GENERIC_CSI2_24 contains 8-bit generic metadata packed in 24-bit
291 Data Units, with two padding bytes after every    291 Data Units, with two padding bytes after every byte of metadata. This format is
292 typically used by CSI-2 receivers with a sourc    292 typically used by CSI-2 receivers with a source that transmits
293 MEDIA_BUS_FMT_META_24 and the CSI-2 receiver w    293 MEDIA_BUS_FMT_META_24 and the CSI-2 receiver writes the received data to memory
294 as-is.                                            294 as-is.
295                                                   295 
296 The packing of the data follows the MIPI CSI-2    296 The packing of the data follows the MIPI CSI-2 specification and the padding of
297 the data is defined in the MIPI CCS specificat    297 the data is defined in the MIPI CCS specification.
298                                                   298 
299 Some devices support more efficient packing of    299 Some devices support more efficient packing of metadata in conjunction with
300 16-bit image data. In that case the dataformat    300 16-bit image data. In that case the dataformat is
301 :ref:`V4L2_META_FMT_GENERIC_CSI2_12 <v4l2-meta    301 :ref:`V4L2_META_FMT_GENERIC_CSI2_12 <v4l2-meta-fmt-generic-csi2-12>`.
302                                                   302 
303 This format is little endian.                     303 This format is little endian.
304                                                   304 
305 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_24.    305 **Byte Order Of V4L2_META_FMT_GENERIC_CSI2_24.**
306 Each cell is one byte. "M" denotes a byte of m    306 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
307                                                   307 
308 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}    308 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{.8cm}|
309                                                   309 
310 .. flat-table:: Sample 4x2 Metadata Frame         310 .. flat-table:: Sample 4x2 Metadata Frame
311     :header-rows:  0                              311     :header-rows:  0
312     :stub-columns: 0                              312     :stub-columns: 0
313     :widths: 12 8 8 8 8 8 8 8 8 8 8 8 8           313     :widths: 12 8 8 8 8 8 8 8 8 8 8 8 8
314                                                   314 
315     * - start + 0:                                315     * - start + 0:
316       - M\ :sub:`00`                              316       - M\ :sub:`00`
317       - x                                         317       - x
318       - x                                         318       - x
319       - M\ :sub:`10`                              319       - M\ :sub:`10`
320       - x                                         320       - x
321       - x                                         321       - x
322       - M\ :sub:`20`                              322       - M\ :sub:`20`
323       - x                                         323       - x
324       - x                                         324       - x
325       - M\ :sub:`30`                              325       - M\ :sub:`30`
326       - x                                         326       - x
327       - x                                         327       - x
328     * - start + 12:                               328     * - start + 12:
329       - M\ :sub:`01`                              329       - M\ :sub:`01`
330       - x                                         330       - x
331       - x                                         331       - x
332       - M\ :sub:`11`                              332       - M\ :sub:`11`
333       - x                                         333       - x
334       - x                                         334       - x
335       - M\ :sub:`21`                              335       - M\ :sub:`21`
336       - x                                         336       - x
337       - x                                         337       - x
338       - M\ :sub:`31`                              338       - M\ :sub:`31`
339       - x                                         339       - x
340       - x                                         340       - x
                                                      

~ [ 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