xref: /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/pixfmt-srggb10alaw8.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun.. _V4L2-PIX-FMT-SBGGR10ALAW8:
4*4882a593Smuzhiyun.. _v4l2-pix-fmt-sgbrg10alaw8:
5*4882a593Smuzhiyun.. _v4l2-pix-fmt-sgrbg10alaw8:
6*4882a593Smuzhiyun.. _v4l2-pix-fmt-srggb10alaw8:
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun***********************************************************************************************************************************************
9*4882a593SmuzhiyunV4L2_PIX_FMT_SBGGR10ALAW8 ('aBA8'), V4L2_PIX_FMT_SGBRG10ALAW8 ('aGA8'), V4L2_PIX_FMT_SGRBG10ALAW8 ('agA8'), V4L2_PIX_FMT_SRGGB10ALAW8 ('aRA8'),
10*4882a593Smuzhiyun***********************************************************************************************************************************************
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunV4L2_PIX_FMT_SGBRG10ALAW8
13*4882a593SmuzhiyunV4L2_PIX_FMT_SGRBG10ALAW8
14*4882a593SmuzhiyunV4L2_PIX_FMT_SRGGB10ALAW8
15*4882a593Smuzhiyun10-bit Bayer formats compressed to 8 bits
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunDescription
19*4882a593Smuzhiyun===========
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunThese four pixel formats are raw sRGB / Bayer formats with 10 bits per
22*4882a593Smuzhiyuncolor compressed to 8 bits each, using the A-LAW algorithm. Each color
23*4882a593Smuzhiyuncomponent consumes 8 bits of memory. In other respects this format is
24*4882a593Smuzhiyunsimilar to :ref:`V4L2-PIX-FMT-SRGGB8`.
25