summaryrefslogtreecommitdiff
path: root/apps/recorder/bmp.c (follow)
Commit message (Collapse)AuthorAge
* BMP loader: Using shifts for division by powers of 2 saves a bit on code size.Jens Arnold2006-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11559 a1c6a512-1295-4272-9138-f99709370657
* BMP loader: Remote LCD format support.Jens Arnold2006-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11558 a1c6a512-1295-4272-9138-f99709370657
* Fixed the dithering once more.Jens Arnold2006-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11555 a1c6a512-1295-4272-9138-f99709370657
* Complete rework of the BMP loader: * Support for 4 bit, 15/16 bit and 32 bit ↵Jens Arnold2006-11-18
| | | | | | BMPs in addition to the already supported 1 bit, 8 bit and 24 bit formats. * Better protection against corrupt BMP files. * Added dithering for 2 bit targets. * Optimised, compact code. There's almost no code size increase for SH1 (only 68 bytes), and even a decrease for coldfire, with all the additional features. * Code policed. * Fixes bug that loading a backdrop worked only once per session. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11548 a1c6a512-1295-4272-9138-f99709370657
* Patch #5771 by Frederik Vestre: Fix BMP loader to work in 64bit environments ↵Jens Arnold2006-11-11
| | | | | | (simulator). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11513 a1c6a512-1295-4272-9138-f99709370657
* More color adjustments. Better translation to and from native colors with ↵Michael Sevakis2006-10-15
| | | | | | even distribution of levels. Macros for extracting native depth components and packing them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657
* Left some crud in bmp.c that should've been removed before committing. Don't ↵Michael Sevakis2006-10-12
| | | | | | know what's with me today git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11196 a1c6a512-1295-4272-9138-f99709370657
* Fixed the problem with the backdrops on iPod. The same problem was in the ↵Michael Sevakis2006-10-11
| | | | | | updated color picker and that is fixed too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11195 a1c6a512-1295-4272-9138-f99709370657
* Small bitmap dithering tweakMichael Sevakis2006-10-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11191 a1c6a512-1295-4272-9138-f99709370657
* Fixed errors. Forgot to include system.h for swap16 in bmp.cMichael Sevakis2006-10-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11181 a1c6a512-1295-4272-9138-f99709370657
* Added dithering for 24 bit backdrops on 16 bit displays. FORMAT_DITHER ↵Michael Sevakis2006-10-11
| | | | | | should be specified to dither a bitmap when loading. Feel free to flame me if I got the RGB565SWAPPED thing wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11180 a1c6a512-1295-4272-9138-f99709370657
* Fix color->grayscale bitmap loading on grayscale ipods and mono->grayscale ↵Frank Dischner2006-04-24
| | | | | | on all grayscale targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9791 a1c6a512-1295-4272-9138-f99709370657
* Correct pallette->RGB565 conversion when loading 1-bit BMP files.Jens Arnold2006-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9101 a1c6a512-1295-4272-9138-f99709370657
* The image size calculation was wrong on monochrome targetsLinus Nielsen Feltzing2006-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9006 a1c6a512-1295-4272-9138-f99709370657
* Handle 8-bit BMP filesLinus Nielsen Feltzing2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8514 a1c6a512-1295-4272-9138-f99709370657
* Slighly less confusing handling of inverted monochrome imagesLinus Nielsen Feltzing2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8513 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Another grayscale bmp loader bug fixed: clear the right amount of ↵Magnus Holmgren2006-01-31
| | | | | | data, to avoid garbage in the images. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8510 a1c6a512-1295-4272-9138-f99709370657
* Correct PaddedWidth calculationLinus Nielsen Feltzing2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8509 a1c6a512-1295-4272-9138-f99709370657
* Small iPod colour BMP fix by linuxstdChristi Scarborough2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8504 a1c6a512-1295-4272-9138-f99709370657
* Fixed endianness problem in the BMP loaderLinus Nielsen Feltzing2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8498 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Calculate proper height (i.e., size) for grayscale bitmaps.Magnus Holmgren2006-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8496 a1c6a512-1295-4272-9138-f99709370657
* Better working fix for the BMP loader transparency flag bugLinus Nielsen Feltzing2006-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8481 a1c6a512-1295-4272-9138-f99709370657
* Temporary fix for crashing when trying to enter the WPS, thanks to Adam Boot.Brandon Low2006-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8480 a1c6a512-1295-4272-9138-f99709370657
* Color BMP supportLinus Nielsen Feltzing2006-01-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
* Little optimization to the bmp loader loop (unfortunately almost noMiika Pekkarinen2006-01-24
| | | | | | | effect as the open() takes the longest time). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8436 a1c6a512-1295-4272-9138-f99709370657
* Made it build warning-free on the sim. This could not have worked in the simDaniel Stenberg2005-05-08
| | | | | | | previously. Made readshort() and readlong() static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6444 a1c6a512-1295-4272-9138-f99709370657
* include autoconf for the endian definesDaniel Stenberg2005-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6422 a1c6a512-1295-4272-9138-f99709370657
* Fixed makefiles for autoconf.g include.Daniel Stenberg2005-05-07
| | | | | | | | | Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
* Long policy againLinus Nielsen Feltzing2005-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6346 a1c6a512-1295-4272-9138-f99709370657
* Long policyLinus Nielsen Feltzing2005-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657
* New BMP reader by Tomas SalfischbergerLinus Nielsen Feltzing2005-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
* (while I remember this) The width padding is 4-byte aligned, nothing else...Daniel Stenberg2002-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1783 a1c6a512-1295-4272-9138-f99709370657
* removed code within #ifdef STANDALONE since it doesn't work and isn't everDaniel Stenberg2002-08-16
| | | | | | | used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1773 a1c6a512-1295-4272-9138-f99709370657
* Gained about 128 KB buffer space by removing malloc() and the heapBjörn Stenberg2002-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1726 a1c6a512-1295-4272-9138-f99709370657
* removed unused variables, removed static variablesDaniel Stenberg2002-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@816 a1c6a512-1295-4272-9138-f99709370657
* corrected the comment regarding what kind of BMP files this readsDaniel Stenberg2002-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@813 a1c6a512-1295-4272-9138-f99709370657
* included debug.h for debugf functionFelix Arends2002-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@798 a1c6a512-1295-4272-9138-f99709370657
* free memoryDaniel Stenberg2002-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@635 a1c6a512-1295-4272-9138-f99709370657
* Moving recorder code to recorder/Björn Stenberg2002-05-17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@618 a1c6a512-1295-4272-9138-f99709370657