pixfmt-y12.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <refentry id="V4L2-PIX-FMT-Y12">
  2. <refmeta>
  3. <refentrytitle>V4L2_PIX_FMT_Y12 ('Y12 ')</refentrytitle>
  4. &manvol;
  5. </refmeta>
  6. <refnamediv>
  7. <refname><constant>V4L2_PIX_FMT_Y12</constant></refname>
  8. <refpurpose>Grey-scale image</refpurpose>
  9. </refnamediv>
  10. <refsect1>
  11. <title>Description</title>
  12. <para>This is a grey-scale image with a depth of 12 bits per pixel. Pixels
  13. are stored in 16-bit words with unused high bits padded with 0. The least
  14. significant byte is stored at lower memory addresses (little-endian).</para>
  15. <example>
  16. <title><constant>V4L2_PIX_FMT_Y12</constant> 4 &times; 4
  17. pixel image</title>
  18. <formalpara>
  19. <title>Byte Order.</title>
  20. <para>Each cell is one byte.
  21. <informaltable frame="none">
  22. <tgroup cols="9" align="center">
  23. <colspec align="left" colwidth="2*" />
  24. <tbody valign="top">
  25. <row>
  26. <entry>start&nbsp;+&nbsp;0:</entry>
  27. <entry>Y'<subscript>00low</subscript></entry>
  28. <entry>Y'<subscript>00high</subscript></entry>
  29. <entry>Y'<subscript>01low</subscript></entry>
  30. <entry>Y'<subscript>01high</subscript></entry>
  31. <entry>Y'<subscript>02low</subscript></entry>
  32. <entry>Y'<subscript>02high</subscript></entry>
  33. <entry>Y'<subscript>03low</subscript></entry>
  34. <entry>Y'<subscript>03high</subscript></entry>
  35. </row>
  36. <row>
  37. <entry>start&nbsp;+&nbsp;8:</entry>
  38. <entry>Y'<subscript>10low</subscript></entry>
  39. <entry>Y'<subscript>10high</subscript></entry>
  40. <entry>Y'<subscript>11low</subscript></entry>
  41. <entry>Y'<subscript>11high</subscript></entry>
  42. <entry>Y'<subscript>12low</subscript></entry>
  43. <entry>Y'<subscript>12high</subscript></entry>
  44. <entry>Y'<subscript>13low</subscript></entry>
  45. <entry>Y'<subscript>13high</subscript></entry>
  46. </row>
  47. <row>
  48. <entry>start&nbsp;+&nbsp;16:</entry>
  49. <entry>Y'<subscript>20low</subscript></entry>
  50. <entry>Y'<subscript>20high</subscript></entry>
  51. <entry>Y'<subscript>21low</subscript></entry>
  52. <entry>Y'<subscript>21high</subscript></entry>
  53. <entry>Y'<subscript>22low</subscript></entry>
  54. <entry>Y'<subscript>22high</subscript></entry>
  55. <entry>Y'<subscript>23low</subscript></entry>
  56. <entry>Y'<subscript>23high</subscript></entry>
  57. </row>
  58. <row>
  59. <entry>start&nbsp;+&nbsp;24:</entry>
  60. <entry>Y'<subscript>30low</subscript></entry>
  61. <entry>Y'<subscript>30high</subscript></entry>
  62. <entry>Y'<subscript>31low</subscript></entry>
  63. <entry>Y'<subscript>31high</subscript></entry>
  64. <entry>Y'<subscript>32low</subscript></entry>
  65. <entry>Y'<subscript>32high</subscript></entry>
  66. <entry>Y'<subscript>33low</subscript></entry>
  67. <entry>Y'<subscript>33high</subscript></entry>
  68. </row>
  69. </tbody>
  70. </tgroup>
  71. </informaltable>
  72. </para>
  73. </formalpara>
  74. </example>
  75. </refsect1>
  76. </refentry>