summaryrefslogtreecommitdiff
path: root/apps/recorder/bmp.h
AgeCommit message (Collapse)Author
2013-12-22Support GIMP bmp files.Thomas Martitz
Change-Id: I7380ceeaf696b67e1641d24e7b932e3d74770932
2011-11-08Support for transparency in 32bit bitmaps on color targets.Thomas Martitz
This uses the alpha blending capabilities introduced with anti-aliased fonts to draw bitmaps with transparency information. The bmp loader is extended to read this information (pass FORMAT_TRANSPARENT in format). The alpha information will be used when drawing the bitmap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30937 a1c6a512-1295-4272-9138-f99709370657
2010-07-24s/HAVE_LCD_REMOTE/HAVE_REMOTE_LCD/Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27539 a1c6a512-1295-4272-9138-f99709370657
2009-05-09Inline output_row_8_native when building bmp.c in core without HAVE_JPEG or ↵Andrew Mahone
HAVE_BMP_SCALING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20886 a1c6a512-1295-4272-9138-f99709370657
2009-05-09Split 8-bit-to-native conversion in bmp.c into a function, add support for ↵Andrew Mahone
plugging unscaled output in BMP and JPEG loaders, use output_row_8_native in JPEG decoder when possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20884 a1c6a512-1295-4272-9138-f99709370657
2009-01-08cleanup for core-file-in-pluginlib compilation:Andrew Mahone
wrapper C files in pluginlib renamed to the same name as the core files they wrap pluginlib-only init functions for resize and bmp moved into the wrapper files, and declared in the associated header files API() macro removed entirely, in favor of a core-only header file that redefines core function names to use a plugin_api pointer some unnecessary uses of PLUGIN in apps/recorder/bmp.c removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19712 a1c6a512-1295-4272-9138-f99709370657
2009-01-04build a scaling-enabled bitmap loader in pluginlib for mono bitmap targets, ↵Andrew Mahone
and use it in the test greylib scaler plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19671 a1c6a512-1295-4272-9138-f99709370657
2008-12-26Make scaler output truly pluggable, add an 8-bit greyscale output toAndrew Mahone
pluginlib for use with greylib, and add source for a test scaled bmp viewer using greylib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
2008-12-26Latest work on the bmp on-load scaler:Andrew Mahone
Macros for calculating size needed for bitmap load and scaling, so that these can be compile-time constant when their inputs are. Reduce size of bayer dither by chopping all but first row of dither matrix, and replacing 2D lookup with 1D lookup and small calculation. Move some functions not related to actual bmp file loading out of bmp.c. A smaller brightness() for mono targets, and a higher-quality one for greyscale targets, both replacing the division by 10 with a shift. Port of the linear and area scalers to greyscale targets, this costs some binsize but produces better output even when dithered to 2bpp. Move duplicated row output code from inside vertical scalers to a separate row output function. Move some multiplies out of the line scaler, for a small speedup and code size reduction, as well as a small improvement in accuracy for the upscaling case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19592 a1c6a512-1295-4272-9138-f99709370657
2008-12-10fix get_totalsize to return the correct size in some cases where it failedAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19385 a1c6a512-1295-4272-9138-f99709370657
2008-12-09resize-on-load for bitmap files on 2bpp and color targetsAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19374 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2007-11-10Add read_bmp_fd and make the first parameter of read_bmp_file ("filename") ↵Nicolas Pennequin
const. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15553 a1c6a512-1295-4272-9138-f99709370657
2007-04-11/me fail english? thats unpossibleJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13105 a1c6a512-1295-4272-9138-f99709370657
2007-04-11Fix the comment, read_bmp_file() returns >=0 for success, not 0Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13104 a1c6a512-1295-4272-9138-f99709370657
2006-01-28Color BMP supportLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
2005-04-25New BMP reader by Tomas SalfischbergerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6341 a1c6a512-1295-4272-9138-f99709370657
2002-05-30prototype for the BMP file reader functionDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@807 a1c6a512-1295-4272-9138-f99709370657