Use new MDCT library for libfaad. Speeds up AAC-LC by 2.5MHz.
[kugel-rb.git] / apps / recorder / jpeg_load.h
blob73b6c51bf38216511dbb62453b78dbcc96498b1b
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * JPEG image viewer
11 * (This is a real mess if it has to be coded in one single C file)
13 * File scrolling addition (C) 2005 Alexander Spyridakis
14 * Copyright (C) 2004 Jörg Hohensohn aka [IDC]Dragon
15 * Heavily borrowed from the IJG implementation (C) Thomas G. Lane
16 * Small & fast downscaling IDCT (C) 2002 by Guido Vollbeding JPEGclub.org
18 * This program is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU General Public License
20 * as published by the Free Software Foundation; either version 2
21 * of the License, or (at your option) any later version.
23 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
24 * KIND, either express or implied.
26 ****************************************************************************/
28 #include "resize.h"
29 #include "bmp.h"
30 #include "jpeg_common.h"
32 #ifndef _JPEG_LOAD_H
33 #define _JPEG_LOAD_H
35 int read_jpeg_file(const char* filename,
36 struct bitmap *bm,
37 int maxsize,
38 int format,
39 const struct custom_format *cformat);
41 int read_jpeg_fd(int fd,
42 struct bitmap *bm,
43 int maxsize,
44 int format,
45 const struct custom_format *cformat);
47 #endif /* _JPEG_JPEG_DECODER_H */