simplify my last commit. Thanks to obo for the hint.
[Rockbox.git] / apps / recorder / bmp.h
blobf8650b2203e6f726a61e9ac70d6a96857c3da241
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Daniel Stenberg
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _BMP_H_
20 #define _BMP_H_
22 #include "config.h"
23 #include "lcd.h"
25 /*********************************************************************
26 * read_bmp_file()
28 * Reads a 8bit BMP file and puts the data in a 1-pixel-per-byte
29 * array.
30 * Returns < 0 for error, or number of bytes used from the bitmap buffer
32 **********************************************/
33 int read_bmp_file(char* filename,
34 struct bitmap *bm,
35 int maxsize,
36 int format);
37 #endif