Mercurial > mplayer.hg
view TOOLS/mwallp/README @ 10578:b9d289fd8a57
10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:
before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr
after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr
if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).
author | rfelker |
---|---|
date | Tue, 12 Aug 2003 08:24:24 +0000 |
parents | 95918d5066b6 |
children |
line wrap: on
line source
mwallp - mplayer's wallpaper setting utility ====== Usage: mwallp file1.jpg [file2.jpg file3.jpg ...] ~~~~~~ About: ~~~~~~ MWallp is a simple tool to set .jpg images as background/wallpaper on the desktop. It scales (bicubic) and convert the given jpg image to desktop size/bpp and set as background of Root window. If more than 1 filenames given, it randomly selects one, so running something like 'mwallp ~/.wallpapers/*.jpg' from cron will randomly changes wallpaper. Why? ~~~~ I've tried several programs, and as most of them used Imlib, their quality sucks (Imlib uses neares-neighbour scaling...). So I've decided to put together something very simple but efficient built using the MPlayer codebase. A'rpi