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

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/v4l/pixfmt-srggb10p.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/pixfmt-srggb10p.rst (Architecture m68k) and /Documentation/userspace-api/media/v4l/pixfmt-srggb10p.rst (Architecture alpha)


  1 .. SPDX-License-Identifier: GFDL-1.1-no-invari      1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2                                                     2 
  3 .. _V4L2-PIX-FMT-SRGGB10P:                          3 .. _V4L2-PIX-FMT-SRGGB10P:
  4 .. _v4l2-pix-fmt-sbggr10p:                          4 .. _v4l2-pix-fmt-sbggr10p:
  5 .. _v4l2-pix-fmt-sgbrg10p:                          5 .. _v4l2-pix-fmt-sgbrg10p:
  6 .. _v4l2-pix-fmt-sgrbg10p:                          6 .. _v4l2-pix-fmt-sgrbg10p:
  7                                                     7 
  8 **********************************************      8 *******************************************************************************************************************************
  9 V4L2_PIX_FMT_SRGGB10P ('pRAA'), V4L2_PIX_FMT_S      9 V4L2_PIX_FMT_SRGGB10P ('pRAA'), V4L2_PIX_FMT_SGRBG10P ('pgAA'), V4L2_PIX_FMT_SGBRG10P ('pGAA'), V4L2_PIX_FMT_SBGGR10P ('pBAA'),
 10 **********************************************     10 *******************************************************************************************************************************
 11                                                    11 
 12                                                    12 
 13 V4L2_PIX_FMT_SGRBG10P                              13 V4L2_PIX_FMT_SGRBG10P
 14 V4L2_PIX_FMT_SGBRG10P                              14 V4L2_PIX_FMT_SGBRG10P
 15 V4L2_PIX_FMT_SBGGR10P                              15 V4L2_PIX_FMT_SBGGR10P
 16 10-bit packed Bayer formats                        16 10-bit packed Bayer formats
 17                                                    17 
 18                                                    18 
 19 Description                                        19 Description
 20 ===========                                        20 ===========
 21                                                    21 
 22 These four pixel formats are packed raw sRGB /     22 These four pixel formats are packed raw sRGB / Bayer formats with 10
 23 bits per sample. Every four consecutive sample     23 bits per sample. Every four consecutive samples are packed into 5
 24 bytes. Each of the first 4 bytes contain the 8     24 bytes. Each of the first 4 bytes contain the 8 high order bits
 25 of the pixels, and the 5th byte contains the 2     25 of the pixels, and the 5th byte contains the 2 least significants
 26 bits of each pixel, in the same order.             26 bits of each pixel, in the same order.
 27                                                    27 
 28 Each n-pixel row contains n/2 green samples an     28 Each n-pixel row contains n/2 green samples and n/2 blue or red samples,
 29 with alternating green-red and green-blue rows     29 with alternating green-red and green-blue rows. They are conventionally
 30 described as GRGR... BGBG..., RGRG... GBGB...,     30 described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
 31 of a small V4L2_PIX_FMT_SBGGR10P image:            31 of a small V4L2_PIX_FMT_SBGGR10P image:
 32                                                    32 
 33 **Byte Order.**                                    33 **Byte Order.**
 34 Each cell is one byte.                             34 Each cell is one byte.
 35                                                    35 
 36 .. tabularcolumns:: |p{2.4cm}|p{1.4cm}|p{1.2cm     36 .. tabularcolumns:: |p{2.4cm}|p{1.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{9.3cm}|
 37                                                    37 
 38 .. flat-table::                                    38 .. flat-table::
 39     :header-rows:  0                               39     :header-rows:  0
 40     :stub-columns: 0                               40     :stub-columns: 0
 41     :widths: 12 8 8 8 8 68                         41     :widths: 12 8 8 8 8 68
 42                                                    42 
 43     * - start + 0:                                 43     * - start + 0:
 44       - B\ :sub:`00high`                           44       - B\ :sub:`00high`
 45       - G\ :sub:`01high`                           45       - G\ :sub:`01high`
 46       - B\ :sub:`02high`                           46       - B\ :sub:`02high`
 47       - G\ :sub:`03high`                           47       - G\ :sub:`03high`
 48       - G\ :sub:`03low`\ (bits 7--6) B\ :sub:`     48       - G\ :sub:`03low`\ (bits 7--6) B\ :sub:`02low`\ (bits 5--4)
 49                                                    49 
 50         G\ :sub:`01low`\ (bits 3--2) B\ :sub:`     50         G\ :sub:`01low`\ (bits 3--2) B\ :sub:`00low`\ (bits 1--0)
 51     * - start + 5:                                 51     * - start + 5:
 52       - G\ :sub:`10high`                           52       - G\ :sub:`10high`
 53       - R\ :sub:`11high`                           53       - R\ :sub:`11high`
 54       - G\ :sub:`12high`                           54       - G\ :sub:`12high`
 55       - R\ :sub:`13high`                           55       - R\ :sub:`13high`
 56       - R\ :sub:`13low`\ (bits 7--6) G\ :sub:`     56       - R\ :sub:`13low`\ (bits 7--6) G\ :sub:`12low`\ (bits 5--4)
 57                                                    57 
 58         R\ :sub:`11low`\ (bits 3--2) G\ :sub:`     58         R\ :sub:`11low`\ (bits 3--2) G\ :sub:`10low`\ (bits 1--0)
 59     * - start + 10:                                59     * - start + 10:
 60       - B\ :sub:`20high`                           60       - B\ :sub:`20high`
 61       - G\ :sub:`21high`                           61       - G\ :sub:`21high`
 62       - B\ :sub:`22high`                           62       - B\ :sub:`22high`
 63       - G\ :sub:`23high`                           63       - G\ :sub:`23high`
 64       - G\ :sub:`23low`\ (bits 7--6) B\ :sub:`     64       - G\ :sub:`23low`\ (bits 7--6) B\ :sub:`22low`\ (bits 5--4)
 65                                                    65 
 66         G\ :sub:`21low`\ (bits 3--2) B\ :sub:`     66         G\ :sub:`21low`\ (bits 3--2) B\ :sub:`20low`\ (bits 1--0)
 67     * - start + 15:                                67     * - start + 15:
 68       - G\ :sub:`30high`                           68       - G\ :sub:`30high`
 69       - R\ :sub:`31high`                           69       - R\ :sub:`31high`
 70       - G\ :sub:`32high`                           70       - G\ :sub:`32high`
 71       - R\ :sub:`33high`                           71       - R\ :sub:`33high`
 72       - R\ :sub:`33low`\ (bits 7--6) G\ :sub:`     72       - R\ :sub:`33low`\ (bits 7--6) G\ :sub:`32low`\ (bits 5--4)
 73                                                    73 
 74         R\ :sub:`31low`\ (bits 3--2) G\ :sub:`     74         R\ :sub:`31low`\ (bits 3--2) G\ :sub:`30low`\ (bits 1--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