pixfmt-y10b.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <refentry id="V4L2-PIX-FMT-Y10BPACK">
  2. <refmeta>
  3. <refentrytitle>V4L2_PIX_FMT_Y10BPACK ('Y10B')</refentrytitle>
  4. &manvol;
  5. </refmeta>
  6. <refnamediv>
  7. <refname><constant>V4L2_PIX_FMT_Y10BPACK</constant></refname>
  8. <refpurpose>Grey-scale image as a bit-packed array</refpurpose>
  9. </refnamediv>
  10. <refsect1>
  11. <title>Description</title>
  12. <para>This is a packed grey-scale image format with a depth of 10 bits per
  13. pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel,
  14. with no padding between them and with the most significant bits coming
  15. first from the left.</para>
  16. <example>
  17. <title><constant>V4L2_PIX_FMT_Y10BPACK</constant> 4 pixel data stream taking 5 bytes</title>
  18. <formalpara>
  19. <title>Bit-packed representation</title>
  20. <para>pixels cross the byte boundary and have a ratio of 5 bytes for each 4
  21. pixels.
  22. <informaltable frame="all">
  23. <tgroup cols="5" align="center">
  24. <colspec align="left" colwidth="2*" />
  25. <tbody valign="top">
  26. <row>
  27. <entry>Y'<subscript>00[9:2]</subscript></entry>
  28. <entry>Y'<subscript>00[1:0]</subscript>Y'<subscript>01[9:4]</subscript></entry>
  29. <entry>Y'<subscript>01[3:0]</subscript>Y'<subscript>02[9:6]</subscript></entry>
  30. <entry>Y'<subscript>02[5:0]</subscript>Y'<subscript>03[9:8]</subscript></entry>
  31. <entry>Y'<subscript>03[7:0]</subscript></entry>
  32. </row>
  33. </tbody>
  34. </tgroup>
  35. </informaltable>
  36. </para>
  37. </formalpara>
  38. </example>
  39. </refsect1>
  40. </refentry>