diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2011-12-28 04:17:26 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 07:43:27 -0400 |
commit | 440f0fadd407c66abe285ce26ed8c31fb2403f0d (patch) | |
tree | b170228ba1b3310be82ed82853287df3004460de /Documentation/DocBook | |
parent | 1e3afaea569cc12ef02cced0acb6c7e39067b169 (diff) |
[media] v4l: Add DPCM compressed raw bayer pixel formats
Add three other colour orders for 10-bit to 8-bit DPCM compressed raw bayer
pixel formats.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt-srggb10.xml | 2 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt-srggb10dpcm8.xml | 29 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt.xml | 6 |
3 files changed, 31 insertions, 6 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt-srggb10.xml b/Documentation/DocBook/media/v4l/pixfmt-srggb10.xml index 7b274092e60c..c1c62a9acc2a 100644 --- a/Documentation/DocBook/media/v4l/pixfmt-srggb10.xml +++ b/Documentation/DocBook/media/v4l/pixfmt-srggb10.xml | |||
@@ -1,4 +1,4 @@ | |||
1 | <refentry> | 1 | <refentry id="pixfmt-srggb10"> |
2 | <refmeta> | 2 | <refmeta> |
3 | <refentrytitle>V4L2_PIX_FMT_SRGGB10 ('RG10'), | 3 | <refentrytitle>V4L2_PIX_FMT_SRGGB10 ('RG10'), |
4 | V4L2_PIX_FMT_SGRBG10 ('BA10'), | 4 | V4L2_PIX_FMT_SGRBG10 ('BA10'), |
diff --git a/Documentation/DocBook/media/v4l/pixfmt-srggb10dpcm8.xml b/Documentation/DocBook/media/v4l/pixfmt-srggb10dpcm8.xml new file mode 100644 index 000000000000..8eace3e2e7d4 --- /dev/null +++ b/Documentation/DocBook/media/v4l/pixfmt-srggb10dpcm8.xml | |||
@@ -0,0 +1,29 @@ | |||
1 | <refentry id="pixfmt-srggb10dpcm8"> | ||
2 | <refmeta> | ||
3 | <refentrytitle> | ||
4 | V4L2_PIX_FMT_SBGGR10DPCM8 ('bBA8'), | ||
5 | V4L2_PIX_FMT_SGBRG10DPCM8 ('bGA8'), | ||
6 | V4L2_PIX_FMT_SGRBG10DPCM8 ('BD10'), | ||
7 | V4L2_PIX_FMT_SRGGB10DPCM8 ('bRA8'), | ||
8 | </refentrytitle> | ||
9 | &manvol; | ||
10 | </refmeta> | ||
11 | <refnamediv> | ||
12 | <refname id="V4L2-PIX-FMT-SBGGR10DPCM8"><constant>V4L2_PIX_FMT_SBGGR10DPCM8</constant></refname> | ||
13 | <refname id="V4L2-PIX-FMT-SGBRG10DPCM8"><constant>V4L2_PIX_FMT_SGBRG10DPCM8</constant></refname> | ||
14 | <refname id="V4L2-PIX-FMT-SGRBG10DPCM8"><constant>V4L2_PIX_FMT_SGRBG10DPCM8</constant></refname> | ||
15 | <refname id="V4L2-PIX-FMT-SRGGB10DPCM8"><constant>V4L2_PIX_FMT_SRGGB10DPCM8</constant></refname> | ||
16 | <refpurpose>10-bit Bayer formats compressed to 8 bits</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsect1> | ||
19 | <title>Description</title> | ||
20 | |||
21 | <para>The following four pixel formats are raw sRGB / Bayer formats | ||
22 | with 10 bits per colour compressed to 8 bits each, using DPCM | ||
23 | compression. DPCM, differential pulse-code modulation, is lossy. | ||
24 | Each colour component consumes 8 bits of memory. In other respects | ||
25 | this format is similar to <xref | ||
26 | linkend="pixfmt-srggb10">.</xref></para> | ||
27 | |||
28 | </refsect1> | ||
29 | </refentry> | ||
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml index 31eaae2469f9..f5ac15ed0549 100644 --- a/Documentation/DocBook/media/v4l/pixfmt.xml +++ b/Documentation/DocBook/media/v4l/pixfmt.xml | |||
@@ -673,6 +673,7 @@ access the palette, this must be done with ioctls of the Linux framebuffer API.< | |||
673 | &sub-srggb8; | 673 | &sub-srggb8; |
674 | &sub-sbggr16; | 674 | &sub-sbggr16; |
675 | &sub-srggb10; | 675 | &sub-srggb10; |
676 | &sub-srggb10dpcm8; | ||
676 | &sub-srggb12; | 677 | &sub-srggb12; |
677 | </section> | 678 | </section> |
678 | 679 | ||
@@ -876,11 +877,6 @@ kernel sources in the file <filename>Documentation/video4linux/cx2341x/README.hm | |||
876 | <entry>'S561'</entry> | 877 | <entry>'S561'</entry> |
877 | <entry>Compressed GBRG Bayer format used by the gspca driver.</entry> | 878 | <entry>Compressed GBRG Bayer format used by the gspca driver.</entry> |
878 | </row> | 879 | </row> |
879 | <row id="V4L2-PIX-FMT-SGRBG10DPCM8"> | ||
880 | <entry><constant>V4L2_PIX_FMT_SGRBG10DPCM8</constant></entry> | ||
881 | <entry>'DB10'</entry> | ||
882 | <entry>10 bit raw Bayer DPCM compressed to 8 bits.</entry> | ||
883 | </row> | ||
884 | <row id="V4L2-PIX-FMT-PAC207"> | 880 | <row id="V4L2-PIX-FMT-PAC207"> |
885 | <entry><constant>V4L2_PIX_FMT_PAC207</constant></entry> | 881 | <entry><constant>V4L2_PIX_FMT_PAC207</constant></entry> |
886 | <entry>'P207'</entry> | 882 | <entry>'P207'</entry> |