summaryrefslogtreecommitdiff
path: root/tools/bmp2rb.c (follow)
Commit message (Collapse)AuthorAge
* lcd-24bit: Introduce a 24-bit mid-level LCD driverThomas Martitz2014-06-21
| | | | | | | | | | | | | | | | | With LCD driver all calculation will be performed on RGB888 and the hardware/OS can display from our 24bit framebuffer. It is not yet as performance optimized as the existing drivers but should be good enough.The vast number of small changes is due to the fact that fb_data can be a struct type now, while most of the code expected a scalar type. lcd-as-memframe ASM code does not work with 24bit currently so the with 24bit it enforces the generic C code. All plugins are ported over. Except for rockpaint. It uses so much memory that it wouldnt fit into the 512k plugin buffer anymore (patches welcome). Change-Id: Ibb1964545028ce0d8ff9833ccc3ab66be3ee0754
* bmp2rb: Data was written with an incorrect offset.Thomas Martitz2013-09-08
| | | | Change-Id: I460872f05f80e28be312de5c93d54c7c6e36fbd7
* bmp2rb: Fix incorrect left-over commentThomas Martitz2013-09-07
| | | | Change-Id: I29c6403cec1aa228f6730c8b78c830a23d021d95
* bmp2rb: Support generating 24bit BMP raw data.Thomas Martitz2013-09-07
| | | | | | | | This will be required by the R0 port. Generating C source with 24bit data is not supported yet because Rockbox doesn't support this depth yet (and has no data type for it). Change-Id: I6474a6d32bb7942661bac833bb3348073335e25c
* Add the ability to create a prefilled struct bitmap along with generated images.Thomas Martitz2011-11-13
| | | | | | | | 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
* Fuzev2: use RGB565SWAPPED (pointed out by amiconn) => 91fpsRafaël Carré2010-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25478 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500: Add firmware patcher: Can decrypt firmware updates, patch them, ↵Karl Kurbjun2009-08-30
| | | | | | and re-encrypt them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22565 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* cleanup code for picky compiler warning optionsDaniel Stenberg2008-04-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17060 a1c6a512-1295-4272-9138-f99709370657
* Make RAW option explicitly little-endian and ensure that bmp2rb works the ↵Dave Chapman2007-01-18
| | | | | | 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
* Add swap bytes optionGreg White2007-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12060 a1c6a512-1295-4272-9138-f99709370657
* Fix commentGreg White2007-01-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12054 a1c6a512-1295-4272-9138-f99709370657
* Add raw file generationGreg White2007-01-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12048 a1c6a512-1295-4272-9138-f99709370657
* Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold2006-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
* X5 remote LCD drawing. This will break target linking atm - ↵Jens Arnold2006-07-28
| | | | | | lcd_remote_update[_rect]() are not yet implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
* Grayscale iPods: Bit-flipped the 2bit LCD driver to use the same format as ↵Jens Arnold2006-04-04
| | | | | | 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
* open the image in binary mode to work better on windowsDaniel Stenberg2006-02-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8864 a1c6a512-1295-4272-9138-f99709370657
* Fix stupid padded width calculation bug.Jens Arnold2006-02-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8862 a1c6a512-1295-4272-9138-f99709370657
* First attempt at generating and using .h files from bitmaps using bmp2rb. ↵Dave Chapman2006-02-21
| | | | | | 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
* Grayscale iPods: Fixed & optimised LCD driver. Further optimisation is ↵Jens Arnold2006-02-16
| | | | | | 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
* Use 'int' for 32 bit variables in host tools to better run on 64bit archs.Daniel Stenberg2006-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8626 a1c6a512-1295-4272-9138-f99709370657
* And now also allocates the correct amountLinus Nielsen Feltzing2005-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8113 a1c6a512-1295-4272-9138-f99709370657
* Now clears the bitmap properly beforte convertingLinus Nielsen Feltzing2005-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8112 a1c6a512-1295-4272-9138-f99709370657
* Add output format for the ipod's byte-swapped rgb565Dave Chapman2005-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7890 a1c6a512-1295-4272-9138-f99709370657
* Added 16-bit RGB format to bmp2rbLinus Nielsen Feltzing2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7861 a1c6a512-1295-4272-9138-f99709370657
* bmp2rb: Prepared for future colour bitmap support. The tool reads all BMPs ↵Jens Arnold2005-07-28
| | | | | | 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
* Heavily extended bmp2rb conversion tool: Handles 4, 16, 24 and 32 bit BMPs ↵Jens Arnold2005-07-07
| | | | | | 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
* Fixed to allow conversions of 160x128 pictures too.Daniel Stenberg2004-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5498 a1c6a512-1295-4272-9138-f99709370657
* Magnus Holmgren's patch #708098 that makes bmp2rb insensitive to endianessDaniel Stenberg2003-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3691 a1c6a512-1295-4272-9138-f99709370657
* autodetect an ID smarterDaniel Stenberg2003-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3486 a1c6a512-1295-4272-9138-f99709370657
* we like each line less than 80 characters wide pleaseDaniel Stenberg2002-08-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1890 a1c6a512-1295-4272-9138-f99709370657
* now detects 1bit BMP files too and adjusts to that, which makes thingsDaniel Stenberg2002-08-21
| | | | | | | simpler git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1881 a1c6a512-1295-4272-9138-f99709370657
* Added newline before EOF.Mats Lidell2002-08-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1858 a1c6a512-1295-4272-9138-f99709370657
* made it output valid C code even if given a filename that starts with aDaniel Stenberg2002-08-19
| | | | | | | | 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
* Created.Mats Lidell2002-08-16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1781 a1c6a512-1295-4272-9138-f99709370657