pixfmt-sbggr16.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <refentry id="V4L2-PIX-FMT-SBGGR16">
  2. <refmeta>
  3. <refentrytitle>V4L2_PIX_FMT_SBGGR16 ('BYR2')</refentrytitle>
  4. &manvol;
  5. </refmeta>
  6. <refnamediv>
  7. <refname><constant>V4L2_PIX_FMT_SBGGR16</constant></refname>
  8. <refpurpose>Bayer RGB format</refpurpose>
  9. </refnamediv>
  10. <refsect1>
  11. <title>Description</title>
  12. <para>This format is similar to <link
  13. linkend="V4L2-PIX-FMT-SBGGR8">
  14. <constant>V4L2_PIX_FMT_SBGGR8</constant></link>, except each pixel has
  15. a depth of 16 bits. The least significant byte is stored at lower
  16. memory addresses (little-endian). Note the actual sampling precision
  17. may be lower than 16 bits, for example 10 bits per pixel with values
  18. in range 0 to 1023.</para>
  19. <example>
  20. <title><constant>V4L2_PIX_FMT_SBGGR16</constant> 4 &times; 4
  21. pixel image</title>
  22. <formalpara>
  23. <title>Byte Order.</title>
  24. <para>Each cell is one byte.
  25. <informaltable frame="none">
  26. <tgroup cols="5" align="center">
  27. <colspec align="left" colwidth="2*" />
  28. <tbody valign="top">
  29. <row>
  30. <entry>start&nbsp;+&nbsp;0:</entry>
  31. <entry>B<subscript>00low</subscript></entry>
  32. <entry>B<subscript>00high</subscript></entry>
  33. <entry>G<subscript>01low</subscript></entry>
  34. <entry>G<subscript>01high</subscript></entry>
  35. <entry>B<subscript>02low</subscript></entry>
  36. <entry>B<subscript>02high</subscript></entry>
  37. <entry>G<subscript>03low</subscript></entry>
  38. <entry>G<subscript>03high</subscript></entry>
  39. </row>
  40. <row>
  41. <entry>start&nbsp;+&nbsp;8:</entry>
  42. <entry>G<subscript>10low</subscript></entry>
  43. <entry>G<subscript>10high</subscript></entry>
  44. <entry>R<subscript>11low</subscript></entry>
  45. <entry>R<subscript>11high</subscript></entry>
  46. <entry>G<subscript>12low</subscript></entry>
  47. <entry>G<subscript>12high</subscript></entry>
  48. <entry>R<subscript>13low</subscript></entry>
  49. <entry>R<subscript>13high</subscript></entry>
  50. </row>
  51. <row>
  52. <entry>start&nbsp;+&nbsp;16:</entry>
  53. <entry>B<subscript>20low</subscript></entry>
  54. <entry>B<subscript>20high</subscript></entry>
  55. <entry>G<subscript>21low</subscript></entry>
  56. <entry>G<subscript>21high</subscript></entry>
  57. <entry>B<subscript>22low</subscript></entry>
  58. <entry>B<subscript>22high</subscript></entry>
  59. <entry>G<subscript>23low</subscript></entry>
  60. <entry>G<subscript>23high</subscript></entry>
  61. </row>
  62. <row>
  63. <entry>start&nbsp;+&nbsp;24:</entry>
  64. <entry>G<subscript>30low</subscript></entry>
  65. <entry>G<subscript>30high</subscript></entry>
  66. <entry>R<subscript>31low</subscript></entry>
  67. <entry>R<subscript>31high</subscript></entry>
  68. <entry>G<subscript>32low</subscript></entry>
  69. <entry>G<subscript>32high</subscript></entry>
  70. <entry>R<subscript>33low</subscript></entry>
  71. <entry>R<subscript>33high</subscript></entry>
  72. </row>
  73. </tbody>
  74. </tgroup>
  75. </informaltable>
  76. </para>
  77. </formalpara>
  78. </example>
  79. </refsect1>
  80. </refentry>