Hi, thanks for your reply. I fiddled a little bit around with this.
It's pretty easy to stretch the image vertically to full screen. You just need to set echo 640,480 > /sys/devices/platform/omapdss/overlay2/output_size and echo 42,30 > /sys/devices/platform/omapdss/overlay2/position The media player does the same. The problem is the horizontal stretch. You can't write to /sys/devices/platform/omapdss/overlay2/input_size and by checking what the media player does i found out that it actually changes this to 640x480 when playing a 4:3 video. Unfortunately the /sys interface doesn't allow to write these, so i'll have a look at the ioctls next. Till Am Freitag 19 März 2010 schrieb Frantisek Dufka: > I don't know if there is some high level api but a lot of things can be > done either via framebuffer ioctl or via changing stuff in > /sys/dev/ices/platform/omapdss/ see > > http://gitorious.org/linux-omap-dss2/linux/blobs/master/Documentation/arm/OMAP/DSS > > Having full PAL or NTSC with no translation/scaling would be good both > for games and video playback too. > > So far I have only succeeded to change the default 800x480 -> TV scaling > to be a bit better so it is no longer fuzzy due to extra downscaling. On > my TV I can get exactly 480 lines visible in PAL mode which makes > reading text much better. > http://talk.maemo.org/showthread.php?p=461660#post461660 > > > For NTSC output (640x480) it would be enough to render to part of the > screen and set the size and offset accordingly. For full PAL it would > need resizing framebuffer to get more lines (ioctl?). > > I wonder how OMAP3 display controller features (gfx,vid1,vid2 planes, > scaling, mirroring, rotation, tv-out) are mapped to Xv and other X APIs. > > Frantisek > _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers