Messages in this thread Patch in this message | | | From | Javier Martinez Canillas <> | Subject | [PATCH 1/3] [media] tvp5150: Add constants for PAL and NTSC video standards | Date | Sat, 1 Oct 2011 02:33:49 +0200 |
| |
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
| |