Thomas Martitz
9a70c42241
Add the ability to create a prefilled struct bitmap along with generated images.
...
This allows to directly draw generated and builtin images using lcd_bmp(bm_xxx);
Also fixes builtin list icons on non-mono targets, as they didn't have the
format field set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30971 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:37:16 +00:00
Rafaël Carré
0f951b1de8
Fuzev2: use RGB565SWAPPED (pointed out by amiconn) => 91fps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25478 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 07:10:01 +00:00
Karl Kurbjun
d07ea9a48e
M:Robe 500: Add firmware patcher: Can decrypt firmware updates, patch them, and re-encrypt them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22565 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 23:24:22 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Daniel Stenberg
afecfe46f3
cleanup code for picky compiler warning options
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17060 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:16:00 +00:00
Dave Chapman
024537d5b6
Make RAW option explicitly little-endian and ensure that bmp2rb works the same on both little-endian and big-endian hosts. Fix bug with generating <= 8-bit raw output on big-endian hosts. Also remove TAB characters, C99 variable declarations and extremely long lines in the source.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12063 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 09:30:25 +00:00
Greg White
f21122dff7
Add swap bytes option
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12060 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 02:25:21 +00:00
Greg White
1ab8f32780
Fix comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12054 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 19:54:35 +00:00
Greg White
b3c66f5d74
Add raw file generation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12048 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:30:04 +00:00
Jens Arnold
780f79e7a4
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Jens Arnold
05ddd9a44e
X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Jens Arnold
fcab617331
Grayscale iPods: Bit-flipped the 2bit LCD driver to use the same format as apple. No more mirrored display when loading retailos, after a bootloader update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9478 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 00:55:16 +00:00
Daniel Stenberg
635b8300c6
open the image in binary mode to work better on windows
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8864 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 07:36:38 +00:00
Jens Arnold
9b1c9db66e
Fix stupid padded width calculation bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8862 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 21:59:48 +00:00
Dave Chapman
95538f6949
First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 01:23:30 +00:00
Jens Arnold
41e1aa888b
Grayscale iPods: Fixed & optimised LCD driver. Further optimisation is possible. * LCD driver now uses proper native bitmaps resembling the LCD internal format. Mono bitmaps are still transposed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8706 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 20:03:07 +00:00
Daniel Stenberg
dcc9a8a3d8
Use 'int' for 32 bit variables in host tools to better run on 64bit archs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8626 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:05:37 +00:00
Linus Nielsen Feltzing
36cca23c18
And now also allocates the correct amount
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8113 a1c6a512-1295-4272-9138-f99709370657
2005-11-30 09:06:43 +00:00
Linus Nielsen Feltzing
6e46156f92
Now clears the bitmap properly beforte converting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8112 a1c6a512-1295-4272-9138-f99709370657
2005-11-30 09:02:59 +00:00
Dave Chapman
4202df0549
Add output format for the ipod's byte-swapped rgb565
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7890 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 02:20:05 +00:00
Linus Nielsen Feltzing
057c8ec9d0
Added 16-bit RGB format to bmp2rb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7861 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 14:47:23 +00:00
Jens Arnold
6ae8104e84
bmp2rb: Prepared for future colour bitmap support. The tool reads all BMPs into an internal full-colour bitmap now, then converts to the various destination formats from that. Correct 16-bit BMP colour handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7251 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 16:31:02 +00:00
Jens Arnold
c5e87ae1e0
Heavily extended bmp2rb conversion tool: Handles 4, 16, 24 and 32 bit BMPs in addition to 1 and 8 bit. Generates one of 3 output formats: (0) Archos recorder, Ondio, Gmini, H1x0 monochrome; this is the default. (1) Archos player graphics library. (2) H1x0 4-shade greyscale. Decision about the pixel value is based on the true pixel brightness, so hopefully no more inverted images.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7058 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 22:32:42 +00:00
Daniel Stenberg
463e329d08
Fixed to allow conversions of 160x128 pictures too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5498 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 09:09:49 +00:00
Daniel Stenberg
2d81cf9956
Magnus Holmgren's patch #708098 that makes bmp2rb insensitive to endianess
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3691 a1c6a512-1295-4272-9138-f99709370657
2003-05-21 06:31:44 +00:00
Daniel Stenberg
e86218b859
autodetect an ID smarter
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3486 a1c6a512-1295-4272-9138-f99709370657
2003-03-19 21:42:50 +00:00
Daniel Stenberg
e1fbb12aaf
we like each line less than 80 characters wide please
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1890 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 16:34:41 +00:00
Daniel Stenberg
793ca18310
now detects 1bit BMP files too and adjusts to that, which makes things
...
simpler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1881 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 12:11:51 +00:00
Mats Lidell
4b12d882bf
Added newline before EOF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1858 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:45:17 +00:00
Daniel Stenberg
8c78975300
made it output valid C code even if given a filename that starts with a
...
dot, also made the width and height get written as proper #defines in the
output C source.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1795 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:04:48 +00:00
Mats Lidell
8a700fe39c
Created.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1781 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:02:48 +00:00