summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c (follow)
Commit message (Collapse)AuthorAge
* its much better to clear everytime the lcdChristian Gmeiner2006-03-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9342 a1c6a512-1295-4272-9138-f99709370657
* oops.. fix yellow buildsChristian Gmeiner2006-03-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9341 a1c6a512-1295-4272-9138-f99709370657
* Patch #4936 from Jonathan Gordon with a small change by me. slideshow ↵Christian Gmeiner2006-03-29
| | | | | | support for JPEG viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9340 a1c6a512-1295-4272-9138-f99709370657
* Removed unused debug function which caused a warning for 64bit simulators.Jens Arnold2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8895 a1c6a512-1295-4272-9138-f99709370657
* Code Police raid. Mostly changed // comments and indented to Rockbox style.Daniel Stenberg2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
* Finally - grayscale library support for the simulators. Currently SDL only, ↵Jens Arnold2006-02-26
| | | | | | win32 and x11 won't link anymore due to missing simulator functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
* Button driver for iAudio X5Linus Nielsen Feltzing2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
* Add ASM optimised range_limit() for ARM, which gives a tiny performanceThom Johansen2006-02-19
| | | | | | | gain. Removed a couple of tabs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8740 a1c6a512-1295-4272-9138-f99709370657
* Repeat rate adaption is now handled by the button driver.Jens Arnold2006-02-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8739 a1c6a512-1295-4272-9138-f99709370657
* Replace the range_limit lookup table with an inline function, asm optimised ↵Jens Arnold2006-02-19
| | | | | | for SH1 and coldfire. Slight speedup on SH1, up to 15% speedup on coldfire. Saves almost 1KB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8736 a1c6a512-1295-4272-9138-f99709370657
* Oops, fix the simulator buildsHristo Kovachev2006-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8730 a1c6a512-1295-4272-9138-f99709370657
* Okay, clearing the display twice doesn't give us anything more..Hristo Kovachev2006-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8729 a1c6a512-1295-4272-9138-f99709370657
* "Next/Previous jpeg from within the JPEG viewer" addition by Alexander ↵Hristo Kovachev2006-02-18
| | | | | | | | | Spyridakis, modified a bit by me Also tries to use the plugin buffer instead of the audio buffer on the platforms with more than 130kb plugin buffer size (thus not stopping the music playback). If the free buffer from the plugin buffer is not enough, asks for stopping playback. Needs a little more work, but seems stable as it is. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8728 a1c6a512-1295-4272-9138-f99709370657
* Put not-so-large arrays on the stack, so they end up in IRAM on Iriver and ↵Jens Arnold2006-02-17
| | | | | | iPod. Approximately doubles decoding speed on Iriver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8717 a1c6a512-1295-4272-9138-f99709370657
* Use macro instead of literal constant for readability.Jens Arnold2006-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8716 a1c6a512-1295-4272-9138-f99709370657
* Colour JPEG display on colour targets.Jens Arnold2006-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8715 a1c6a512-1295-4272-9138-f99709370657
* the JPEG core can now also decode color images, this has to be wired to the ↵Jörg Hohensohn2006-02-16
| | | | | | application (memory management, color space converting display) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8711 a1c6a512-1295-4272-9138-f99709370657
* JPEG viewer adapted to colour targets (greyscale only for now). New ↵Jens Arnold2006-02-08
| | | | | | functions in the lcd extensions plugin library for drawing canonical greyscale bitmaps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8617 a1c6a512-1295-4272-9138-f99709370657
* Fix typo for iPod 3G keypad check.Dave Chapman2006-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8616 a1c6a512-1295-4272-9138-f99709370657
* iPod: Make the plugins compile on the iPod 4G grayscaleDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8588 a1c6a512-1295-4272-9138-f99709370657
* New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold2006-01-15
| | | | | | keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
* Fix bug spotted by Alexander Spyridakis - ensure file descriptor is closed ↵Dave Chapman2005-12-11
| | | | | | before exiting plugin with an grayscale lib error git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8220 a1c6a512-1295-4272-9138-f99709370657
* H1x0: Changed lcd_blit() and the grayscale library to use the same internal ↵Jens Arnold2005-09-30
| | | | | | format as on archos (1bpp). While the slowdown of the ISR is minimal (the intermediate buffers are in IRAM), the planar grayscale buffer takes only half the space for a given depth, and gray_update[_rect]() and unbuffered drawing/scrolling are faster because less data needs to be moved. It should also make porting of video.rock somewhat easier. * Archos recorders, Ondios: Some slight optimisations of the grayscale library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7571 a1c6a512-1295-4272-9138-f99709370657
* Adjusted JPEG viewer to H1x0: (1) Button assignments. (2) Workaround for the ↵Jens Arnold2005-07-27
| | | | | | m68k-elf-gcc requiring memcpy internally, by using rb->memcpy explicitly. (3) Variable LCD resolution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7246 a1c6a512-1295-4272-9138-f99709370657
* Complete rework of the grayscale library: (1) Implemented the new rockbox ↵Jens Arnold2005-07-25
| | | | | | graphics api. (2) Added buffered mode, and implemented most drawing functions for buffered mode only. Buffered mode will ease implementation of animated graphics. Some functions are additionally provided as unbuffered versions (drawing grayscale bitmaps, scrolling) since unbuffered mode is better suited for non-animated graphics (JPEG viewer, mandelbrot) and saves some RAM, which is important on Archos. (3) Put all functions in a couple of source files, no more one-function-per-files. This became possible since sectioned compilation for the plugin library and appropriate linking for the pluginswas introduced, otherwise the binaries would be bloated by unused functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7241 a1c6a512-1295-4272-9138-f99709370657
* mp3buf renamed to audiobufLinus Nielsen Feltzing2005-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
* adapted to build on iRiverDaniel Stenberg2005-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
* Changed several places to use button_clear_queue() to empty the button ↵Jens Arnold2005-01-26
| | | | | | queue. Added the ability to empty the (system's) button queue to the X11 simulatr. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
* Plugin rework 1: (most) Compile-time keyboard configuration, for Ondio ↵Jens Arnold2004-10-16
| | | | | | adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (snow) Made USB aware. (video) Added contrast setting to Ondio version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5291 a1c6a512-1295-4272-9138-f99709370657
* grayscale.rock, jpeg.rock and video.rock now use default_event_handler_ex(). ↵Jens Arnold2004-10-12
| | | | | | Adapted and enabled them for Ondio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5264 a1c6a512-1295-4272-9138-f99709370657
* scrollbar() parameters were swappedJens Arnold2004-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4859 a1c6a512-1295-4272-9138-f99709370657
* Removed progressbar() and slidebar()Linus Nielsen Feltzing2004-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4854 a1c6a512-1295-4272-9138-f99709370657
* supporting 4:2:2 vertical subsamplingJörg Hohensohn2004-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4725 a1c6a512-1295-4272-9138-f99709370657
* now supports images with restart markersJörg Hohensohn2004-05-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4693 a1c6a512-1295-4272-9138-f99709370657
* Fixed behaviour when connecting USB, made scrolling a bit faster by not ↵Jens Arnold2004-05-21
| | | | | | emptying the button queue every time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4675 a1c6a512-1295-4272-9138-f99709370657
* JPEG viewer now uses the 'official' grayscale frameworkJens Arnold2004-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4649 a1c6a512-1295-4272-9138-f99709370657
* o removed the grayscale framework, it gets linked in from the libplugin insteadDaniel Stenberg2004-05-19
| | | | | | | | o use the grayscale.h header o killed trailing whitespace git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4640 a1c6a512-1295-4272-9138-f99709370657
* maintain view center when zooming, cache the previous zoom image as far as ↵Jörg Hohensohn2004-05-18
| | | | | | memory allows git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4630 a1c6a512-1295-4272-9138-f99709370657
* Included newest grayscale frameworkJens Arnold2004-05-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4629 a1c6a512-1295-4272-9138-f99709370657
* Included improved grayscale frameworkJens Arnold2004-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4627 a1c6a512-1295-4272-9138-f99709370657
* reject images with restart markers for nowJörg Hohensohn2004-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4619 a1c6a512-1295-4272-9138-f99709370657
* more compatible huffman table parsing, tolerate restart markersJörg Hohensohn2004-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4618 a1c6a512-1295-4272-9138-f99709370657
* jpeg viewer: use Play to zoom in, On to zoom out, arrows to scrollJörg Hohensohn2004-05-12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4613 a1c6a512-1295-4272-9138-f99709370657