summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg/jpeg.c (follow)
Commit message (Collapse)AuthorAge
* jpeg,png: Merge user interface code and plugin entry point of the two ↵Teruaki Kawashima2010-01-18
| | | | | | | | | | plugins (part of FS#6321). * Created new directory, imageviewer/ and moved both jpeg/ and png/ under it. - this still doesn't merge the two plugins. i.e. both jpeg.rock and png.rock will be made for color targets. - I'm thinking to merge the two plugins to single image viewer later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24272 a1c6a512-1295-4272-9138-f99709370657
* jpeg,png: Change "Off: Quit." to "Show Menu: Quit." so that the message is ↵Teruaki Kawashima2009-12-21
| | | | | | | | less confusable. fix bug plug_buf is always false in simulator even when plugin buffer is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24093 a1c6a512-1295-4272-9138-f99709370657
* jpeg,png: Separate code to load file from load_and_show().Teruaki Kawashima2009-12-18
| | | | | | Add a way to abort loading to jpeg inspired by png. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24075 a1c6a512-1295-4272-9138-f99709370657
* jpeg/png: Remove erased file name from list of file when change file.Teruaki Kawashima2009-11-18
| | | | | | | Change trivial check of entries (entries is always > 0). Fix bug of r23632 that error message is shown when change file while there is only one file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23662 a1c6a512-1295-4272-9138-f99709370657
* jpeg/png: refactor use of buf.Teruaki Kawashima2009-11-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23655 a1c6a512-1295-4272-9138-f99709370657
* jpeg/png: change file list handling a bit.Teruaki Kawashima2009-11-15
| | | | | | | * don't sort by plugin, use order of browser. * skip directories. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23632 a1c6a512-1295-4272-9138-f99709370657
* jpeg/png: unify code to display image to draw_image(_rect).Teruaki Kawashima2009-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23631 a1c6a512-1295-4272-9138-f99709370657
* Revert r21912 : "Storage API : remove undeeded target-specific functions"Rafaël Carré2009-07-17
| | | | | | | | After a discussion mixed on mailing list and irc, it was agreed that more abstraction for plugins is better (so developers don't have to add a check to HAVE_DISK_STORAGE when writing disk-specific code) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
* Storage API : remove undeeded target-specific functionsRafaël Carré2009-07-17
| | | | | | | storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD remove already unneeded nand_disk_is_active, nand_soft_reset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#10094 by Teruaki Kawashima:Jonathan Gordon2009-06-16
| | | | | | | Replace the old menu API with the "new" one (a very long time overdue so huge thanks for the work.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21306 a1c6a512-1295-4272-9138-f99709370657
* Change Grayscale to Greyscale in the JPEG viewer and add explanation of the ↵Jonas Häggqvist2009-02-19
| | | | | | Display Option menu to the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20045 a1c6a512-1295-4272-9138-f99709370657
* remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, ↵Andrew Mahone2009-01-24
| | | | | | and replace with pluginlib implementations in plugins/lib/gcc-support.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
* unify pointers to value for configfile, and add TYPE_BOOL type, used byAndrew Mahone2009-01-17
| | | | | | pictureflow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do ↵Frank Gevaerts2008-11-01
| | | | | | | | | that, it also introduces sd_*, nand_*, and mmc_*. This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
* Refactor the panning code into separate functions, and correct a commentDave Chapman2008-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18865 a1c6a512-1295-4272-9138-f99709370657
* Make some local global variables static.Dave Chapman2008-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18859 a1c6a512-1295-4272-9138-f99709370657
* Move the monolithic jpeg viewer into its own subdirectory and split it into ↵Dave Chapman2008-10-21
three (for now - maybe it should be split further) files - jpeg.c (the main plugin/viewer parts), jpeg_decoder.c (the actual decoder) and. for colour targets only, yuv2rgb.c. The intention of this commit is as a first step towards abstracting this viewer into a reusable jpeg decoder and a multi-format image viewer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18853 a1c6a512-1295-4272-9138-f99709370657