On Wed, Jul 21, 2004 at 09:16:10PM +0200, Stefan Lucke wrote:
> 
> Hi,
> 
> for vdr-softdevice I'm trying to stretchblit on mga. When bliting the
> whole surface everything is ok. aspect-ration handling is ok too.
> 
> But when doing croping there is a part on the right side missing.
<snip>
> 
> Now switching to 16:9 stream with AFD information which tells that
> it is 4:3 frame. This should be displayed in fullscreen too.
> 
> [dfb] (re)configuring Videolayer to 720 x 576 (540x576)
> [dfb] creating new surface
> [dfb] (re)configured 0x00200806
> src (90,0 540x576)
> dst (0,0 1024x768)
> doblit: sx = 90 sy = 0 sw = 450 sh = 576
> doblit: dx = 0 dy = 0 dw = 854 dh = 768
> src (90,0 540x576)
> dst (0,0 1024x768)
> doblit: sx = 90 sy = 0 sw = 450 sh = 576
> doblit: dx = 0 dy = 0 dw = 854 dh = 768
> 
> So someone does a clip on the source width (540 - 90 = 450) and
> adjusts dest with (or the other way round).

If your source surface is 540x576 the behaviour is correct. To get the 
results you're after you need to clip the source properly (ie. reduce the 
width to 450).

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


Reply via email to