xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-bayer.rst (revision d260c1224786c870edbae09ef6ecf5f35361821e)
1059b1c5bSMauro Carvalho Chehab.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
254f38fcaSMauro Carvalho Chehab
354f38fcaSMauro Carvalho Chehab.. _pixfmt-bayer:
454f38fcaSMauro Carvalho Chehab
554f38fcaSMauro Carvalho Chehab*****************
654f38fcaSMauro Carvalho ChehabRaw Bayer Formats
754f38fcaSMauro Carvalho Chehab*****************
854f38fcaSMauro Carvalho Chehab
954f38fcaSMauro Carvalho ChehabDescription
1054f38fcaSMauro Carvalho Chehab===========
1154f38fcaSMauro Carvalho Chehab
1254f38fcaSMauro Carvalho ChehabThe raw Bayer formats are used by image sensors before much if any processing is
1354f38fcaSMauro Carvalho Chehabperformed on the image. The formats contain green, red and blue components, with
1454f38fcaSMauro Carvalho Chehabalternating lines of red and green, and blue and green pixels in different
1554f38fcaSMauro Carvalho Chehaborders. See also `the Wikipedia article on Bayer filter
1654f38fcaSMauro Carvalho Chehab<https://en.wikipedia.org/wiki/Bayer_filter>`__.
1754f38fcaSMauro Carvalho Chehab
1854f38fcaSMauro Carvalho Chehab
1954f38fcaSMauro Carvalho Chehab.. toctree::
2054f38fcaSMauro Carvalho Chehab    :maxdepth: 1
2154f38fcaSMauro Carvalho Chehab
2254f38fcaSMauro Carvalho Chehab    pixfmt-srggb8
23*d260c122SJacopo Mondi    pixfmt-srggb8-pisp-comp
2454f38fcaSMauro Carvalho Chehab    pixfmt-srggb10
2554f38fcaSMauro Carvalho Chehab    pixfmt-srggb10p
2654f38fcaSMauro Carvalho Chehab    pixfmt-srggb10alaw8
2754f38fcaSMauro Carvalho Chehab    pixfmt-srggb10dpcm8
2854f38fcaSMauro Carvalho Chehab    pixfmt-srggb10-ipu3
2954f38fcaSMauro Carvalho Chehab    pixfmt-srggb12
3054f38fcaSMauro Carvalho Chehab    pixfmt-srggb12p
3154f38fcaSMauro Carvalho Chehab    pixfmt-srggb14
3254f38fcaSMauro Carvalho Chehab    pixfmt-srggb14p
3354f38fcaSMauro Carvalho Chehab    pixfmt-srggb16
34