-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] Add Y10B, a 10 bpp bit-packed greyscale format
Add a 10 bits per pixel greyscale format in a bit-packed array representation, naming it Y10B. Such pixel format is supplied for instance by the Kinect sensor device. Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
- Loading branch information
Antonio Ospite
authored and
Mauro Carvalho Chehab
committed
May 20, 2011
1 parent
da75191
commit 8bb36c2
Showing
5 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<refentry id="V4L2-PIX-FMT-Y10BPACK"> | ||
<refmeta> | ||
<refentrytitle>V4L2_PIX_FMT_Y10BPACK ('Y10B')</refentrytitle> | ||
&manvol; | ||
</refmeta> | ||
<refnamediv> | ||
<refname><constant>V4L2_PIX_FMT_Y10BPACK</constant></refname> | ||
<refpurpose>Grey-scale image as a bit-packed array</refpurpose> | ||
</refnamediv> | ||
<refsect1> | ||
<title>Description</title> | ||
|
||
<para>This is a packed grey-scale image format with a depth of 10 bits per | ||
pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel, | ||
with no padding between them and with the most significant bits coming | ||
first from the left.</para> | ||
|
||
<example> | ||
<title><constant>V4L2_PIX_FMT_Y10BPACK</constant> 4 pixel data stream taking 5 bytes</title> | ||
|
||
<formalpara> | ||
<title>Bit-packed representation</title> | ||
<para>pixels cross the byte boundary and have a ratio of 5 bytes for each 4 | ||
pixels. | ||
<informaltable frame="all"> | ||
<tgroup cols="5" align="center"> | ||
<colspec align="left" colwidth="2*" /> | ||
<tbody valign="top"> | ||
<row> | ||
<entry>Y'<subscript>00[9:2]</subscript></entry> | ||
<entry>Y'<subscript>00[1:0]</subscript>Y'<subscript>01[9:4]</subscript></entry> | ||
<entry>Y'<subscript>01[3:0]</subscript>Y'<subscript>02[9:6]</subscript></entry> | ||
<entry>Y'<subscript>02[5:0]</subscript>Y'<subscript>03[9:8]</subscript></entry> | ||
<entry>Y'<subscript>03[7:0]</subscript></entry> | ||
</row> | ||
</tbody> | ||
</tgroup> | ||
</informaltable> | ||
</para> | ||
</formalpara> | ||
</example> | ||
</refsect1> | ||
</refentry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -697,6 +697,7 @@ information.</para> | |
&sub-grey; | ||
&sub-y10; | ||
&sub-y12; | ||
&sub-y10b; | ||
&sub-y16; | ||
&sub-yuyv; | ||
&sub-uyvy; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters