the attached patches add NTSC 4.43 support and some more refresh rates
a.
>From 7310575d2636ae95064077ffb3159dc2aa20f247 Mon Sep 17 00:00:00 2001 From: Stephen Gallimore <stephen.gallim...@st.com> Date: Sat, 14 Feb 2009 16:53:45 +0000 Subject: [PATCH] (screen) add NTSC-443 TV standard. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Draszik <andre.dras...@st.com> --- include/directfb.h | 5 +++-- src/display/idirectfbscreen.c | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/directfb.h b/include/directfb.h index 1f35997..0ed21fd 100644 --- a/include/directfb.h +++ b/include/directfb.h @@ -2301,8 +2301,9 @@ typedef enum { DSETV_PAL_N = 0x00000080, /* PAL N support (specific) */ DSETV_PAL_NC = 0x00000100, /* PAL NC support (specific) */ DSETV_NTSC_M_JPN = 0x00000200, /* NTSC_JPN support */ - DSETV_DIGITAL = 0x00000400, /* TV standards from the digital domain. specify resolution, scantype, frequency.*/ - DSETV_ALL = 0x000007FF /* All TV Standards*/ + DSETV_NTSC_443 = 0x00000400, /* NTSC with 4.43MHz colour carrier */ + DSETV_DIGITAL = 0x00000800, /* TV standards from the digital domain. specify resolution, scantype, frequency.*/ + DSETV_ALL = 0x00000FFF /* All TV Standards*/ } DFBScreenEncoderTVStandards; /* diff --git a/src/display/idirectfbscreen.c b/src/display/idirectfbscreen.c index 789c36e..a897d5d 100644 --- a/src/display/idirectfbscreen.c +++ b/src/display/idirectfbscreen.c @@ -645,6 +645,11 @@ PatchEncoderConfig( DFBScreenEncoderConfig *patched, patched->frequency = DSEF_60HZ; break; + case DSETV_NTSC_443: + patched->resolution = DSOR_720_480; + patched->frequency = DSEF_60HZ; + break; + default: break; } -- 1.5.6.3
>From d15da5a404b2c2c9c257629c99b60520d58cc6d3 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Andr=C3=A9=20Draszik?= <andre.dras...@st.com> Date: Tue, 7 Apr 2009 14:40:16 -0700 Subject: [PATCH] (screen) Add 30, 24, and 23.976Hz refresh rates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Draszik <andre.dras...@st.com> --- include/directfb.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/directfb.h b/include/directfb.h index 0ed21fd..9545cdf 100644 --- a/include/directfb.h +++ b/include/directfb.h @@ -2328,6 +2328,9 @@ typedef enum { DSEF_59_94HZ = 0x00000008, /* 59.94 Hz Output. */ DSEF_60HZ = 0x00000010, /* 60 Hz Output. */ DSEF_75HZ = 0x00000020, /* 75 Hz Output. */ + DSEF_30HZ = 0x00000040, /* 30 Hz Output. */ + DSEF_24HZ = 0x00000080, /* 24 Hz Output. */ + DSEF_23_976HZ = 0x00000100, /* 23.976 Hz Output. */ } DFBScreenEncoderFrequency; #define DFB_SCREEN_ENCODER_DESC_NAME_LENGTH 24 -- 1.5.6.3
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev