lkml.org 
[lkml]   [2011]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] [media] tvp5150: Add constants for PAL and NTSC video standards
Date

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
---
include/media/tvp5150.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/media/tvp5150.h b/include/media/tvp5150.h
index 72bd2a2..ccd4ed0 100644
--- a/include/media/tvp5150.h
+++ b/include/media/tvp5150.h
@@ -30,5 +30,11 @@
#define TVP5150_NORMAL 0
#define TVP5150_BLACK_SCREEN 1

+/* Number of pixels and number of lines per frame for different standards */
+#define NTSC_NUM_ACTIVE_PIXELS (720)
+#define NTSC_NUM_ACTIVE_LINES (480)
+#define PAL_NUM_ACTIVE_PIXELS (720)
+#define PAL_NUM_ACTIVE_LINES (576)
+
#endif

--
1.7.4.1


\
 
 \ /
  Last update: 2011-10-01 02:37    [from the cache]
©2003-2011 Jasper Spaans