Hi Gijung, I am not familiar with the hardware you are using, however since the video display layer does not support the DLCAPS_SCREEN_LOCATION capability (and probably also not support DLCAPS_SCREEN_SIZE capability) that indicates that the display layer will not automatically up/down scale the display layer surface to the desired size for output. Support for the DLCAPS_SCREEN_POSITION capability is necessary to be able to reposition the unscaled/scaled destination rectangle in the blended output.
Without knowing the hardware, one last resort approach (expensive) to deal with this situation is to setup video playback to be performed to a non-visible/off-screen surface which is then stretch blit (at the desired frame rate whenever the single/double buffered surface is updated) to the same dedicated display layer in the desired location. BTW: The cropping you are noticing and trying to account for is due to the "overscan" region not being visible. On some DTVs it can actually be disabled (such as with some Sony Bravia models). Content is generally created/produced to account for the various display regions which are known as the Production Aperture (full area), Clean Aperture (central ~99% of Production Aperture, but is actually defined in pixels based on the display mode), Safe Action Area (central 90% for 4:3 of Clean Aperture, with 93% for 16:9), and Safe Title Area (central 80% for 4:3 of Clean Aperture, with 80% horizontal and 90% vertical for 16:9). Good luck! Timothy -- Timothy Strelchun CE Software Engineering Digital Home Group Intel Corporation The views expressed above are my own and not those of Intel >-----Original Message----- >From: directfb-dev-boun...@directfb.org >[mailto:directfb-dev-boun...@directfb.org] On Behalf Of Kim Gi Jung >Sent: Tuesday, January 26, 2010 7:41 PM >To: directfb-dev@directfb.org >Subject: [directfb-dev] Draw image/video on out of screen range. > > > >Hi All, > > > >I got some problem on displaying video/image on screen. > >It can't display some portion of left top and right bottom of >image/video on screen. > >The image/video size looks bigger than screen range. > >So I tried to call SetScreenPosition api to adjust manually. > >But I can call this api on video layer but I can't call on osd >layer since the DLCAPS_SCREEN_POSITION or >DLCAPS_SCREEN_LOCATION flags are not set. > >I'm using sigmadesigns smp8652(Linux tango3 2.6.22.19-27-sigma). > >Do I need to adjust the coordinate of video/imange and its' >size by using SetScreenPosition api or is there other basic way? > >If I need to use SetScreenPosition api or similar api what can >I do if I can't call these apis? > > > >Thanks for your help in advance, > >Gijung _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev