A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
1/***************************************************************************
2* __________ __ ___.
3* Open \______ \ ____ ____ | | _\_ |__ _______ ___
4* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7* \/ \/ \/ \/ \/
8* $Id$
9*
10* Copyright (C) 2009 by Andrew Mahone
11*
12* Header for the in-memory JPEG decoder.
13*
14* This program is free software; you can redistribute it and/or
15* modify it under the terms of the GNU General Public License
16* as published by the Free Software Foundation; either version 2
17* of the License, or (at your option) any later version.
18*
19* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20* KIND, either express or implied.
21*
22****************************************************************************/
23
24#include "plugin.h"
25#include "resize.h"
26#include "bmp.h"
27#include "jpeg_common.h"
28
29#ifndef _JPEG_MEM_H
30#define _JPEG_MEM_H
31
32int get_jpeg_dim_mem(unsigned char *data, unsigned long len,
33 struct dim *size);
34
35int decode_jpeg_mem(unsigned char *data, unsigned long len,
36 struct bitmap *bm,
37 int maxsize,
38 int format,
39 const struct custom_format *cformat);
40
41#endif /* _JPEG_MEM_H */