Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > cf93d8a8acdcc6fe2225039da0502495 > files > 2710

kernel-doc-2.6.32-131.17.1.el6.centos.plus.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>V4L2_PIX_FMT_SBGGR8 ('BA81')</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API" /><link rel="up" href="ch02s04.html" title="RGB Formats" /><link rel="prev" href="re01.html" title="Packed RGB formats" /><link rel="next" href="re03.html" title="V4L2_PIX_FMT_SGBRG8 ('GBRG')" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">V4L2_PIX_FMT_SBGGR8 ('BA81')</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re01.html">Prev</a>&#160;</td><th width="60%" align="center">RGB Formats</th><td width="20%" align="right">&#160;<a accesskey="n" href="re03.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="V4L2_PIX_FMT_SBGGR8 ('BA81')"><a id="V4L2-PIX-FMT-SBGGR8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p><code class="constant">V4L2_PIX_FMT_SBGGR8</code> &#8212; Bayer RGB format</p></div><div class="refsect1" title="Description"><a id="id2801814"></a><h2>Description</h2><p>This is commonly the native format of digital cameras,
reflecting the arrangement of sensors on the CCD device. Only one red,
green or blue value is given for each pixel. Missing components must
be interpolated from neighbouring pixels. From left to right the first
row consists of a blue and green value, the second row of a green and
red value. This scheme repeats to the right and down for every two
columns and rows.</p><div class="example"><a id="id2801830"></a><p class="title"><b>Example&#160;2.3.&#160;<code class="constant">V4L2_PIX_FMT_SBGGR8</code> 4 &#215; 4
pixel image</b></p><div class="example-contents"><p title="Byte Order."><b>Byte Order.&#160;</b>Each cell is one byte.
	      </p><div class="informaltable"><table border="0"><colgroup><col align="left" /><col /><col /><col /><col /></colgroup><tbody valign="top"><tr><td align="left" valign="top">start&#160;+&#160;0:</td><td align="center" valign="top">B<sub>00</sub></td><td align="center" valign="top">G<sub>01</sub></td><td align="center" valign="top">B<sub>02</sub></td><td align="center" valign="top">G<sub>03</sub></td></tr><tr><td align="left" valign="top">start&#160;+&#160;4:</td><td align="center" valign="top">G<sub>10</sub></td><td align="center" valign="top">R<sub>11</sub></td><td align="center" valign="top">G<sub>12</sub></td><td align="center" valign="top">R<sub>13</sub></td></tr><tr><td align="left" valign="top">start&#160;+&#160;8:</td><td align="center" valign="top">B<sub>20</sub></td><td align="center" valign="top">G<sub>21</sub></td><td align="center" valign="top">B<sub>22</sub></td><td align="center" valign="top">G<sub>23</sub></td></tr><tr><td align="left" valign="top">start&#160;+&#160;12:</td><td align="center" valign="top">G<sub>30</sub></td><td align="center" valign="top">R<sub>31</sub></td><td align="center" valign="top">G<sub>32</sub></td><td align="center" valign="top">R<sub>33</sub></td></tr></tbody></table></div><p title="Byte Order.">
	    </p></div></div><br class="example-break" /></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re01.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s04.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Packed RGB formats&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;V4L2_PIX_FMT_SGBRG8 ('GBRG')</td></tr></table></div></body></html>