1
0
Fork 0
forked from len0rd/rockbox

PictureFlow fixes and improvements:

* Reduced popping effect (FS#8303)
* Scale the empty slide to average album width
* Introduced some visual settings
* Fix FS#8298 but make the criteria a screen height of less than 100 px so that only the c200 gets 50x50 slides

The scaling code is added as a lib function with a basic test plugin that's not compiled by default.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15913 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-12-11 18:54:50 +00:00
parent 303cf259d9
commit a7d08774dc
5 changed files with 322 additions and 66 deletions

View file

@ -27,4 +27,10 @@
*/
int save_bmp_file( char* filename, struct bitmap *bm, struct plugin_api* rb );
/**
Very simple image scale from src to dst (nearest neighbour).
Source and destination dimensions are read from the struct bitmap.
*/
void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst);
#endif