|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-users] G550, TV-Out, SetFieldParity
Hi,
I've some problems selecting field parity with G550.
Setting cooperative level to ADMINISTRATIVE with the following code:
fprintf(stderr,"[dfb] Configuring CooperativeLevel for Overlay\n");
videoLayer->SetCooperativeLevel(DLSCL_ADMINISTRATIVE);
//videoLayer->SetCooperativeLevel(DLSCL_EXCLUSIVE);
fprintf(stderr,"[dfb] Configuring ColorKeying\n");
//videoLayer->SetDstColorKey(COLORKEY);
fprintf(stderr,"[dfb] Configuring CooperativeLevel for OSD\n");
osdLayer->SetCooperativeLevel(DLSCL_ADMINISTRATIVE);
//osdLayer->SetCooperativeLevel(DLSCL_EXCLUSIVE);
and selecting field parity with:
if (setupStore.useMGAtv && (desc.caps & DLCAPS_FIELD_PARITY)) {
dlc.flags = DLCONF_OPTIONS;
dlc.options = DLOP_FIELD_PARITY;
try {
videoLayer->SetConfiguration(dlc);
}
catch (DFBException *ex) {
fprintf (stderr,"Caught: action=%s, result=%s\n",
ex->GetAction(), ex->GetResult());
}
try {
videoLayer->SetFieldParity(0);
}
catch (DFBException *ex) {
fprintf (stderr,"Caught: action=%s, result=%s (could not set field parity)\n",
ex->GetAction(), ex->GetResult());
}
}
I get the following output:
[dfb] Configuring CooperativeLevel for Overlay
[dfb] Configuring ColorKeying
[dfb] Configuring CooperativeLevel for OSD
[dfb] Using this layer for OSD: Matrox CRTC2 Layer
[dfb] Using this layer for Video out: Matrox CRTC2 Layer
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] creating new surface
Caught: action=IDirectFBDisplayLayer::SetFieldParity(int), result=Access denied! (could not set field parity)
[dfb] (re)configured 0x00200806
but the picture is shown on TV-out. When I set cooperative level to EXCLUSIVE,
the messages are like this and the screen stays black :-( :
[dfb] Configuring CooperativeLevel for Overlay
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
[dfb] Configuring ColorKeying
[dfb] Configuring CooperativeLevel for OSD
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
[dfb] Using this layer for OSD: Matrox CRTC2 Layer
[dfb] Using this layer for Video out: Matrox CRTC2 Layer
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] creating new surface
[dfb] (re)configured 0x00200806
Are there some other preconditions for setting/selecting field parity ?
--
Stefan Lucke
|
|
| directfb.org |
|
Development |
|
Old Archives |