All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Gmeiner <christian.gmeiner@gmail.com>
To: linux-media@vger.kernel.org
Subject: [PATCH 2/3] Document 8-bit and 16-bit YCrCb media bus pixel codes
Date: Sun, 10 Jul 2011 18:14:21 +0000	[thread overview]
Message-ID: <CAH9NwWc+zLqPyBcC99wbsbNkdjzMFfn2zuGm1VfmZctgpOGMew@mail.gmail.com> (raw)

Signed-off-by: Christian Gmeiner
---
diff --git a/Documentation/DocBook/media/v4l/subdev-formats.xml
b/Documentation/DocBook/media/v4l/subdev-formats.xml
index 49c532e..18e30b0 100644
--- a/Documentation/DocBook/media/v4l/subdev-formats.xml
+++ b/Documentation/DocBook/media/v4l/subdev-formats.xml
@@ -2565,5 +2565,43 @@
        </tgroup>
       </table>
     </section>
+
+    <section>
+      <title>YCrCb Formats</title>
+
+      <para>YCbCr represents colors as a combination of three values:
+      <itemizedlist>
+       <listitem><para>Y - the luminosity (roughly the
brightness)</para></listitem>
+       <listitem><para>Cb - the chrominance of the blue
primary</para></listitem>
+       <listitem><para>Cr - the chrominance of the red
primary</para></listitem>
+      </itemizedlist>
+      </para>
+
+      <para>The following table lists existing YCrCb compressed formats.</para>
+
+      <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-ycrcb">
+       <title>YCrCb Formats</title>
+       <tgroup cols="2">
+         <colspec colname="id" align="left" />
+         <colspec colname="code" align="left"/>
+         <thead>
+           <row>
+             <entry>Identifier</entry>
+             <entry>Code</entry>
+           </row>
+         </thead>
+         <tbody valign="top">
+           <row id="V4L2_MBUS_FMT_YCRCB_1X8">
+             <entry>V4L2_MBUS_FMT_YCRCB_1X8</entry>
+             <entry>0x5001</entry>
+           </row>
+           <row id="V4L2_MBUS_FMT_YCRCB_1X16">
+             <entry>V4L2_MBUS_FMT_YCRCB_1X16</entry>
+             <entry>0x5002</entry>
+           </row>
+         </tbody>
+       </tgroup>
+       </table>
+    </section>
   </section>
 </section>
--
1.7.6

             reply	other threads:[~2011-07-10 18:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 18:14 Christian Gmeiner [this message]
2011-07-11 10:58 ` [PATCH 2/3] Document 8-bit and 16-bit YCrCb media bus pixel codes Laurent Pinchart
2011-07-11 21:28   ` Christian Gmeiner
2011-07-13 18:58     ` Christian Gmeiner
2011-07-14  9:45       ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH9NwWc+zLqPyBcC99wbsbNkdjzMFfn2zuGm1VfmZctgpOGMew@mail.gmail.com \
    --to=christian.gmeiner@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.