public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 6] cx88: Enable additional cx2388x features. Version 3
@ 2008-03-23 22:43 Frej Drejhammar
  2008-03-23 22:43 ` [PATCH 1 of 6] v4l2-api: Define a standard control for chroma AGC Frej Drejhammar
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Frej Drejhammar @ 2008-03-23 22:43 UTC (permalink / raw)
  To: video4linux-list; +Cc: Trent Piepho

The cx2388x family of broadcast decoders all have features not enabled
by the standard cx88 driver. This revised patch series adds two new
pre-defined control IDs: V4L2_CID_CHROMA_AGC and V4L2_CID_COLOR_KILLER
(patch 1+4).

Patches 2 and 5 respectively implement these controls for cx88.

Patches 3 and 6 enable these controls by default as the enabled
features will not degrade picture quality when used with high quality
input and will improve quality with marginal input.

The patches applies cleanly to 7400:9a2af878cbd5 of
http://linuxtv.org/hg/v4l-dvb/ and have been tested an a HVR-1300. The
patches should be applied in order, but patches 3 and 6 can be
omitted.

Below is a patch to version 0.24 of the v4l2-spec docbook source
documenting V4L2_CID_CHROMA_AGC and V4L2_CID_COLOR_KILLER. This patch
is untested as building the unmodified spec fails on my system and
build requirements are undocumented.

diff -ur v4l2spec-0.24-original/compat.sgml v4l2spec-0.24/compat.sgml
--- v4l2spec-0.24-original/compat.sgml	2008-03-06 16:42:11.000000000 +0100
+++ v4l2spec-0.24/compat.sgml	2008-03-22 23:48:47.000000000 +0100
@@ -2202,6 +2202,17 @@
 	 </listitem>
        </orderedlist>
      </section>
+
+    <section>
+      <title>V4L2 in Linux 2.6.2x</title>
+      <orderedlist>
+        <listitem>
+          <para>New <link linkend="control">controls</link>
+<constant>V4L2_CID_CHROMA_AGC</constant>,
+<constant>V4L2_CID_COLOR_KILLER</constant>were added.
+        </listitem>
+       </orderedlist>
+     </section>
    </section>
 
    <section id="other">
diff -ur v4l2spec-0.24-original/controls.sgml v4l2spec-0.24/controls.sgml
--- v4l2spec-0.24-original/controls.sgml	2008-03-06 16:42:11.000000000 +0100
+++ v4l2spec-0.24/controls.sgml	2008-03-22 23:16:26.000000000 +0100
@@ -261,11 +261,21 @@
             <entry>Adjusts the backlight compensation in a camera. The
 minimum value disables backlight compensation.</entry>
           </row>
+	  <row>
+            <entry><constant>V4L2_CID_CHROMA_AGC</constant></entry>
+            <entry>boolean</entry>
+            <entry>Enables automatic gain control for the chroma channel.</entry>
+          </row>
+	  <row>
+            <entry><constant>V4L2_CID_COLOR_KILLER</constant></entry>
+            <entry>boolean</entry>
+            <entry>Enables color killer functionality.</entry>
+          </row>
           <row>
             <entry><constant>V4L2_CID_LASTP1</constant></entry>
             <entry></entry>
             <entry>End of the predefined control IDs (currently
-<constant>V4L2_CID_BACKLIGHT_COMPENSATION</constant> + 1).</entry>
+<constant>V4L2_CID_COLOR_KILLER</constant> + 1).</entry>
           </row>
           <row>
             <entry><constant>V4L2_CID_PRIVATE_BASE</constant></entry>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-04-22 18:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-23 22:43 [PATCH 0 of 6] cx88: Enable additional cx2388x features. Version 3 Frej Drejhammar
2008-03-23 22:43 ` [PATCH 1 of 6] v4l2-api: Define a standard control for chroma AGC Frej Drejhammar
2008-03-24  0:12   ` Laurent Pinchart
2008-03-24 11:56     ` Frej Drejhammar
2008-03-24 19:27       ` Laurent Pinchart
2008-03-23 22:43 ` [PATCH 2 of 6] cx88: Add user " Frej Drejhammar
2008-03-23 22:43 ` [PATCH 3 of 6] cx88: Enable chroma AGC by default for all non-SECAM modes Frej Drejhammar
2008-03-23 22:43 ` [PATCH 4 of 6] v4l2-api: Define a standard control for color killer functionality Frej Drejhammar
2008-04-21 23:30   ` Brandon Philips
2008-03-23 22:43 ` [PATCH 5 of 6] cx88: Add user control for color killer Frej Drejhammar
2008-03-23 22:43 ` [PATCH 6 of 6] cx88: Enable color killer by default Frej Drejhammar
2008-03-28 18:43   ` Mauro Carvalho Chehab
2008-03-29 11:18     ` Frej Drejhammar
2008-04-21 23:34 ` [PATCH 0 of 6] cx88: Enable additional cx2388x features. Version 3 Brandon Philips
2008-04-22 16:59   ` Frej Drejhammar
2008-04-22 17:33     ` Brandon Philips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox