Commit graph

77 commits

Author SHA1 Message Date
Jens Arnold
c279335ed2 Correct pallette->RGB565 conversion when loading 1-bit BMP files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9101 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:34:45 +00:00
Linus Nielsen Feltzing
21229b2f09 The image size calculation was wrong on monochrome targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9006 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 20:25:16 +00:00
Linus Nielsen Feltzing
b69d59ba8e Handle 8-bit BMP files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8514 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 23:34:02 +00:00
Linus Nielsen Feltzing
62b22ba45f Slighly less confusing handling of inverted monochrome images
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8513 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 23:02:05 +00:00
Magnus Holmgren
fe1c9f5846 Iriver: Another grayscale bmp loader bug fixed: clear the right amount of data, to avoid garbage in the images.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8510 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 21:59:47 +00:00
Linus Nielsen Feltzing
5f0b75ebc7 Correct PaddedWidth calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8509 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 21:50:53 +00:00
Christi Scarborough
ae0ae6d5cf Small iPod colour BMP fix by linuxstd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8504 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 14:29:51 +00:00
Linus Nielsen Feltzing
ea72d05ec6 Fixed endianness problem in the BMP loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8498 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 00:40:14 +00:00
Magnus Holmgren
3b8934d6d1 Iriver: Calculate proper height (i.e., size) for grayscale bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8496 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 21:35:34 +00:00
Linus Nielsen Feltzing
3722a99dd4 Better working fix for the BMP loader transparency flag bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8481 a1c6a512-1295-4272-9138-f99709370657
2006-01-29 09:58:53 +00:00
Brandon Low
8f0740333b Temporary fix for crashing when trying to enter the WPS, thanks to Adam Boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8480 a1c6a512-1295-4272-9138-f99709370657
2006-01-29 05:05:40 +00:00
Linus Nielsen Feltzing
745adad22a Color BMP support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 12:12:42 +00:00
Miika Pekkarinen
465982b2af Little optimization to the bmp loader loop (unfortunately almost no
effect as the open() takes the longest time).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8436 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 08:12:36 +00:00
Daniel Stenberg
1188f933aa Made it build warning-free on the sim. This could not have worked in the sim
previously. Made readshort() and readlong() static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6444 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 22:11:15 +00:00
Daniel Stenberg
113a58dca6 include autoconf for the endian defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6422 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 23:08:14 +00:00
Daniel Stenberg
b8a23f9e49 Fixed makefiles for autoconf.g include.
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
2005-05-07 22:41:17 +00:00
Linus Nielsen Feltzing
de4ef019b9 Long policy again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6346 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:49:08 +00:00
Linus Nielsen Feltzing
c27d51c553 Long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:21:22 +00:00
Linus Nielsen Feltzing
250678bb05 New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:42:10 +00:00
Daniel Stenberg
afc9b57c20 (while I remember this) The width padding is 4-byte aligned, nothing else...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1783 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:07:43 +00:00
Daniel Stenberg
a847271a24 removed code within #ifdef STANDALONE since it doesn't work and isn't ever
used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1773 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 06:12:20 +00:00
Björn Stenberg
ebb14ca5f9 Gained about 128 KB buffer space by removing malloc() and the heap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1726 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 23:13:01 +00:00
Daniel Stenberg
5813fa90d3 removed unused variables, removed static variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@816 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 08:40:21 +00:00
Daniel Stenberg
00c6f5136f corrected the comment regarding what kind of BMP files this reads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@813 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 07:00:56 +00:00
Felix Arends
1f50b8bd2d included debug.h for debugf function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@798 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 14:36:09 +00:00
Daniel Stenberg
aa11e3eae3 free memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@635 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 07:33:13 +00:00
Björn Stenberg
37a7c25caa Moving recorder code to recorder/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@618 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 13:53:41 +00:00
Renamed from apps/bmp.c (Browse further)